Make WordPress Core

Opened 11 years ago

Last modified 9 months ago

#35315 new enhancement

New action `manage_posts_before_extra_area`

Reported by: sebastian.pisula Owned by:
Priority: normal Milestone: Awaiting Review
Component: Administration Version:
Severity: normal Keywords: has-patch 2nd-opinion
Cc: Focuses:

Description

I think that should be action before table of posts in edit.php. Why ? Because I want add settings for post type in this section or custom form.

Attachments (3)

35315.patch (750 bytes ) - added by sebastian.pisula 11 years ago.
with-div.png (99.8 KB ) - added by sebastian.pisula 11 years ago.
preview with div
without-div.png (99.8 KB ) - added by sebastian.pisula 11 years ago.
preview without div

Download all attachments as: .zip

Change History (8)

#1 @johnbillion
11 years ago

  • Component GeneralPosts, Post Types
  • Focuses administration added
  • Keywords has-patch reporter-feedback added

Thanks for the patch, @sebastian.pisula . What's the reason behind the <div> with no attributes?

@sebastian.pisula
11 years ago

preview with div

@sebastian.pisula
11 years ago

preview without div

#2 @sebastian.pisula
11 years ago

I uploaded screen without and with div.

#3 @DrewAPicture
11 years ago

Rather than specifically targeting the posts list table screen, I wonder if we might be better served to fire a more generic hook at the top of WP_List_Table::views() instead. Either way, I think we'd probably want to fire the hook after the admin notices markup.

This ticket was mentioned in Slack in #core by sirlouen. View the logs.


9 months ago

#5 @SirLouen
9 months ago

  • Component Posts, Post TypesAdministration
  • Focuses administration removed
  • Keywords 2nd-opinion added; reporter-feedback removed
  • MilestoneAwaiting Review

Let's evaluate the proposal by @DrewAPicture with a more generic option, rather than being bound specifically to the posts list. And with the new admin interface incoming, I think that this should be better analyzed before stepping into this hook.

Note: See TracTickets for help on using tickets.