Make WordPress Core

Changes between Initial Version and Version 21 of Ticket #55023


Ignore:
Timestamp:
09/01/2022 05:26:26 PM (2 years ago)
Author:
sabernhardt
Comment:

If someone could make a patch that fetches the block theme's header and footer templates, that would be better than mine. But the deprecation notice is not meant for block themes, so it should not display.

Perhaps a patch like this could be committed (and backported?), and then discussion about a better method could continue on GB33989.

Also, I'm curious why wp-activate.php did not show the warning even though it uses the same theme-compat files as wp-signup.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55023

    • Property Status changed from new to accepted
    • Property Focuses multisite added
    • Property Component changed from General to Themes
    • Property Summary changed from deprecated issue on multisite reqgister page. to get_header() notice: Theme without header.php is deprecated
    • Property Keywords has-patch added; needs-patch removed
    • Property Milestone changed from Awaiting Review to 6.1
    • Property Owner set to audrasjb
  • Ticket #55023 – Description

    initial v21  
    333) on my site's register/signup page (https://site.alakh.co.in/wp-signup.php). i see following error in header and footer.
    44error msg:
    5 Deprecated: Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in /home/alakhco/public_html/site/wp-includes/functions.php on line 5516
     5`Deprecated: Theme without header.php is deprecated since version 3.0.0 with no alternative available. Please include a header.php template in your theme. in .../wp-includes/functions.php on line 5516`
    66
    7 kinldy help me in solving this issue.
     7kindly help me in solving this issue.