WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#35889 closed defect (bug) (wontfix)

Default themes backwards compatibility message

Reported by: ramiy Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch
Focuses: template Cc:

Description

Since "Twenty Thirteen", the default themes are not meant to be backward compatible. The newer theme relies on new functions and markup introduced in latest wordpress version.

This is why each theme has backwards compatibility functionality in inc/back-compat.php file that adds upgrade notice, customizer notice and preview notice when the user is using unsupported wordpress versions.

This patch improves a bit the code, moving the message into a separate function, to be used in different places.

See the attached patches. Each patch for a different theme.

Attachments (6)

twenty-thirteen.patch (2.2 KB) - added by ramiy 4 years ago.
twenty-fourteen.patch (2.2 KB) - added by ramiy 4 years ago.
twenty-fifteen.patch (1.9 KB) - added by ramiy 4 years ago.
twenty-thirteen.2.patch (3.3 KB) - added by ramiy 4 years ago.
twenty-fourteen.2.patch (3.4 KB) - added by ramiy 4 years ago.
twenty-fifteen.2.patch (2.8 KB) - added by ramiy 4 years ago.

Download all attachments as: .zip

Change History (10)

#1 @ramiy
4 years ago

  • Keywords has-patch added

#2 @ramiy
3 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

#3 @SergeyBiryukov
3 years ago

  • Component changed from Themes to Bundled Theme

#4 @swissspidy
3 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.