diff --git src/wp-includes/class-wp-block-parser.php src/wp-includes/class-wp-block-parser.php
index 27c85cfcd2..90e8f2eaaa 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.0.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 block objects. |
| | 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.0.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 |
| 399 | 398 | * @return array |
| 400 | 399 | */ |
| 401 | 400 | function next_token() { |
| … |
… |
class WP_Block_Parser { |
| 468 | 467 | * Returns a new block object for freeform HTML |
| 469 | 468 | * |
| 470 | 469 | * @internal |
| 471 | | * @since 3.9.0 |
| | 470 | * @since 5.0.0 |
| 472 | 471 | * |
| 473 | 472 | * @param string $innerHTML HTML content of block. |
| 474 | 473 | * @return WP_Block_Parser_Block freeform block object. |