Opened 17 years ago
Closed 14 years ago
#2284 closed enhancement (wontfix)
Extra Hooks in the Edit Page Table
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | new hook manage pages table edit manage_pages_columns manage_pages_custom_column has-patch |
Focuses: | Cc: |
Description
This patch adds hooks so that plugin defined columns can be added to the manage pages table, like can currently be done with the manage posts table. It adds two new hooks: 'manage_pages_columns' and 'manage_pages_custom_column', which can be called in exactly the same way (and possibly with the same callback function) as 'manage_posts_columns' and 'manage_posts_custom_column'. It also moves all table row generation code into pagerows() regardless of if a search is being conducted or not, improving consistency and ease of future alterations.
Attachments (2)
Change History (19)
#3
@
17 years ago
- Milestone changed from 2.0.1 to 2.1
- Severity changed from normal to enhancement
Not in the scope of 2.0.1.
#4
@
17 years ago
- Keywords bg|has-patch bg|commit removed
The patch will have to be rewritten to take into account the changes made in changeset [3510]
#9
@
15 years ago
I'm still being asked about this by users of Gengo on a regular basis. Is this something the devs would be interested in including? No problem with doing the patch, just if it's not going to be considered I'll move on to something else...
#10
@
15 years ago
Just wanted to add my support for this patch. It's needed for multi-lingual users who are beginning to use WordPress+Gengo as the CMS of choice. I don't understand why this keeps getting bumped from 2.1 to 2.2 and now 2.3 when it's an enhancement that someone is willing to write. All you gotta do is say "yes"!
#11
@
15 years ago
The patch attached does a lot more than just "add hooks". What are all these changes doing?
Make a patch, make a good case for it being included, and maybe somebody will actually include it.
-1 to this patch, until an explanation is given and/or a better patch is created for this issue.
#13
@
15 years ago
I give a big +1 to the concept of this patch, if not to the actual patch uploaded on 01/14/06.
I'm developing a plugin that makes use of the manage_pages_columns and manage_pages_custom_column hooks, and just discovered that no similar hooks exist for the Manage > Pages screen.
@
15 years ago
How about something like this? I tried to change only what was necessary, and tried to preserve the colspan of the "Action" header on the edit-pages screen.
#15
@
15 years ago
I've just released a plugin which provides the 'manage_pages_columns' and 'manage_pages_custom_column' hooks. It hooks onto the wp action and records the extra column information which is then added into the dom using jQuery after the page is finished loading.
You can check it out at http://scompt.com/projects/manage-pages-custom-columns-in-wordpress
Patch to add new hooks to the manage pages table.