Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59316, comment 6


Ignore:
Timestamp:
09/13/2023 12:26:55 AM (15 months ago)
Author:
peterwilsoncc
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59316, comment 6

    initial v1  
    11Generally WP tries to keep bundled themes compatible with the WordPress version in which they were introduced. As an example of this, 2011 checks the [https://github.com/WordPress/wordpress-develop/blob/c696a2f773d9e5d61ea39e46f5d95f4442c63dfa/src/wp-content/themes/twentyeleven/inc/block-patterns.php block pattern functions exist] prior to calling them.
    22
    3 I think these changes and those in #59302 will need to be modified to account for the older methods.
     3I think these changes and those in #59302 will need to be modified to account for the older function signature.
    44
    55In this change I can see that 2011 running on older versions of WP will have the showcase script loaded in the footer rather than the header. At the time of writing I've only checked the first file.