WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#41517 new defect (bug)

Preview Changes results in Schedule button instead of Update fresh install 4.8 with Twenty Seventeen Theme

Reported by: eclath Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 4.8
Component: General Keywords:
Focuses: Cc:
PR Number:

Description

Fresh install of 4.8 using Twenty Seventeen Theme with no active plugins. Editing an already published page and clicking Preview Changes activates the "Schedule" button instead of "Update."
This is only a minor irritation, since clicking "Schedule" immediately changes the button back to "Update," but each click does produce a new revision, and even the "schedule" option actually performs the "Update" action.
Before "Preview Changes" Button clicked:
<div id="publishing-action">
<span class="spinner"></span>

<input name="original_publish" type="hidden" id="original_publish" value="Update">
<input name="save" type="submit" class="button button-primary button-large" id="publish" value="Update">

</div>
After "Preview Changes" Button clicked :
<div id="publishing-action">
<span class="spinner"></span>

<input name="original_publish" type="hidden" id="original_publish" value="Update">
<input name="save" type="submit" class="button button-primary button-large" id="publish" value="Schedule">

</div>

JQMIGRATE: Migrate is installed, version 1.4.1

Using Chrome (incognito mode) Version 59.0.3071.115 (Official Build) (64-bit) on Windows 7 Professional. (Clearing Cache did not change the result)
Tested on PHP 5.6.31, PHP 7.0.21 and 7.1.7
Tried a second clean installation on a test subdomain and DID reproduce the same result. However, upgrading an existing site to 4.8 did NOT reproduce the symptoms.

Change History (1)

#1 @eclath
2 years ago

  • Severity changed from normal to minor
Note: See TracTickets for help on using tickets.