[wp-trac] [WordPress Trac] #55023: deprecated issue on multisite reqgister page.

WordPress Trac noreply at wordpress.org
Fri Feb 11 13:50:45 UTC 2022


#55023: deprecated issue on multisite reqgister page.
--------------------------+------------------------
 Reporter:  kpdaa         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.9.1
Component:  Themes        |     Version:  5.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  multisite
--------------------------+------------------------

Comment (by metodiew):

 hey hey,

 We have the same deprecation notice for the `footer.php` file as well:
 {{{
 Deprecated: File Theme without footer.php is <strong>deprecated</strong>
 since version 3.0.0 with no alternative available. Please include a
 footer.php template in your theme. in /var/www/html/wpbleedingms/src/wp-
 includes/functions.php on line 5516
 }}}

 I run a quick test by adding
 {{{
 if ( function_exists( 'register_block_pattern' ) ) {
         return;
 }
 }}}
 in `src/wp-includes/theme-compat/footer.php` and `src/wp-includes/theme-
 compat/header.php` just for the experiment but this is displaying a blank
 HTML page :)

 What would be the best approach to apply a fix for these?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55023#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list