We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74b60c2 commit 7079ad1Copy full SHA for 7079ad1
src/js/_enqueues/admin/post.js
@@ -775,7 +775,7 @@ jQuery( function($) {
775
if ( attemptedDate > currentDate ) {
776
publishOn = __( 'Schedule for:' );
777
$('#publish').val( _x( 'Schedule', 'post action/button label' ) );
778
- } else if ( attemptedDate <= currentDate && $('#original_post_status').val() != 'publish' ) {
+ } else if ( attemptedDate <= currentDate && $('#original_post_status').val() != 'publish' && 0 === postId ) {
779
publishOn = __( 'Publish on:' );
780
$('#publish').val( __( 'Publish' ) );
781
} else {
0 commit comments