[wp-trac] [WordPress Trac] #53317: Mark site as no longer fresh in new Widgets screen
WordPress Trac
noreply at wordpress.org
Fri Jun 4 00:44:55 UTC 2021
#53317: Mark site as no longer fresh in new Widgets screen
------------------------------+-------------------------
Reporter: kevin940726 | Owner: noisysocks
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: Widgets | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
------------------------------+-------------------------
Changes (by noisysocks):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"51068" 51068]:
{{{
#!CommitTicketReference repository="" revision="51068"
REST API: Delete fresh_site option when updating widgets via REST API
Adds new hooks (rest_save_sidebar, rest_delete_widget,
rest_after_save_widget)
to the widgets REST API and uses them to delete the fresh_site option when
updating widgets via the REST API. This ensures that starter content isn't
loaded in the Customizer after a user makes changes.
Fixes #53317.
Props kevin940726, garrett-eclipse, andraganescu, hellofromtonya.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53317#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list