diff --git src/wp-includes/class-wp-block-parser.php src/wp-includes/class-wp-block-parser.php
index 27c85cfcd2..95879d1a27 100644
|
|
class WP_Block_Parser_Block { |
62 | 62 | * 'innerContent' => array( 'Before', null, 'Inner', null, 'After' ), |
63 | 63 | * ) |
64 | 64 | * |
65 | | * @since 4.2.0 |
| 65 | * @since 5.1.0 |
66 | 66 | * @var array |
67 | 67 | */ |
68 | 68 | public $innerContent; |
… |
… |
class WP_Block_Parser_Frame { |
164 | 164 | /** |
165 | 165 | * Class WP_Block_Parser |
166 | 166 | * |
167 | | * Parses a document and constructs a list of parsed block objects |
| 167 | * Parses a document and constructs a list of parsed blocks. |
| 168 | * Returns arrays not objects, all attributes are arrays. |
168 | 169 | * |
169 | 170 | * @since 5.0.0 |
170 | | * @since 4.0.0 returns arrays not objects, all attributes are arrays |
171 | 171 | */ |
172 | 172 | class WP_Block_Parser { |
173 | 173 | /** |
… |
… |
class WP_Block_Parser { |
207 | 207 | /** |
208 | 208 | * Empty associative array, here due to PHP quirks |
209 | 209 | * |
210 | | * @since 4.4.0 |
| 210 | * @since 5.1.0 |
211 | 211 | * @var array empty associative array |
212 | 212 | */ |
213 | 213 | public $empty_attrs; |
… |
… |
class WP_Block_Parser { |
395 | 395 | * |
396 | 396 | * @internal |
397 | 397 | * @since 5.0.0 |
398 | | * @since 4.6.1 fixed a bug in attribute parsing which caused catastrophic backtracking on invalid block comments |
| 398 | * @since 5.1.0 fixed a bug in attribute parsing which caused catastrophic backtracking on invalid block comments |
399 | 399 | * @return array |
400 | 400 | */ |
401 | 401 | function next_token() { |
… |
… |
class WP_Block_Parser { |
468 | 468 | * Returns a new block object for freeform HTML |
469 | 469 | * |
470 | 470 | * @internal |
471 | | * @since 3.9.0 |
| 471 | * @since 5.0.0 |
472 | 472 | * |
473 | 473 | * @param string $innerHTML HTML content of block. |
474 | 474 | * @return WP_Block_Parser_Block freeform block object. |