[wp-trac] [WordPress Trac] #31643: Allow widget sidebars to be loaded open or closed via filtering

WordPress Trac noreply at wordpress.org
Wed Sep 2 01:21:14 UTC 2015


#31643: Allow widget sidebars to be loaded open or closed via filtering
-------------------------+------------------------------
 Reporter:  silb3r       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Widgets      |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-docs   |     Focuses:  administration
-------------------------+------------------------------
Changes (by welcher):

 * keywords:   => needs-docs
 * focuses:   => administration


Comment:

 You may want to consider putting the classes into an array then passing
 that array to the filter. This will allow for much easier manipulation in
 the filter. See new patch to see what I mean.

 Also, the filter needs some inline docs -
 [https://make.wordpress.org/core/handbook/best-practices/inline-
 documentation-standards/php/#4-hooks-actions-and-filters]

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


More information about the wp-trac mailing list