diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 9791748ee0..21002ba1f9 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -361,6 +361,16 @@ function get_inline_data( $post ) { echo '
' . esc_html( get_post_format( $post->ID ) ) . '
'; } + /** + * Fires after outputting the fields for the inline editor for posts and pages. + * + * @since 5.0.0 + * + * @param WP_Post $post The current post object. + * @param WP_Post_Type $post_type_object The current post's post type object. + */ + do_action( 'add_inline_data', $post, $post_type_object ); + echo ''; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 0812411178..3b8b0e168d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42675'; +$wp_version = '5.0-alpha-42676'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.