Make WordPress Core

Changeset 36961


Ignore:
Timestamp:
03/10/2016 10:01:43 PM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Improve the summary and return description in the DocBlock for unregister_taxonomy(), introduced in [36243].

See #35227. See #35986.

File:
1 edited

Legend:

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

    r36896 r36961  
    492492
    493493/**
    494  * Unregister a taxonomy.
     494 * Unregisters a taxonomy.
    495495 *
    496496 * Can not be used to unregister built-in taxonomies.
     
    502502 *
    503503 * @param string $taxonomy Taxonomy name.
    504  * @return bool|WP_Error True on success, WP_Error on failure.
     504 * @return bool|WP_Error True on success, WP_Error on failure or if the taxonomy doesn't exist.
    505505 */
    506506function unregister_taxonomy( $taxonomy ) {
Note: See TracChangeset for help on using the changeset viewer.