1
0
Fork 0
mirror of https://github.com/WordPress/wordpress.org.git synced 2025-08-17 14:51:19 +08:00

Rosetta: Rosetta: Remove code unused after new header/footer launch.

See https://github.com/WordPress/wporg-mu-plugins/issues/55


git-svn-id: https://meta.svn.wordpress.org/sites/trunk@11495 74240141-8908-4e6f-9713-ba540dce6ec7
This commit is contained in:
Ian Dunn 2022-01-31 21:56:22 +00:00
parent d29f125991
commit 6a2afdeaf8
2 changed files with 2 additions and 10 deletions

View file

@ -3,8 +3,4 @@
// Used within the global footer
__('Code is Poetry.', 'rosetta');
if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) {
echo do_blocks( '<!-- wp:wporg/global-footer /-->' );
} else {
require WPORGPATH . 'footer.php';
}
echo do_blocks( '<!-- wp:wporg/global-footer /-->' );

View file

@ -15,8 +15,4 @@ if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
if ( FEATURE_2021_GLOBAL_HEADER_FOOTER ) {
echo do_blocks( '<!-- wp:wporg/global-header /-->' );
} else {
require WPORGPATH . 'header.php';
}
echo do_blocks( '<!-- wp:wporg/global-header /-->' );