Make WordPress Core

Opened 9 years ago

Closed 6 years ago

Last modified 6 years ago

#36085 closed enhancement (fixed)

Add action hook to get_inline_data()

Reported by: mensmaximus's profile mensmaximus Owned by: johnbillion's profile johnbillion
Milestone: 4.9.8 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: good-first-bug needs-docs has-patch fixed-major
Focuses: administration Cc:

Description

Working with customs fields in quickedit for custom post types would be much easier if one could add custom data to the get_inline_data() function in /wp-admin/includes/template.php. An action hook like do_action( 'add_inline_data', $post ) right before the closing div would be a great enhancement.

Attachments (2)

36085.1.diff (1.5 KB) - added by NathanAtmoz 7 years ago.
36085.2.diff (601 bytes) - added by NathanAtmoz 7 years ago.

Download all attachments as: .zip

Change History (18)

#1 @fabrisancho
8 years ago

This functionality will be very useful

#2 @johnbillion
7 years ago

  • Focuses administration added
  • Keywords needs-patch good-first-bug needs-docs added
  • Type changed from feature request to enhancement

@NathanAtmoz
7 years ago

@NathanAtmoz
7 years ago

#3 @NathanAtmoz
7 years ago

First attempt at a patch. Not sure how I messed up the first diff.

#4 @theorboman
7 years ago

  • Keywords has-patch added; needs-patch removed

#5 @DrewAPicture
7 years ago

  • Owner set to nathanatmoz
  • Status changed from new to assigned

Assigning to mark the good-first-bug as "claimed".

#6 @johnbillion
7 years ago

  • Milestone changed from Awaiting Review to 5.0
  • Owner changed from nathanatmoz to johnbillion
  • Status changed from assigned to reviewing

#7 @johnbillion
7 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 42676:

Posts, Post Types: Add a new add_inline_data action which allows extra fields to be added to the inline editing fields.

Props mensmaximus, NathanAtmoz

Fixes #36085

#8 @pbiron
7 years ago

dup of #27833, so that other ticket should also be closed.

#9 @johnbillion
7 years ago

#27833 was marked as a duplicate.

#10 @pbiron
6 years ago

any chance we can get this in 4.9.7?

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


6 years ago

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


6 years ago

#13 @pbiron
6 years ago

  • Keywords fixed-major added
  • Milestone changed from 5.0 to 4.9.8
  • Resolution fixed deleted
  • Status changed from closed to reopened

#14 @pbiron
6 years ago

repoened for backport to 4.9.8

Last edited 6 years ago by pbiron (previous) (diff)

#15 @SergeyBiryukov
6 years ago

In 43460:

Docs: Change @since entry for add_inline_data action added in [42676] to 4.9.8.

See #36085.

#16 @SergeyBiryukov
6 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

In 43461:

Posts, Post Types: Add a new add_inline_data action which allows extra fields to be added to the inline editing fields.

Props mensmaximus, NathanAtmoz.
Merges [42676] and [43460] to the 4.9 branch.
Fixes #36085.

Note: See TracTickets for help on using tickets.