Make WordPress Core

Opened 10 years ago

Last modified 3 months ago

#35315 new enhancement

New action `manage_posts_before_extra_area`

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

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 10 years ago.
with-div.png (99.8 KB) - added by sebastian.pisula 10 years ago.
preview with div
without-div.png (99.8 KB) - added by sebastian.pisula 10 years ago.
preview without div

Download all attachments as: .zip

Change History (8)

#1 @johnbillion
10 years ago

  • Component changed from General to Posts, 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
10 years ago

preview with div

@sebastian.pisula
10 years ago

preview without div

#2 @sebastian.pisula
10 years ago

I uploaded screen without and with div.

#3 @DrewAPicture
10 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.


3 months ago

#5 @SirLouen
3 months ago

  • Component changed from Posts, Post Types to Administration
  • Focuses administration removed
  • Keywords 2nd-opinion added; reporter-feedback removed
  • Milestone set to Awaiting 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.