Changeset 60511
- Timestamp:
- 07/25/2025 02:57:09 PM (7 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
-
blocks.php (modified) (8 diffs)
-
class-wp-block.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r60402 r60511 1677 1677 * An associative array of a single parsed block object. See WP_Block_Parser_Block. 1678 1678 * 1679 * @type string $blockName Name of block.1680 * @type array $attrs Attributes from block comment delimiters.1681 * @type array[] $innerBlocks List of inner blocks. An array of arrays that1682 * have the same structure as this one.1683 * @type string $innerHTML HTML from inside block comment delimiters.1684 * @type array $innerContent List of string fragments and null markers where1685 * inner blocks were found.1679 * @type string|null $blockName Name of block. 1680 * @type array $attrs Attributes from block comment delimiters. 1681 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 1682 * have the same structure as this one. 1683 * @type string $innerHTML HTML from inside block comment delimiters. 1684 * @type array $innerContent List of string fragments and null markers where 1685 * inner blocks were found. 1686 1686 * } 1687 1687 * @return string String of rendered HTML. … … 1718 1718 * An associative array of a single parsed block object. See WP_Block_Parser_Block. 1719 1719 * 1720 * @type string $blockName Name of block.1721 * @type array $attrs Attributes from block comment delimiters.1722 * @type array[] $innerBlocks List of inner blocks. An array of arrays that1723 * have the same structure as this one.1724 * @type string $innerHTML HTML from inside block comment delimiters.1725 * @type array $innerContent List of string fragments and null markers where1726 * inner blocks were found.1720 * @type string|null $blockName Name of block. 1721 * @type array $attrs Attributes from block comment delimiters. 1722 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 1723 * have the same structure as this one. 1724 * @type string $innerHTML HTML from inside block comment delimiters. 1725 * @type array $innerContent List of string fragments and null markers where 1726 * inner blocks were found. 1727 1727 * } 1728 1728 * } … … 2245 2245 * An associative array of the block being rendered. See WP_Block_Parser_Block. 2246 2246 * 2247 * @type string $blockName Name of block.2248 * @type array $attrs Attributes from block comment delimiters.2249 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2250 * have the same structure as this one.2251 * @type string $innerHTML HTML from inside block comment delimiters.2252 * @type array $innerContent List of string fragments and null markers where2253 * inner blocks were found.2247 * @type string|null $blockName Name of block. 2248 * @type array $attrs Attributes from block comment delimiters. 2249 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2250 * have the same structure as this one. 2251 * @type string $innerHTML HTML from inside block comment delimiters. 2252 * @type array $innerContent List of string fragments and null markers where 2253 * inner blocks were found. 2254 2254 * } 2255 2255 * @return string String of rendered HTML. … … 2269 2269 * An associative array of the block being rendered. See WP_Block_Parser_Block. 2270 2270 * 2271 * @type string $blockName Name of block.2272 * @type array $attrs Attributes from block comment delimiters.2273 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2274 * have the same structure as this one.2275 * @type string $innerHTML HTML from inside block comment delimiters.2276 * @type array $innerContent List of string fragments and null markers where2277 * inner blocks were found.2271 * @type string|null $blockName Name of block. 2272 * @type array $attrs Attributes from block comment delimiters. 2273 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2274 * have the same structure as this one. 2275 * @type string $innerHTML HTML from inside block comment delimiters. 2276 * @type array $innerContent List of string fragments and null markers where 2277 * inner blocks were found. 2278 2278 * } 2279 2279 * @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block. … … 2295 2295 * An associative array of the block being rendered. See WP_Block_Parser_Block. 2296 2296 * 2297 * @type string $blockName Name of block.2298 * @type array $attrs Attributes from block comment delimiters.2299 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2300 * have the same structure as this one.2301 * @type string $innerHTML HTML from inside block comment delimiters.2302 * @type array $innerContent List of string fragments and null markers where2303 * inner blocks were found.2297 * @type string|null $blockName Name of block. 2298 * @type array $attrs Attributes from block comment delimiters. 2299 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2300 * have the same structure as this one. 2301 * @type string $innerHTML HTML from inside block comment delimiters. 2302 * @type array $innerContent List of string fragments and null markers where 2303 * inner blocks were found. 2304 2304 * } 2305 2305 * @param array $source_block { … … 2307 2307 * See WP_Block_Parser_Block. 2308 2308 * 2309 * @type string $blockName Name of block.2310 * @type array $attrs Attributes from block comment delimiters.2311 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2312 * have the same structure as this one.2313 * @type string $innerHTML HTML from inside block comment delimiters.2314 * @type array $innerContent List of string fragments and null markers where2315 * inner blocks were found.2309 * @type string|null $blockName Name of block. 2310 * @type array $attrs Attributes from block comment delimiters. 2311 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2312 * have the same structure as this one. 2313 * @type string $innerHTML HTML from inside block comment delimiters. 2314 * @type array $innerContent List of string fragments and null markers where 2315 * inner blocks were found. 2316 2316 * } 2317 2317 * @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block. … … 2343 2343 * An associative array of the block being rendered. See WP_Block_Parser_Block. 2344 2344 * 2345 * @type string $blockName Name of block.2346 * @type array $attrs Attributes from block comment delimiters.2347 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2348 * have the same structure as this one.2349 * @type string $innerHTML HTML from inside block comment delimiters.2350 * @type array $innerContent List of string fragments and null markers where2351 * inner blocks were found.2345 * @type string|null $blockName Name of block. 2346 * @type array $attrs Attributes from block comment delimiters. 2347 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2348 * have the same structure as this one. 2349 * @type string $innerHTML HTML from inside block comment delimiters. 2350 * @type array $innerContent List of string fragments and null markers where 2351 * inner blocks were found. 2352 2352 * } 2353 2353 * @param WP_Block|null $parent_block If this is a nested block, a reference to the parent block. … … 2372 2372 * An associative array of a single parsed block object. See WP_Block_Parser_Block. 2373 2373 * 2374 * @type string $blockName Name of block.2375 * @type array $attrs Attributes from block comment delimiters.2376 * @type array[] $innerBlocks List of inner blocks. An array of arrays that2377 * have the same structure as this one.2378 * @type string $innerHTML HTML from inside block comment delimiters.2379 * @type array $innerContent List of string fragments and null markers where2380 * inner blocks were found.2374 * @type string|null $blockName Name of block. 2375 * @type array $attrs Attributes from block comment delimiters. 2376 * @type array[] $innerBlocks List of inner blocks. An array of arrays that 2377 * have the same structure as this one. 2378 * @type string $innerHTML HTML from inside block comment delimiters. 2379 * @type array $innerContent List of string fragments and null markers where 2380 * inner blocks were found. 2381 2381 * } 2382 2382 * } -
trunk/src/wp-includes/class-wp-block.php
r60325 r60511 30 30 * 31 31 * @since 5.5.0 32 * @var string 32 * @var string|null 33 33 */ 34 34 public $name; … … 115 115 * An associative array of a single parsed block object. See WP_Block_Parser_Block. 116 116 * 117 * @type string $blockName Name of block.118 * @type array $attrs Attributes from block comment delimiters.119 * @type array $innerBlocks List of inner blocks. An array of arrays that120 * have the same structure as this one.121 * @type string $innerHTML HTML from inside block comment delimiters.122 * @type array $innerContent List of string fragments and null markers where inner blocks were found.117 * @type string|null $blockName Name of block. 118 * @type array $attrs Attributes from block comment delimiters. 119 * @type array $innerBlocks List of inner blocks. An array of arrays that 120 * have the same structure as this one. 121 * @type string $innerHTML HTML from inside block comment delimiters. 122 * @type array $innerContent List of string fragments and null markers where inner blocks were found. 123 123 * } 124 124 * @param array $available_context Optional array of ancestry context values.
Note: See TracChangeset
for help on using the changeset viewer.