Ticket #31040: 31040.patch
| File 31040.patch, 608 bytes (added by , 11 years ago) |
|---|
-
src/wp-admin/js/post.js
710 710 $timestampdiv.find('.timestamp-wrap').removeClass('form-invalid'); 711 711 } 712 712 713 if ( attemptedDate > currentDate && $('#original_post_status').val() != 'future') {713 if ( attemptedDate > currentDate ) { 714 714 publishOn = postL10n.publishOnFuture; 715 715 $('#publish').val( postL10n.schedule ); 716 716 } else if ( attemptedDate <= currentDate && $('#original_post_status').val() != 'publish' ) {