Make WordPress Core

Changeset 30654


Ignore:
Timestamp:
11/30/2014 11:59:26 AM (12 years ago)
Author:
DrewAPicture
Message:

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

Affects DocBlocks for the following hooks:

  • get_$taxonomy
  • edit_term_{$field}
  • edit_{$taxonomy}_{$field}
  • pre_term_{$field}
  • pre_{$taxonomy}_{$field}
  • term_{$field}_rss
  • {$taxonomy}_{$field}_rss
  • term_{$field}
  • {$taxonomy}_{$field}
  • delete_$taxonomy
  • create_$taxonomy
  • edit_$taxonomy
  • edited_$taxonomy

See #30552.

File:
1 edited

Legend:

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

    r30622 r30654  
    13401340         * Filter a taxonomy.
    13411341         *
    1342          * The dynamic portion of the filter name, $taxonomy, refers
     1342         * The dynamic portion of the filter name, `$taxonomy`, refers
    13431343         * to the taxonomy slug.
    13441344         *
    … …  
    21912191                 * Filter a term field to edit before it is sanitized.
    21922192                 *
    2193                  * The dynamic portion of the filter name, $field, refers to the term field.
     2193                 * The dynamic portion of the filter name, `$field`, refers to the term field.
    21942194                 *
    21952195                 * @since 2.3.0
    … …  
    22042204                 * Filter the taxonomy field to edit before it is sanitized.
    22052205                 *
    2206                  * The dynamic portions of the filter name, $taxonomy, and $field, refer
     2206                 * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
    22072207                 * to the taxonomy slug and taxonomy field, respectively.
    22082208                 *
    … …  
    22222222                 * Filter a term field value before it is sanitized.
    22232223                 *
    2224                  * The dynamic portion of the filter name, $field, refers to the term field.
     2224                 * The dynamic portion of the filter name, `$field`, refers to the term field.
    22252225                 *
    22262226                 * @since 2.3.0
    … …  
    22342234                 * Filter a taxonomy field before it is sanitized.
    22352235                 *
    2236                  * The dynamic portions of the filter name, $taxonomy, and $field, refer
     2236                 * The dynamic portions of the filter name, `$taxonomy` and `$field`, refer
    22372237                 * to the taxonomy slug and field name, respectively.
    22382238                 *
    … …  
    22612261                 * Filter the term field for use in RSS.
    22622262                 *
    2263                  * The dynamic portion of the filter name, $field, refers to the term field.
     2263                 * The dynamic portion of the filter name, `$field`, refers to the term field.
    22642264                 *
    22652265                 * @since 2.3.0
    … …  
    22732273                 * Filter the taxonomy field for use in RSS.
    22742274                 *
    2275                  * The dynamic portions of the hook name, $taxonomy, and $field, refer
     2275                 * The dynamic portions of the hook name, `$taxonomy`, and $field, refer
    22762276                 * to the taxonomy slug and field name, respectively.
    22772277                 *
    … …  
    22872287                 * Filter the term field sanitized for display.
    22882288                 *
    2289                  * The dynamic portion of the filter name, $field, refers to the term field name.
     2289                 * The dynamic portion of the filter name, `$field`, refers to the term field name.
    22902290                 *
    22912291                 * @since 2.3.0
    … …  
    23012301                 * Filter the taxonomy field sanitized for display.
    23022302                 *
    2303                  * The dynamic portions of the filter name, $taxonomy, and $field, refer
     2303                 * The dynamic portions of the filter name, `$taxonomy`, and $field, refer
    23042304                 * to the taxonomy slug and taxonomy field, respectively.
    23052305                 *
    … …  
    25342534         * Fires after a term in a specific taxonomy is deleted.
    25352535         *
    2536          * The dynamic portion of the hook name, $taxonomy, refers to the specific
     2536         * The dynamic portion of the hook name, `$taxonomy`, refers to the specific
    25372537         * taxonomy the term belonged to.
    25382538         *
    … …  
    25422542         * @param int     $tt_id        Term taxonomy ID.
    25432543         * @param mixed   $deleted_term Copy of the already-deleted term, in the form specified
    2544          *                              by the parent function. WP_Error otherwise.
     2544         *                              by the parent function. {@see WP_Error} otherwise.
    25452545         */
    25462546        do_action( "delete_$taxonomy", $term, $tt_id, $deleted_term );
    … …  
    29262926         * Fires after a new term is created for a specific taxonomy.
    29272927         *
    2928          * The dynamic portion of the hook name, $taxonomy, refers
     2928         * The dynamic portion of the hook name, `$taxonomy`, refers
    29292929         * to the slug of the taxonomy the term was created for.
    29302930         *
    … …  
    34583458         * cache has been cleaned.
    34593459         *
    3460          * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
     3460         * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
    34613461         *
    34623462         * @since 2.3.0
    … …  
    34873487         * cache has been cleaned.
    34883488         *
    3489          * The dynamic portion of the hook name, $taxonomy, refers to the taxonomy slug.
     3489         * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug.
    34903490         *
    34913491         * @since 2.3.0
Note: See TracChangeset for help on using the changeset viewer.