[wp-trac] [WordPress Trac] #43992: Prevent activation of a plugin if its required PHP version is too high

WordPress Trac noreply at wordpress.org
Fri Jan 25 21:50:42 UTC 2019


#43992: Prevent activation of a plugin if its required PHP version is too high
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:  (none)
     Type:  task (blessed)                       |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  Plugins                              |     Version:
 Severity:  major                                |  Resolution:
 Keywords:  needs-unit-tests servehappy dev-     |     Focuses:
  feedback has-patch needs-testing               |
-------------------------------------------------+-------------------------

Comment (by afragen):

 Replying to [comment:18 joyously]:
 > The WP_Readme_Header_Parser is unnecessary. The `get_plugin_data`
 function does that.

 Actually it doesn't do the same thing. `get_plugin_data()` parses and
 returns the headers in the main plugin file. The new class
 `WP_Readme_Header_Parser` will parse a local `readme.txt` file and return
 the headers.

 Please refer to
 [https://core.trac.wordpress.org/ticket/43992?replyto=18#comment:10 #10]
 above.

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


More information about the wp-trac mailing list