mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Docs: Promote many bool types to true or false where only that value is used.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49927 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -487,7 +487,7 @@ function register_taxonomy( $taxonomy, $object_type, $args = array() ) {
|
||||
* @global array $wp_taxonomies List of taxonomies.
|
||||
*
|
||||
* @param string $taxonomy Taxonomy name.
|
||||
* @return bool|WP_Error True on success, WP_Error on failure or if the taxonomy doesn't exist.
|
||||
* @return true|WP_Error True on success, WP_Error on failure or if the taxonomy doesn't exist.
|
||||
*/
|
||||
function unregister_taxonomy( $taxonomy ) {
|
||||
if ( ! taxonomy_exists( $taxonomy ) ) {
|
||||
|
||||
Reference in New Issue
Block a user