Make WordPress Core

Changeset 30653


Ignore:
Timestamp:
11/30/2014 11:55:58 AM (10 years ago)
Author:
DrewAPicture
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r30636 r30653  
    16421642     * Filter the labels of a specific post type.
    16431643     *
    1644      * The dynamic portion of the hook name, $post_type, refers to
     1644     * The dynamic portion of the hook name, `$post_type`, refers to
    16451645     * the post type slug.
    16461646     *
     
    21462146             * Filter the value of a specific post field to edit.
    21472147             *
    2148              * The dynamic portion of the hook name, $field, refers to the post
     2148             * The dynamic portion of the hook name, `$field`, refers to the post
    21492149             * field name.
    21502150             *
     
    21592159             * Filter the value of a specific post field to edit.
    21602160             *
    2161              * The dynamic portion of the hook name, $field_no_prefix, refers to
     2161             * The dynamic portion of the hook name, `$field_no_prefix`, refers to
    21622162             * the post field name.
    21632163             *
     
    21862186             * Filter the value of a specific post field before saving.
    21872187             *
    2188              * The dynamic portion of the hook name, $field, refers to the post
     2188             * The dynamic portion of the hook name, `$field`, refers to the post
    21892189             * field name.
    21902190             *
     
    21982198             * Filter the value of a specific field before saving.
    21992199             *
    2200              * The dynamic portion of the hook name, $field_no_prefix, refers
     2200             * The dynamic portion of the hook name, `$field_no_prefix`, refers
    22012201             * to the post field name.
    22022202             *
     
    22122212             * Filter the value of a specific post field before saving.
    22132213             *
    2214              * The dynamic portion of the hook name, $field, refers to the post
     2214             * The dynamic portion of the hook name, `$field`, refers to the post
    22152215             * field name.
    22162216             *
     
    22292229             * Filter the value of a specific post field for display.
    22302230             *
    2231              * The dynamic portion of the hook name, $field, refers to the post
     2231             * The dynamic portion of the hook name, `$field`, refers to the post
    22322232             * field name.
    22332233             *
     
    34783478     * Fires once a post has been saved.
    34793479     *
    3480      * The dynamic portion of the hook name, $post->post_type, refers to
     3480     * The dynamic portion of the hook name, `$post->post_type`, refers to
    34813481     * the post type slug.
    34823482     *
     
    39363936     * Fires when a post is transitioned from one status to another.
    39373937     *
    3938      * The dynamic portions of the hook name, $new_status and $old status,
     3938     * The dynamic portions of the hook name, `$new_status` and `$old status`,
    39393939     * refer to the old and new post statuses, respectively.
    39403940     *
     
    39483948     * Fires when a post is transitioned from one status to another.
    39493949     *
    3950      * The dynamic portions of the hook name, $new_status and $post->post_type,
     3950     * The dynamic portions of the hook name, `$new_status` and `$post->post_type`,
    39513951     * refer to the new post status and post type, respectively.
    39523952     *
Note: See TracChangeset for help on using the changeset viewer.