Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#56885 closed defect (bug) (duplicate)

`wp-signup.php` throws deprecated notices in Twenty Twenty-Two and Twenty Twenty-Three

Reported by: imath's profile imath Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.2
Component: Themes Keywords:
Focuses: Cc:

Description

I believe wp-includes/theme-compat/header.php && /wp-includes/theme-compat/footer.php should be improved to perform a check for themes supporting block templates to avoid display these notices and perform a block templates look up instead. It seems weird to get deprecated notices with latest WordPress themes...

Screenshots below shows the deprecated notices in both default WordPress block templates themes.

2023

https://cldup.com/EKd7JSI_rq.png

2022

https://cldup.com/Izu_lA6IXI.png

Change History (3)

#1 @poena
2 years ago

  • Keywords reporter-feedback added

Hi, can you add any more details on how to reproduce this?

#2 @imath
2 years ago

Hi @poena :)

Sure.

  • Log in as a Super Admin, Activate Twenty Twenty-Three or Twenty Twenty-Two, then go to Network settings
  • Make sure the "Allow new registrations" is set to "Logged in users may register new sites"
  • Log out and log in as a regular user, click on the WP Dashboard "My Sites" sub nav item
  • Click on the "Add new" button at the right of the http://wordpress.network/imath/wp-admin/my-sites.php page title.
  • You reach the /wp-signup.php page and you should see the theme's header & footer are not loaded and deprecated notices over and below the new site form.

#3 @SergeyBiryukov
2 years ago

  • Keywords needs-patch reporter-feedback removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, thanks for the ticket.

We're already tracking this issue in #55023.

Note: See TracTickets for help on using tickets.