[wp-trac] [WordPress Trac] #18638: Add "name" to allowed_keys for sortable table list columns

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 11 09:04:19 UTC 2011


#18638: Add "name" to allowed_keys for sortable table list columns
----------------------------+-----------------------------
 Reporter:  MarcusPope      |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  3.2.1
 Severity:  normal          |   Keywords:  has-patch
----------------------------+-----------------------------
 WP currently supports adding the slug as a column to tables in the admin
 area.  However there is no way to make it a sortable column because
 post_"name" can never be handled by the default case since the meta key
 will attempt to load from meta data or die from not passing the
 allowed_keys whitelist.

 The attached patch simply adds "name" to the allowed keys array.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18638>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list