From 7e532924c340f2ef6b02ed0e11277ba8b3221e46 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 30 Nov 2014 11:56:22 +0000 Subject: [PATCH] Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/post.php. Affects DocBlocks for the following hooks: * `post_type_labels_{$post_type}` * `edit_{$field}` * `{$field_no_prefix}_edit_pre` * `pre_{$field}` * `{$field_no_prefix}_save_pre` * `{$field}_pre` * `$field` * `save_post_{$post->post_type}` * `{$old_status}_to_{$new_status}` * `{$new_status}_{$post->post_type}` See #30552. Built from https://develop.svn.wordpress.org/trunk@30653 git-svn-id: http://core.svn.wordpress.org/trunk@30643 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 20 ++++++++++---------- wp-includes/version.php | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 6ef8d85fca..4b9ec689f5 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1641,7 +1641,7 @@ function get_post_type_labels( $post_type_object ) { /** * Filter the labels of a specific post type. * - * The dynamic portion of the hook name, $post_type, refers to + * The dynamic portion of the hook name, `$post_type`, refers to * the post type slug. * * @since 3.5.0 @@ -2145,7 +2145,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific post field to edit. * - * The dynamic portion of the hook name, $field, refers to the post + * The dynamic portion of the hook name, `$field`, refers to the post * field name. * * @since 2.3.0 @@ -2158,7 +2158,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific post field to edit. * - * The dynamic portion of the hook name, $field_no_prefix, refers to + * The dynamic portion of the hook name, `$field_no_prefix`, refers to * the post field name. * * @since 2.3.0 @@ -2185,7 +2185,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific post field before saving. * - * The dynamic portion of the hook name, $field, refers to the post + * The dynamic portion of the hook name, `$field`, refers to the post * field name. * * @since 2.3.0 @@ -2197,7 +2197,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific field before saving. * - * The dynamic portion of the hook name, $field_no_prefix, refers + * The dynamic portion of the hook name, `$field_no_prefix`, refers * to the post field name. * * @since 2.3.0 @@ -2211,7 +2211,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific post field before saving. * - * The dynamic portion of the hook name, $field, refers to the post + * The dynamic portion of the hook name, `$field`, refers to the post * field name. * * @since 2.3.0 @@ -2228,7 +2228,7 @@ function sanitize_post_field($field, $value, $post_id, $context) { /** * Filter the value of a specific post field for display. * - * The dynamic portion of the hook name, $field, refers to the post + * The dynamic portion of the hook name, `$field`, refers to the post * field name. * * @since 2.3.0 @@ -3477,7 +3477,7 @@ function wp_insert_post( $postarr, $wp_error = false ) { /** * Fires once a post has been saved. * - * The dynamic portion of the hook name, $post->post_type, refers to + * The dynamic portion of the hook name, `$post->post_type`, refers to * the post type slug. * * @since 3.7.0 @@ -3935,7 +3935,7 @@ function wp_transition_post_status( $new_status, $old_status, $post ) { /** * Fires when a post is transitioned from one status to another. * - * The dynamic portions of the hook name, $new_status and $old status, + * The dynamic portions of the hook name, `$new_status` and `$old status`, * refer to the old and new post statuses, respectively. * * @since 2.3.0 @@ -3947,7 +3947,7 @@ function wp_transition_post_status( $new_status, $old_status, $post ) { /** * Fires when a post is transitioned from one status to another. * - * The dynamic portions of the hook name, $new_status and $post->post_type, + * The dynamic portions of the hook name, `$new_status` and `$post->post_type`, * refer to the new post status and post type, respectively. * * @since 2.3.0 diff --git a/wp-includes/version.php b/wp-includes/version.php index fe7475e41f..fd81bab2c9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30652'; +$wp_version = '4.1-beta2-30653'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.