[wp-trac] [WordPress Trac] #35914: Prevent exporting a partial for selective refresh when user can't preview its settings

WordPress Trac noreply at wordpress.org
Tue Feb 23 18:13:32 UTC 2016


#35914: Prevent exporting a partial for selective refresh when user can't preview
its settings
---------------------------------------------+--------------------------
 Reporter:  westonruter                      |       Owner:  westonruter
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  4.5
Component:  Customize                        |     Version:  trunk
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"36643"]:
 {{{
 #!CommitTicketReference repository="" revision="36643"
 Customize: Skip exporting partials to client and handling rendering
 requests if user can't modify associated settings.

 Introduces `WP_Customize_Partial::check_capabilities()` for parity with
 `WP_Customize_Control::check_capabilities()`.

 See #27355.
 Fixes #35914.
 }}}

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


More information about the wp-trac mailing list