WordPress.org

Make WordPress Core

Ticket #12954: post_type_page.diff

File post_type_page.diff, 641 bytes (added by harry.nguyen, 4 years ago)
  • wp-admin/js/post.dev.js

     
    362362                } 
    363363 
    364364                function updateText() { 
    365                         var attemptedDate, originalDate, currentDate, publishOn, postStatus = $('#post_status'), 
     365                        var attemptedDate, originalDate, currentDate, publishOn, postStatus = $('#post_status'), page = $('#post_type').val() == 'page' 
    366366                                optPublish = $('option[value=publish]', postStatus), aa = $('#aa').val(), 
    367367                                mm = $('#mm').val(), jj = $('#jj').val(), hh = $('#hh').val(), mn = $('#mn').val(); 
    368368