[wp-trac] [WordPress Trac] #42489: New pages scheduled via Customizer trashed when changeset publish triggered by visitor

WordPress Trac noreply at wordpress.org
Thu Nov 9 18:36:30 UTC 2017


#42489: New pages scheduled via Customizer trashed when changeset publish triggered
by visitor
--------------------------+------------------------------
 Reporter:  bwmarkle      |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Customize     |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by westonruter):

 The the capability check is supposed to be accounted for by changing the
 current user and overriding the capability during publishing (since it was
 previously checked when the changeset was written to):
 https://github.com/WordPress/wordpress-
 develop/blob/c994a2e9bb094e51506e600aa1fc3862c63a934c/src/wp-includes
 /class-wp-customize-manager.php#L3342-L3377

 If this is not working, it needs to be fixed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42489#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list