@@ -10,7 +10,7 @@ class Tests_Block_Supports_WpStripCustomCssFromBlocks extends WP_UnitTestCase {
1010 /**
1111 * Tests that style.css is stripped from block attributes.
1212 *
13- * @ticket 63
13+ * @ticket 64771
1414 *
1515 * @dataProvider data_strips_css_from_blocks
1616 *
@@ -45,7 +45,7 @@ public function data_strips_css_from_blocks() {
4545 /**
4646 * Tests that style.css is stripped from nested inner blocks.
4747 *
48- * @ticket 63
48+ * @ticket 64771
4949 */
5050 public function test_strips_css_from_inner_blocks () {
5151 $ content = '<!-- wp:group --><div class="wp-block-group"><!-- wp:paragraph {"style":{"css":"color: red;"}} --><p>Hello</p><!-- /wp:paragraph --></div><!-- /wp:group --> ' ;
@@ -60,7 +60,7 @@ public function test_strips_css_from_inner_blocks() {
6060 /**
6161 * Tests that content without blocks is returned unchanged.
6262 *
63- * @ticket 63
63+ * @ticket 64771
6464 */
6565 public function test_returns_non_block_content_unchanged () {
6666 $ content = '<p>This is plain HTML content with no blocks.</p> ' ;
@@ -73,7 +73,7 @@ public function test_returns_non_block_content_unchanged() {
7373 /**
7474 * Tests that content without style.css attributes is returned unchanged.
7575 *
76- * @ticket 63
76+ * @ticket 64771
7777 */
7878 public function test_returns_unchanged_when_no_css_attributes () {
7979 $ content = '<!-- wp:paragraph {"style":{"color":{"text":"#ff0000"}}} --><p class="has-text-color" style="color:#ff0000">Hello</p><!-- /wp:paragraph --> ' ;
@@ -86,7 +86,7 @@ public function test_returns_unchanged_when_no_css_attributes() {
8686 /**
8787 * Tests that other style properties are preserved when css is stripped.
8888 *
89- * @ticket 63
89+ * @ticket 64771
9090 */
9191 public function test_preserves_other_style_properties () {
9292 $ content = '<!-- wp:paragraph {"style":{"css":"color: red;","color":{"text":"#ff0000"}}} --><p>Hello</p><!-- /wp:paragraph --> ' ;
@@ -101,7 +101,7 @@ public function test_preserves_other_style_properties() {
101101 /**
102102 * Tests that empty style object is cleaned up after stripping css.
103103 *
104- * @ticket 63
104+ * @ticket 64771
105105 */
106106 public function test_cleans_up_empty_style_object () {
107107 $ content = '<!-- wp:paragraph {"style":{"css":"color: red;"}} --><p>Hello</p><!-- /wp:paragraph --> ' ;
@@ -115,7 +115,7 @@ public function test_cleans_up_empty_style_object() {
115115 /**
116116 * Tests that slashed content is handled correctly.
117117 *
118- * @ticket 63
118+ * @ticket 64771
119119 */
120120 public function test_handles_slashed_content () {
121121 $ content = '<!-- wp:paragraph {"style":{"css":"color: red;"}} --><p>Hello</p><!-- /wp:paragraph --> ' ;
0 commit comments