Making WordPress.org


Ignore:
Timestamp:
08/25/2017 08:17:03 AM (6 years ago)
Author:
tellyworth
Message:

Plugin directory: soft launch support for Requires PHP header in readme.txt. Props @SergeyBiryukov

See #2952

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-validator.php

    r4261 r5841  
    7676            $warnings[] = sprintf( __( '%s is missing.', 'wporg-plugins' ), '<code>Tested up to</code>' );
    7777        }
     78        if ( empty( $readme->requires_php ) ) {
     79            /* Translators: Plugin header tag; */
     80            $warnings[] = sprintf( __( '%s is missing.', 'wporg-plugins' ), '<code>Requires PHP</code>' );
     81        }
    7882        if ( empty( $readme->stable_tag ) ) {
    7983            /* Translators: 1: Plugin header tag; 2: SVN directory; 3: Plugin header tag; */
Note: See TracChangeset for help on using the changeset viewer.