[wp-trac] [WordPress Trac] #46613: Ensure plugin auto updates are blocked if required PHP version is not supported

WordPress Trac noreply at wordpress.org
Fri Mar 22 20:32:28 UTC 2019


#46613: Ensure plugin auto updates are blocked if required PHP version is not
supported
----------------------------------+---------------------
 Reporter:  TimothyBlynJacobs     |       Owner:  (none)
     Type:  defect (bug)          |      Status:  new
 Priority:  normal                |   Milestone:  5.2
Component:  Upgrade/Install       |     Version:  trunk
 Severity:  normal                |  Resolution:
 Keywords:  servehappy has-patch  |     Focuses:
----------------------------------+---------------------

Comment (by davidbaumwald):

 Replying to [comment:4 afragen]:
 > If this is the correct place for the test can we reverse the
 `version_compare` So we don’t need `!`.
 >
 > Another advantage of having a function handle this.

 @afragen Good point.  Whether or not the placement is correct, I've
 updated the patch for code brevity.

 If it needs to be moved elsewhere, let me know.

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


More information about the wp-trac mailing list