Changeset 55822 for trunk/src/wp-includes/blocks.php
- Timestamp:
- 05/17/2023 10:44:21 PM (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks.php
r55762 r55822 486 486 * @return string Returns the block content. 487 487 */ 488 $settings['render_callback'] = function( $attributes, $content, $block ) use ( $template_path ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable488 $settings['render_callback'] = static function( $attributes, $content, $block ) use ( $template_path ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable 489 489 ob_start(); 490 490 require $template_path;
Note: See TracChangeset
for help on using the changeset viewer.