mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Docs: Add a note to the register_taxonomy()
DocBlock that the object types defined in $object_type
when modifying an already-registered taxonomy will be overwritten.
Props danielbachhuber and BjornW for the initial patches. Fixes #34413. Built from https://develop.svn.wordpress.org/trunk@41280 git-svn-id: http://core.svn.wordpress.org/trunk@41120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc15cff6f4
commit
abf8e91521
@ -284,10 +284,10 @@ function is_taxonomy_hierarchical($taxonomy) {
|
||||
*
|
||||
* Note: Do not use before the {@see 'init'} hook.
|
||||
*
|
||||
* A simple function for creating or modifying a taxonomy object based on the
|
||||
* parameters given. The function will accept an array (third optional
|
||||
* parameter), along with strings for the taxonomy name and another string for
|
||||
* the object type.
|
||||
* A simple function for creating or modifying a taxonomy object based on
|
||||
* the parameters given. If modifying an existing taxonomy object, note
|
||||
* that the `$object_type` value from the original registration will be
|
||||
* overwritten.
|
||||
*
|
||||
* @since 2.3.0
|
||||
* @since 4.2.0 Introduced `show_in_quick_edit` argument.
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.9-alpha-41279';
|
||||
$wp_version = '4.9-alpha-41280';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user