[wp-trac] [WordPress Trac] #33467: Widgets that display to non logged-in users only NOT editable in customizer

WordPress Trac noreply at wordpress.org
Thu Aug 20 20:29:14 UTC 2015


#33467: Widgets that display to non logged-in users only NOT editable in customizer
--------------------------+----------------------
 Reporter:  lisaleague    |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Customize     |     Version:  3.9
 Severity:  normal        |  Resolution:  wontfix
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by westonruter):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:6 lisaleague]:

 > so would I just change to
 >
 >
 > {{{
 > if ( ! is_user_logged_in() || is_customize_preview() ) {
 > }}}
 >
 > If so that's an easy fix. Sorry, I thought it was a customizer thing.

 Exactly! That should be all you need.

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


More information about the wp-trac mailing list