Make WordPress Core


Ignore:
Timestamp:
11/30/2014 12:02:44 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs Formatting: Backtick-escape inline code for all dynamic hook docs in wp-includes/meta.php.

Affects DocBlocks for the following hooks:

  • add_{$meta_type}_metadata
  • add_{$meta_type}_meta
  • added_{$meta_type}_meta
  • update_{$meta_type}_metadata
  • update_{$meta_type}_meta
  • updated_{$meta_type}_meta
  • delete_{$meta_type}_metadata
  • delete_{$meta_type}_meta
  • deleted_{$meta_type}_meta
  • get_{$meta_type}_metadata
  • delete_{$meta_type}meta
  • deleted_{$meta_type}meta
  • sanitize_{$meta_type}_meta_{$meta_key}

See #30552.

File:
1 edited

Legend:

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

    r30617 r30655  
    5555     * Filter whether to add metadata of a specific type.
    5656     *
    57      * The dynamic portion of the hook, $meta_type, refers to the meta
     57     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    5858     * object type (comment, post, or user). Returning a non-null value
    5959     * will effectively short-circuit the function.
     
    8383     * Fires immediately before meta of a specific type is added.
    8484     *
    85      * The dynamic portion of the hook, $meta_type, refers to the meta
     85     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    8686     * object type (comment, post, or user).
    8787     *
     
    110110     * Fires immediately after meta of a specific type is added.
    111111     *
    112      * The dynamic portion of the hook, $meta_type, refers to the meta
     112     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    113113     * object type (comment, post, or user).
    114114     *
     
    170170     * Filter whether to update metadata of a specific type.
    171171     *
    172      * The dynamic portion of the hook, $meta_type, refers to the meta
     172     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    173173     * object type (comment, post, or user). Returning a non-null value
    174174     * will effectively short-circuit the function.
     
    217217         * Fires immediately before updating metadata of a specific type.
    218218         *
    219          * The dynamic portion of the hook, $meta_type, refers to the meta
     219         * The dynamic portion of the hook, `$meta_type`, refers to the meta
    220220         * object type (comment, post, or user).
    221221         *
     
    256256         * Fires immediately after updating metadata of a specific type.
    257257         *
    258          * The dynamic portion of the hook, $meta_type, refers to the meta
     258         * The dynamic portion of the hook, `$meta_type`, refers to the meta
    259259         * object type (comment, post, or user).
    260260         *
     
    331331     * Filter whether to delete metadata of a specific type.
    332332     *
    333      * The dynamic portion of the hook, $meta_type, refers to the meta
     333     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    334334     * object type (comment, post, or user). Returning a non-null value
    335335     * will effectively short-circuit the function.
     
    370370     * Fires immediately before deleting metadata of a specific type.
    371371     *
    372      * The dynamic portion of the hook, $meta_type, refers to the meta
     372     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    373373     * object type (comment, post, or user).
    374374     *
     
    412412     * Fires immediately after deleting metadata of a specific type.
    413413     *
    414      * The dynamic portion of the hook name, $meta_type, refers to the meta
     414     * The dynamic portion of the hook name, `$meta_type`, refers to the meta
    415415     * object type (comment, post, or user).
    416416     *
     
    465465     * Filter whether to retrieve metadata of a specific type.
    466466     *
    467      * The dynamic portion of the hook, $meta_type, refers to the meta
     467     * The dynamic portion of the hook, `$meta_type`, refers to the meta
    468468     * object type (comment, post, or user). Returning a non-null value
    469469     * will effectively short-circuit the function.
     
    725725             * Fires immediately before deleting post or comment metadata of a specific type.
    726726             *
    727              * The dynamic portion of the hook, $meta_type, refers to the meta
     727             * The dynamic portion of the hook, `$meta_type`, refers to the meta
    728728             * object type (post or comment).
    729729             *
     
    749749             * Fires immediately after deleting post or comment metadata of a specific type.
    750750             *
    751              * The dynamic portion of the hook, $meta_type, refers to the meta
     751             * The dynamic portion of the hook, `$meta_type`, refers to the meta
    752752             * object type (post or comment).
    753753             *
     
    15731573     * Filter the sanitization of a specific meta key of a specific meta type.
    15741574     *
    1575      * The dynamic portions of the hook name, $meta_type and $meta_key, refer to the
    1576      * metadata object type (comment, post, or user) and the meta key value,
     1575     * The dynamic portions of the hook name, `$meta_type`, and `$meta_key`,
     1576     * refer to the metadata object type (comment, post, or user) and the meta
     1577     * key value,
    15771578     * respectively.
    15781579     *
Note: See TracChangeset for help on using the changeset viewer.