Changeset 51150
- Timestamp:
- 06/15/2021 10:20:54 AM (3 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-template.php
r51003 r51150 12 12 * 13 13 * @since 5.8.0 14 * 15 * @global string $_wp_current_template_content 14 16 * 15 17 * @param string $template Path to the template. See locate_template(). … … 148 150 * @since 5.8.0 149 151 * 150 * @return string block tempate markup. 152 * @global string $_wp_current_template_content 153 * @global WP_Embed $wp_embed 154 * 155 * @return string Block template markup. 151 156 */ 152 157 function get_the_block_template_html() { -
trunk/src/wp-includes/theme-templates.php
r51149 r51150 73 73 * @since 5.8.0 74 74 * 75 * @global string $_wp_current_template_content 76 * 75 77 * @return void 76 78 */ 77 79 function the_block_template_skip_link() { 80 global $_wp_current_template_content; 78 81 79 82 // Early exit if not a block theme. … … 83 86 84 87 // Early exit if not a block template. 85 global $_wp_current_template_content;86 88 if ( ! $_wp_current_template_content ) { 87 89 return;
Note: See TracChangeset
for help on using the changeset viewer.