Changeset 3479497
- Timestamp:
- 03/10/2026 08:05:28 PM (3 weeks ago)
- Location:
- excerpt-check
- Files:
-
- 12 edited
- 1 copied
-
tags/1.1.1 (copied) (copied from excerpt-check/trunk)
-
tags/1.1.1/assets/js/block-editor.js (modified) (1 diff)
-
tags/1.1.1/assets/js/classic-editor.js (modified) (1 diff)
-
tags/1.1.1/excerpt-check.php (modified) (2 diffs)
-
tags/1.1.1/includes/class-block-editor.php (modified) (1 diff)
-
tags/1.1.1/includes/class-classic-editor.php (modified) (1 diff)
-
tags/1.1.1/readme.txt (modified) (2 diffs)
-
trunk/assets/js/block-editor.js (modified) (1 diff)
-
trunk/assets/js/classic-editor.js (modified) (1 diff)
-
trunk/excerpt-check.php (modified) (2 diffs)
-
trunk/includes/class-block-editor.php (modified) (1 diff)
-
trunk/includes/class-classic-editor.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
excerpt-check/tags/1.1.1/assets/js/block-editor.js
r3478502 r3479497 99 99 ); 100 100 var actionLabel = publishBtn ? publishBtn.textContent.trim() : 'Publish'; 101 var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway');101 var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel ); 102 102 103 103 buttons.push( -
excerpt-check/tags/1.1.1/assets/js/classic-editor.js
r3478502 r3479497 51 51 if ( 'remind' === settings.mode ) { 52 52 var actionLabel = $( '#publish' ).val() || 'Publish'; 53 var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway');53 var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel ); 54 54 var $bypassBtn = $( '<button type="button" class="button ec-publish-anyway">' ) 55 55 .text( anywayLabel ); -
excerpt-check/tags/1.1.1/excerpt-check.php
r3478502 r3479497 12 12 * Plugin URI: https://pressware.co/wp/excerpt-check/ 13 13 * Description: Prompts authors to add an excerpt before publishing or scheduling a WordPress post. 14 * Version: 1.1. 014 * Version: 1.1.1 15 15 * Requires at least: 6.9 16 16 * Tested up to: 6.9 … … 27 27 defined( 'WPINC' ) || die; 28 28 29 const VERSION = '1.1. 0';29 const VERSION = '1.1.1'; 30 30 31 31 /** -
excerpt-check/tags/1.1.1/includes/class-block-editor.php
r3478502 r3479497 71 71 : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ), 72 72 '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' ), 74 75 ) 75 76 ); -
excerpt-check/tags/1.1.1/includes/class-classic-editor.php
r3478502 r3479497 87 87 : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ), 88 88 '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' ), 90 91 ) 91 92 ); -
excerpt-check/tags/1.1.1/readme.txt
r3478502 r3479497 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 08 Stable tag: 1.1.1 9 9 License: GPL-3.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 75 75 == Changelog == 76 76 77 = 1.1.1 = 78 * Fixed i18n bypass button label to use sprintf pattern for correct word order in all languages 79 77 80 = 1.1.0 = 78 81 * 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 99 99 ); 100 100 var actionLabel = publishBtn ? publishBtn.textContent.trim() : 'Publish'; 101 var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway');101 var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel ); 102 102 103 103 buttons.push( -
excerpt-check/trunk/assets/js/classic-editor.js
r3478502 r3479497 51 51 if ( 'remind' === settings.mode ) { 52 52 var actionLabel = $( '#publish' ).val() || 'Publish'; 53 var anywayLabel = actionLabel + ' ' + ( settings.anywayLabel || 'Anyway');53 var anywayLabel = ( settings.anywayLabel || '%s Anyway' ).replace( '%s', actionLabel ); 54 54 var $bypassBtn = $( '<button type="button" class="button ec-publish-anyway">' ) 55 55 .text( anywayLabel ); -
excerpt-check/trunk/excerpt-check.php
r3478502 r3479497 12 12 * Plugin URI: https://pressware.co/wp/excerpt-check/ 13 13 * Description: Prompts authors to add an excerpt before publishing or scheduling a WordPress post. 14 * Version: 1.1. 014 * Version: 1.1.1 15 15 * Requires at least: 6.9 16 16 * Tested up to: 6.9 … … 27 27 defined( 'WPINC' ) || die; 28 28 29 const VERSION = '1.1. 0';29 const VERSION = '1.1.1'; 30 30 31 31 /** -
excerpt-check/trunk/includes/class-block-editor.php
r3478502 r3479497 71 71 : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ), 72 72 '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' ), 74 75 ) 75 76 ); -
excerpt-check/trunk/includes/class-classic-editor.php
r3478502 r3479497 87 87 : __( 'This post does not have an excerpt. Would you like to add one?', 'excerpt-check' ), 88 88 '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' ), 90 91 ) 91 92 ); -
excerpt-check/trunk/readme.txt
r3478502 r3479497 6 6 Tested up to: 6.9 7 7 Requires PHP: 7.4 8 Stable tag: 1.1. 08 Stable tag: 1.1.1 9 9 License: GPL-3.0-or-later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 75 75 == Changelog == 76 76 77 = 1.1.1 = 78 * Fixed i18n bypass button label to use sprintf pattern for correct word order in all languages 79 77 80 = 1.1.0 = 78 81 * 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.