Plugin Directory

Changeset 3479497


Ignore:
Timestamp:
03/10/2026 08:05:28 PM (3 weeks ago)
Author:
tommcfarlin
Message:

Update to version 1.1.1 from GitHub

Location:
excerpt-check
Files:
12 edited
1 copied

Legend:

Unmodified
Added
Removed
  • excerpt-check/tags/1.1.1/assets/js/block-editor.js

    r3478502 r3479497  
    9999            );
    100100            var actionLabel = publishBtn ? publishBtn.textContent.trim() : 'Publish';
    101             var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway' );
     101            var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel );
    102102
    103103            buttons.push(
  • excerpt-check/tags/1.1.1/assets/js/classic-editor.js

    r3478502 r3479497  
    5151        if ( 'remind' === settings.mode ) {
    5252            var actionLabel = $( '#publish' ).val() || 'Publish';
    53             var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway' );
     53            var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel );
    5454            var $bypassBtn  = $( '<button type="button" class="button ec-publish-anyway">' )
    5555                .text( anywayLabel );
  • excerpt-check/tags/1.1.1/excerpt-check.php

    r3478502 r3479497  
    1212 * Plugin URI:        https://pressware.co/wp/excerpt-check/
    1313 * Description:       Prompts authors to add an excerpt before publishing or scheduling a WordPress post.
    14  * Version:           1.1.0
     14 * Version:           1.1.1
    1515 * Requires at least: 6.9
    1616 * Tested up to:      6.9
     
    2727defined( 'WPINC' ) || die;
    2828
    29 const VERSION = '1.1.0';
     29const VERSION = '1.1.1';
    3030
    3131/**
  • excerpt-check/tags/1.1.1/includes/class-block-editor.php

    r3478502 r3479497  
    7171                    : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ),
    7272                'addExcerptLabel' => __( 'Add Excerpt', 'excerpt-check' ),
    73                 'anywayLabel'     => __( 'Anyway', 'excerpt-check' ),
     73                /* translators: %s: editor action label (e.g. "Publish", "Schedule", "Save"). */
     74            'anywayLabel'     => __( '%s Anyway', 'excerpt-check' ),
    7475            )
    7576        );
  • excerpt-check/tags/1.1.1/includes/class-classic-editor.php

    r3478502 r3479497  
    8787                    : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ),
    8888                'addExcerptLabel' => __( 'Add Excerpt', 'excerpt-check' ),
    89                 'anywayLabel'     => __( 'Anyway', 'excerpt-check' ),
     89                /* translators: %s: editor action label (e.g. "Publish", "Schedule", "Save"). */
     90            'anywayLabel'     => __( '%s Anyway', 'excerpt-check' ),
    9091            )
    9192        );
  • excerpt-check/tags/1.1.1/readme.txt

    r3478502 r3479497  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPL-3.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575== Changelog ==
    7676
     77= 1.1.1 =
     78* Fixed i18n bypass button label to use sprintf pattern for correct word order in all languages
     79
    7780= 1.1.0 =
    7881* Modal bypass button now mirrors the editor's own button label (e.g. "Save Anyway" instead of "Publish Anyway" when editing a published post)
  • excerpt-check/trunk/assets/js/block-editor.js

    r3478502 r3479497  
    9999            );
    100100            var actionLabel = publishBtn ? publishBtn.textContent.trim() : 'Publish';
    101             var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway' );
     101            var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel );
    102102
    103103            buttons.push(
  • excerpt-check/trunk/assets/js/classic-editor.js

    r3478502 r3479497  
    5151        if ( 'remind' === settings.mode ) {
    5252            var actionLabel = $( '#publish' ).val() || 'Publish';
    53             var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway' );
     53            var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel );
    5454            var $bypassBtn  = $( '<button type="button" class="button ec-publish-anyway">' )
    5555                .text( anywayLabel );
  • excerpt-check/trunk/excerpt-check.php

    r3478502 r3479497  
    1212 * Plugin URI:        https://pressware.co/wp/excerpt-check/
    1313 * Description:       Prompts authors to add an excerpt before publishing or scheduling a WordPress post.
    14  * Version:           1.1.0
     14 * Version:           1.1.1
    1515 * Requires at least: 6.9
    1616 * Tested up to:      6.9
     
    2727defined( 'WPINC' ) || die;
    2828
    29 const VERSION = '1.1.0';
     29const VERSION = '1.1.1';
    3030
    3131/**
  • excerpt-check/trunk/includes/class-block-editor.php

    r3478502 r3479497  
    7171                    : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ),
    7272                'addExcerptLabel' => __( 'Add Excerpt', 'excerpt-check' ),
    73                 'anywayLabel'     => __( 'Anyway', 'excerpt-check' ),
     73                /* translators: %s: editor action label (e.g. "Publish", "Schedule", "Save"). */
     74            'anywayLabel'     => __( '%s Anyway', 'excerpt-check' ),
    7475            )
    7576        );
  • excerpt-check/trunk/includes/class-classic-editor.php

    r3478502 r3479497  
    8787                    : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ),
    8888                'addExcerptLabel' => __( 'Add Excerpt', 'excerpt-check' ),
    89                 'anywayLabel'     => __( 'Anyway', 'excerpt-check' ),
     89                /* translators: %s: editor action label (e.g. "Publish", "Schedule", "Save"). */
     90            'anywayLabel'     => __( '%s Anyway', 'excerpt-check' ),
    9091            )
    9192        );
  • excerpt-check/trunk/readme.txt

    r3478502 r3479497  
    66Tested up to: 6.9
    77Requires PHP: 7.4
    8 Stable tag: 1.1.0
     8Stable tag: 1.1.1
    99License: GPL-3.0-or-later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    7575== Changelog ==
    7676
     77= 1.1.1 =
     78* Fixed i18n bypass button label to use sprintf pattern for correct word order in all languages
     79
    7780= 1.1.0 =
    7881* Modal bypass button now mirrors the editor's own button label (e.g. "Save Anyway" instead of "Publish Anyway" when editing a published post)
Note: See TracChangeset for help on using the changeset viewer.