WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #47835, comment 5


Ignore:
Timestamp:
08/05/2019 10:17:32 AM (3 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #47835, comment 5

    initial v1  
    55* [45185] updated the check to use the new `is_php_version_compatible()` function.
    66
    7 Initially, I thought the check should be updated to use `validate_plugin_requirements()` to account for the data both from the plugin's main PHP files and `readme.txt`:
     7Initially, I thought the check should be updated to use `validate_plugin_requirements()` to account for the data both from the plugin's main PHP file and `readme.txt`:
    88{{{
    99$compatible_php = ! is_wp_error( validate_plugin_requirements( $plugin_file ) );