Make WordPress Core

Changeset 30498


Ignore:
Timestamp:
11/21/2014 03:50:15 AM (10 years ago)
Author:
johnbillion
Message:

split_shared_term is an action, not a filter.

See #30335

File:
1 edited

Legend:

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

    r30494 r30498  
    1 <?php
     1    <?php
    22/**
    33 * Sets up the default filters and actions for most
     
    308308
    309309// Split term updates
    310 add_filter( 'split_shared_term', '_wp_check_split_default_terms',  10, 4 );
    311 add_filter( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
     310add_action( 'split_shared_term', '_wp_check_split_default_terms',  10, 4 );
     311add_action( 'split_shared_term', '_wp_check_split_terms_in_menus', 10, 4 );
    312312
    313313unset($filter, $action);
Note: See TracChangeset for help on using the changeset viewer.