Changeset 54195
- Timestamp:
- 09/17/2022 05:29:21 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-block-parser.php
r54194 r54195 63 63 * ) 64 64 * 65 * @since 5.0.065 * @since 4.2.0 66 66 * @var array 67 67 */ … … 165 165 * Class WP_Block_Parser 166 166 * 167 * Parses a document and constructs a list of parsed block s.167 * Parses a document and constructs a list of parsed block objects 168 168 * 169 169 * @since 5.0.0 170 * @since 4.0.0 returns arrays not objects, all attributes are arrays 170 171 */ 171 172 class WP_Block_Parser { … … 192 193 * 193 194 * @since 5.0.0 194 * @var array[]195 * @var WP_Block_Parser_Block[] 195 196 */ 196 197 public $output; … … 207 208 * Empty associative array, here due to PHP quirks 208 209 * 209 * @since 5.0.0210 * @since 4.4.0 210 211 * @var array empty associative array 211 212 */ … … 222 223 * 223 224 * @param string $document Input document being parsed. 224 * @return array[]225 * @return WP_Block_Parser_Block[] 225 226 */ 226 227 function parse( $document ) { … … 395 396 * @internal 396 397 * @since 5.0.0 398 * @since 4.6.1 fixed a bug in attribute parsing which caused catastrophic backtracking on invalid block comments 397 399 * @return array 398 400 */ … … 467 469 * 468 470 * @internal 469 * @since 5.0.0471 * @since 3.9.0 470 472 * 471 473 * @param string $innerHTML HTML content of block.
Note: See TracChangeset
for help on using the changeset viewer.