Making WordPress.org


Ignore:
Timestamp:
05/17/2024 04:15:37 AM (12 months ago)
Author:
dd32
Message:

Plugin Directory: Import: When importing from SVN, if the plugin specifies a Stable Tag that does not exist, and we fall back to trunk, warn them.

See #6380, #6108.
Fixes #5645.

File:
1 edited

Legend:

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

    r13618 r13726  
    297297                    __( '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' ),
    298298                    '<code>Stable tag</code>',
     299                    '<code>/trunk/</code>'
     300                );
     301            case 'stable_tag_invalid_trunk_fallback':
     302                return sprintf(
     303                    /* translators: 1: 'Stable tag', 2: path '/tags/{version}', 3: '/trunk/' */
     304                    __( 'The %1$s field is invalid, the specified SVN tag %2$s does not exist. %3$s will be used instead.', 'wporg-plugins' ),
     305                    '<code>Stable Tag</code>',
     306                    '<code>/tags/' . esc_html( $data ) . '/</code>',
    299307                    '<code>/trunk/</code>'
    300308                );
Note: See TracChangeset for help on using the changeset viewer.