WordPress.org

Making WordPress.org

Ticket #2952: 2952.3.patch

File 2952.3.patch, 1.0 KB (added by SergeyBiryukov, 9 months ago)
  • wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-validator.php

     
    7575                        /* Translators: Plugin header tag; */
    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                 }
    8278                if ( empty( $readme->stable_tag ) ) {
    8379                        /* Translators: 1: Plugin header tag; 2: SVN directory; 3: Plugin header tag; */
    8480                        $warnings[] = sprintf( __( '%1$s is missing.  Hint: If you treat %2$s as stable, put %3$s.', 'wporg-plugins' ), '<code>Stable tag</code>', '<code>/trunk/</code>', '<code>Stable tag: trunk</code>' );