`split_shared_term` is an action, not a filter.
See #30335 Built from https://develop.svn.wordpress.org/trunk@30498 git-svn-id: http://core.svn.wordpress.org/trunk@30487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a6fc2d610b
commit
196e069c5b
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php
|
||||
/**
|
||||
* Sets up the default filters and actions for most
|
||||
* of the WordPress hooks.
|
||||
|
@ -307,7 +307,7 @@ add_filter( 'determine_current_user', 'wp_validate_auth_cookie' );
|
|||
add_filter( 'determine_current_user', 'wp_validate_logged_in_cookie', 20 );
|
||||
|
||||
// Split term updates
|
||||
add_filter( 'split_shared_term', '_wp_check_split_default_terms', 10, 4 );
|
||||
add_filter( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
|
||||
add_action( 'split_shared_term', '_wp_check_split_default_terms', 10, 4 );
|
||||
add_action( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
|
||||
|
||||
unset($filter, $action);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30497';
|
||||
$wp_version = '4.1-beta2-30498';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue