Pass taxonomy name, not object, to 'edit_term_taxonomy' and 'edited_term_taxonomy' actions.
These actions are fired in a number of different places, and in some cases the tax name is passed, while in others the taxonomy object is passed. This inconsistency made it difficult for plugins to use the `$taxonomy` value. Props ipm-frommen. Fixes #30999. Built from https://develop.svn.wordpress.org/trunk@31525 git-svn-id: http://core.svn.wordpress.org/trunk@31506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31524';
|
||||
$wp_version = '4.2-alpha-31525';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
||||
Reference in New Issue
Block a user