[wp-trac] [WordPress Trac] #50787: Consolidate the logic for displaying WP & PHP compatibility messages for themes

WordPress Trac noreply at wordpress.org
Mon Jul 27 15:29:23 UTC 2020


#50787: Consolidate the logic for displaying WP & PHP compatibility messages for
themes
----------------------------+----------------------------
 Reporter:  SergeyBiryukov  |      Owner:  (none)
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Future Release
Component:  Site Health     |    Version:
 Severity:  normal          |   Keywords:
  Focuses:  administration  |
----------------------------+----------------------------
 Background: #48491

 As part of the changes on [48636-48638,48640], these messages are
 duplicated in at least seven different places:
 * This theme doesn’t work with your versions of WordPress and PHP. Please
 update WordPress, and then learn more about updating PHP.
 * This theme doesn’t work with your version of WordPress. Please update
 WordPress.
 * This theme doesn’t work with your version of PHP. Learn more about
 updating PHP.

 See comment:36:ticket:48491 for the list of relevant areas.

 It would be nice to consolidate the logic in one place.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50787>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list