[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 17:03: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:  accepted
 Priority:  normal                           |   Milestone:  4.5
Component:  Customize                        |     Version:  trunk
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+--------------------------

Comment (by DrewAPicture):

 @westonruter [attachment:35914.1.diff] Looks good. One thing on the
 DocBlock for the `check_capabilities()` method, the return type should
 just be `false` if the return is always false.

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


More information about the wp-trac mailing list