[wp-trac] [WordPress Trac] #48520: Remove parsing of readme.txt files from `validate_plugin_requirements()`

WordPress Trac noreply at wordpress.org
Mon Jun 7 21:31:04 UTC 2021


#48520: Remove parsing of readme.txt files from `validate_plugin_requirements()`
-------------------------------------------------+-------------------------
 Reporter:  afragen                              |       Owner:  afragen
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.8
Component:  Upgrade/Install                      |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  dev-feedback has-patch needs-docs    |     Focuses:
  needs-codex                                    |  administration
-------------------------------------------------+-------------------------

Comment (by afragen):

 I'm not advocating removing any headers from the readme.txt file.

 I **am** advocating better messaging to developers that any WP or PHP
 requirements for the plugin or theme **are placed** in the plugin/theme
 headers.

 This means that requirements data for plugins and themes for
 `validate_plugin_requirements()` and `validate_theme_requirements()` are
 only gathered from the file headers.

 I hope that's more clear. If not, let me know and I'll try to clarify.

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


More information about the wp-trac mailing list