Ticket #48529: 48529.4.diff
File 48529.4.diff, 1.8 KB (added by , 3 years ago) |
---|
-
src/wp-includes/class-wp-block-type.php
32 32 33 33 /** 34 34 * @since 5.5.0 35 * @var string 35 * @var string|null 36 36 */ 37 public $category = '';37 public $category = null; 38 38 39 39 /** 40 40 * @since 5.5.0 … … 44 44 45 45 /** 46 46 * @since 5.5.0 47 * @var string 47 * @var string|null 48 48 */ 49 public $icon = '';49 public $icon = null; 50 50 51 51 /** 52 52 * @since 5.5.0 53 * @var string 53 * @var string|null 54 54 */ 55 public $description = '';55 public $description = null; 56 56 57 57 /** 58 58 * @since 5.5.0 … … 104 104 * Block type editor script handle. 105 105 * 106 106 * @since 5.0.0 107 * @var string 107 * @var string|null 108 108 */ 109 public $editor_script = '';109 public $editor_script = null; 110 110 111 111 /** 112 112 * Block type front end script handle. 113 113 * 114 114 * @since 5.0.0 115 * @var string 115 * @var string|null 116 116 */ 117 public $script = '';117 public $script = null; 118 118 119 119 /** 120 120 * Block type editor style handle. 121 121 * 122 122 * @since 5.0.0 123 * @var string 123 * @var string|null 124 124 */ 125 public $editor_style = '';125 public $editor_style = null; 126 126 127 127 /** 128 128 * Block type front end style handle. … … 130 130 * @since 5.0.0 131 131 * @var string 132 132 */ 133 public $style = '';133 public $style = null; 134 134 135 135 /** 136 136 * Constructor. -
tests/phpunit/tests/admin/includesPost.php
840 840 $this->assertEquals( 841 841 array( 842 842 'title' => '', 843 'description' => '',844 843 'category' => 'common', 845 844 'icon' => 'text', 846 845 'keywords' => array(),