Opened 15 years ago
Closed 15 years ago
#18638 closed defect (bug) (fixed)
Add "name" to allowed_keys for sortable table list columns
| Reported by: | MarcusPope | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Administration | Version: | 3.2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
postname is keyed, so this seems fine.