[wp-trac] [WordPress Trac] #32987: Adding filters to allow alternate sidebar storage for registered sidebars

WordPress Trac noreply at wordpress.org
Thu Aug 6 18:15:25 UTC 2015


#32987: Adding filters to allow alternate sidebar storage for registered sidebars
------------------------------------+------------------------------
 Reporter:  welcher                 |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Widgets                 |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by DrewAPicture):

 Some notes:

 * These filter names need a little bit of work. They evaluate as booleans
 but the filter names don't really reflect that
 * If we do end up keeping the boolean returns by default, the check on
 what is currently the 'sidebars_widgets_custom_storage' hook could just
 easily be a strict boolean check

 On the hook docs:

 * The duplicate hook comment should be one line, e.g. /** This filter is
 documented in ... */
 * The duplicate hook comment only needs to mention the path to the file
 * Hook doc summaries should end with a period
 * `@since` versions should be the 3-digit x.x.x style, e.g. 4.4.0
 * Multiple types in phpDoc should use a pipe, e.g. `|`

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


More information about the wp-trac mailing list