Changeset 51346 for branches/5.8/src/wp-includes/blocks/block.php
- Timestamp:
- 07/06/2021 03:14:44 PM (4 years ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/blocks/block.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/src/wp-includes/blocks/block.php
r50761 r51346 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.