[wp-trac] [WordPress Trac] #27299: Order the available widgets in the Widgets admin page
WordPress Trac
noreply at wordpress.org
Sun Oct 19 17:48:02 UTC 2014
#27299: Order the available widgets in the Widgets admin page
-----------------------------------+-----------------------------
Reporter: nofearinc | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.1
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses: administration
-----------------------------------+-----------------------------
Changes (by DrewAPicture):
* keywords: has-patch => has-patch 2nd-opinion
Comment:
I have some concerns about the placement of the filter. If it's specific
to ordering the widgets it should be tied specifically to a sorting
function, such as maybe making the `_sort_name_callback` callback
filterable.
I can easily see this getting misused for doing things like removing
widgets from the list altogether or otherwise manipulating the list in
ways that fall far outside the scope of simply changing the order.
If general filtering here is something we want to promote, great, rename
the filter. If not, then maybe we should reconsider the implementation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27299#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list