diff --git a/wp-includes/class-wp-customize-manager.php b/wp-includes/class-wp-customize-manager.php index 31d9d355d3..1bb832396a 100644 --- a/wp-includes/class-wp-customize-manager.php +++ b/wp-includes/class-wp-customize-manager.php @@ -2272,6 +2272,10 @@ final class WP_Customize_Manager { } } + if ( ! empty( $is_future_dated ) && 'publish' === $args['status'] ) { + $args['status'] = 'future'; + } + // The request was made via wp.customize.previewer.save(). $update_transactionally = (bool) $args['status']; $allow_revision = (bool) $args['status']; diff --git a/wp-includes/version.php b/wp-includes/version.php index 0b10643c6f..325c512242 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41371'; +$wp_version = '4.9-alpha-41372'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.