Changeset 12614
- Timestamp:
- 06/02/2023 04:54:09 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-validator.php
r10429 r12614 122 122 } 123 123 124 if ( empty( $readme->stable_tag ) ) {125 $warnings[] = sprintf( 126 /* translators: 1: 'Stable tag', 2: /trunk/ SVN directory , 3: 'Stable tag: trunk'*/127 __( 'The %1$s field is missing . Hint: If you treat %2$s as stable, put %3$s.', 'wporg-plugins' ),124 if ( empty( $readme->stable_tag ) || str_contains( $readme->stable_tag, 'trunk' ) ) { 125 $warnings[] = sprintf( 126 /* translators: 1: 'Stable tag', 2: /trunk/ SVN directory */ 127 __( 'The %1$s field is missing or invalid. Note: We ask you no longer attempt to use %2$s as stable, so that all plugins can be rolled back.', 'wporg-plugins' ), 128 128 '<code>Stable tag</code>', 129 '<code>/trunk/</code>', 130 '<code>Stable tag: trunk</code>' 129 '<code>/trunk/</code>' 131 130 ); 132 131 }
Note: See TracChangeset
for help on using the changeset viewer.