Changeset 2449870 for duplicate-post
- Timestamp:
- 01/04/2021 11:10:08 AM (5 years ago)
- Location:
- duplicate-post/trunk
- Files:
-
- 4 added
- 4 deleted
- 3 edited
-
duplicate-post.php (modified) (2 diffs)
-
js/dist/duplicate-post-edit-40-RC2.js (deleted)
-
js/dist/duplicate-post-edit-40-RC3.js (added)
-
js/dist/duplicate-post-options-40-RC2.js (deleted)
-
js/dist/duplicate-post-options-40-RC3.js (added)
-
js/dist/duplicate-post-quick-edit-40-RC2.js (deleted)
-
js/dist/duplicate-post-quick-edit-40-RC3.js (added)
-
js/dist/duplicate-post-strings-40-RC2.js (deleted)
-
js/dist/duplicate-post-strings-40-RC3.js (added)
-
src/ui/class-asset-manager.php (modified) (2 diffs)
-
src/ui/class-classic-editor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
duplicate-post/trunk/duplicate-post.php
r2448400 r2449870 4 4 * Plugin URI: https://yoast.com/wordpress/plugins/duplicate-post/ 5 5 * Description: Clone posts and pages. 6 * Version: 4.0-RC 26 * Version: 4.0-RC3 7 7 * Author: Enrico Battocchi & Team Yoast 8 8 * Author URI: https://yoast.com … … 43 43 } 44 44 45 define( 'DUPLICATE_POST_CURRENT_VERSION', '4.0-RC 2' );45 define( 'DUPLICATE_POST_CURRENT_VERSION', '4.0-RC3' ); 46 46 47 47 $duplicate_post_autoload_file = __DIR__ . '/vendor/autoload.php'; -
duplicate-post/trunk/src/ui/class-asset-manager.php
r2447378 r2449870 47 47 \plugins_url( \sprintf( 'js/dist/duplicate-post-edit-%s.js', $flattened_version ), DUPLICATE_POST_FILE ), 48 48 [ 49 'wp- blocks',49 'wp-components', 50 50 'wp-element', 51 51 'wp-i18n', … … 59 59 \plugins_url( \sprintf( 'js/dist/duplicate-post-strings-%s.js', $flattened_version ), DUPLICATE_POST_FILE ), 60 60 [ 61 'wp-components', 61 62 'wp-element', 62 63 'wp-i18n', -
duplicate-post/trunk/src/ui/class-classic-editor.php
r2447378 r2449870 208 208 */ 209 209 public function change_republish_strings_classic_editor( $translation, $text ) { 210 if ( $this->should_change_rewrite_republish_copy( \get_post() ) && $text === 'Publish' ) { 211 return \__( 'Republish', 'duplicate-post' ); 210 if ( $this->should_change_rewrite_republish_copy( \get_post() ) ) { 211 if ( $text === 'Publish' ) { 212 return \__( 'Republish', 'duplicate-post' ); 213 } 214 215 if ( $text === 'Publish on: %s' ) { 216 /* translators: %s: Date on which the post is to be republished. */ 217 return \__( 'Republish on: %s', 'duplicate-post' ); 218 } 212 219 } 213 220
Note: See TracChangeset
for help on using the changeset viewer.