Changeset 51344 for trunk/src/wp-includes/blocks/block.php
- Timestamp:
- 07/06/2021 02:36:26 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/blocks/block.php
r50761 r51344 26 26 27 27 if ( isset( $seen_refs[ $attributes['ref'] ] ) ) { 28 if ( ! is_admin() ) {29 trigger_error(30 sprintf(31 // translators: %s is the user-provided title of the reusable block.32 __( 'Could not render Reusable Block <strong>%s</strong>. Block cannot be rendered inside itself.' ),33 $reusable_block->post_title34 ),35 E_USER_WARNING36 );37 }38 39 28 // WP_DEBUG_DISPLAY must only be honored when WP_DEBUG. This precedent 40 29 // is set in `wp_debug_mode()`.
Note: See TracChangeset
for help on using the changeset viewer.