Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

afragen/requires-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

requires-php

Proof of concept for WordPress.org readme.txt Requires PHP tag.

  • Checks against the Plugin API v1.2 to return dot org readme.txt data.
  • Unsets the update_plugins transient if the server version of PHP is less than the version defined in the Requires PHP tag.
  • Exits the Add Plugin process if the server version of PHP is less than the version defined in the Requires PHP tag.
  • If the Requires PHP tag is missing from readme.txt everything proceeds as usual without the benefit of a check.

Patches in place for #43986 and #43987

About

Proof of concept for `Requires PHP` header and updating in WordPress

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages