Ticket #31040: 31040.1.diff
| File 31040.1.diff, 672 bytes (added by , 3 years ago) |
|---|
-
src/js/_enqueues/admin/post.js
789 789 } 790 790 791 791 // Determine what the publish should be depending on the date and post status. 792 if ( attemptedDate > currentDate && $('#original_post_status').val() != 'future') {792 if ( attemptedDate > currentDate ) { 793 793 publishOn = __( 'Schedule for:' ); 794 794 $('#publish').val( _x( 'Schedule', 'post action/button label' ) ); 795 795 } else if ( attemptedDate <= currentDate && $('#original_post_status').val() != 'publish' ) {