[wp-trac] [WordPress Trac] #55023: deprecated issue on multisite reqgister page.
WordPress Trac
noreply at wordpress.org
Tue Feb 22 06:21:55 UTC 2022
#55023: deprecated issue on multisite reqgister page.
--------------------------+------------------------
Reporter: kpdaa | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.9.2
Component: Themes | Version: 5.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
--------------------------+------------------------
Comment (by manfcarlo):
This happens when `wp-signup.php` calls the
[https://developer.wordpress.org/reference/functions/get_header/
get_header] and
[https://developer.wordpress.org/reference/functions/get_footer/
get_footer] template tags. There are new template tags
[https://developer.wordpress.org/reference/functions/block_header_area/
block_header_area] and
[https://developer.wordpress.org/reference/functions/block_footer_area/
block_footer_area] that could be used instead, but it would probably make
more sense for block template parts to be automatically retrieved through
the [https://developer.wordpress.org/reference/functions/get_header/
get_header] and
[https://developer.wordpress.org/reference/functions/get_footer/
get_footer] template tags if they exist, so that the caller does not need
to check whether it's a block theme or not.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55023#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list