[wp-trac] [WordPress Trac] #41621: Customize: Removing setting from changeset generates PHP warning

WordPress Trac noreply at wordpress.org
Sun Aug 13 00:05:49 UTC 2017


#41621: Customize: Removing setting from changeset generates PHP warning
--------------------------+--------------------------
 Reporter:  dlh           |       Owner:  westonruter
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.9
Component:  Customize     |     Version:  4.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------

Comment (by dlh):

 Replying to [comment:2 westonruter]:
 > @dlh @stubgo did you encounter this in writing unit tests for the
 `changesets` REST API endpoint? If not, could you add a unit test for it
 there as well to ensure that this use case is tested?

 I encountered it separately from the endpoints, but it looks like @stubgo
 already wrote a test for it: https://github.com/WP-API/wp-api-customize-
 endpoints/blob/304196b1e65382393c10f883e3e1e050b54bc3a4/tests/test-
 customize-changesets-controller.php#L1906.

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


More information about the wp-trac mailing list