Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28721, comment 12


Ignore:
Timestamp:
11/09/2017 06:30:30 PM (7 years ago)
Author:
westonruter
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28721, comment 12

    initial v1  
    1515 } )
    1616}}}
     17'''Update:''' As of WordPress 4.9 the `save` call should be changed to the following so that the UI reflects the new state:
     18{{{#!js
     19wp.customize.state( 'selectedChangesetStatus' ).set( 'future' );
     20wp.customize.state( 'selectedChangesetDate' ).set( changesetDate );
     21wp.customize.previewer.save(); // Reads from state for default values.
     22}}}
    17233. Assuming that WP Cron is running properly your environment, you should see the new site title “Scheduled Title” at the designated time.
    1824