Make WordPress Core


Ignore:
Timestamp:
09/08/2015 10:16:57 PM (9 years ago)
Author:
wonderboymusic
Message:

After [33843], update the location of some files in This filter is documented in docs

Props dimadin.
See #33413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy-functions.php

    r33903 r33954  
    815815    wp_cache_add( $term->term_id, $term, $taxonomy );
    816816
    817     /** This filter is documented in wp-includes/taxonomy.php */
     817    /** This filter is documented in wp-includes/taxonomy-functions.php */
    818818    $term = apply_filters( 'get_term', $term, $taxonomy );
    819819
    820     /** This filter is documented in wp-includes/taxonomy.php */
     820    /** This filter is documented in wp-includes/taxonomy-functions.php */
    821821    $term = apply_filters( "get_$taxonomy", $term, $taxonomy );
    822822
     
    13671367        wp_cache_add( $cache_key, array(), 'terms', DAY_IN_SECONDS );
    13681368
    1369         /** This filter is documented in wp-includes/taxonomy.php */
     1369        /** This filter is documented in wp-includes/taxonomy-functions.php */
    13701370        return apply_filters( 'get_terms', array(), $taxonomies, $args );
    13711371    }
     
    23372337        $slug = sanitize_title($slug, $term_id);
    23382338
    2339         /** This action is documented in wp-includes/taxonomy.php */
     2339        /** This action is documented in wp-includes/taxonomy-functions.php */
    23402340        do_action( 'edit_terms', $term_id, $taxonomy );
    23412341        $wpdb->update( $wpdb->terms, compact( 'slug' ), compact( 'term_id' ) );
    23422342
    2343         /** This action is documented in wp-includes/taxonomy.php */
     2343        /** This action is documented in wp-includes/taxonomy-functions.php */
    23442344        do_action( 'edited_terms', $term_id, $taxonomy );
    23452345    }
     
    29772977    do_action( "edit_$taxonomy", $term_id, $tt_id );
    29782978
    2979     /** This filter is documented in wp-includes/taxonomy.php */
     2979    /** This filter is documented in wp-includes/taxonomy-functions.php */
    29802980    $term_id = apply_filters( 'term_id_filter', $term_id, $tt_id );
    29812981
     
    35293529            $count += (int) $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->term_relationships, $wpdb->posts WHERE $wpdb->posts.ID = $wpdb->term_relationships.object_id AND post_status = 'publish' AND post_type IN ('" . implode("', '", $object_types ) . "') AND term_taxonomy_id = %d", $term ) );
    35303530
    3531         /** This action is documented in wp-includes/taxonomy.php */
     3531        /** This action is documented in wp-includes/taxonomy-functions.php */
    35323532        do_action( 'edit_term_taxonomy', $term, $taxonomy->name );
    35333533        $wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) );
    35343534
    3535         /** This action is documented in wp-includes/taxonomy.php */
     3535        /** This action is documented in wp-includes/taxonomy-functions.php */
    35363536        do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
    35373537    }
     
    35563556        $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->term_relationships WHERE term_taxonomy_id = %d", $term ) );
    35573557
    3558         /** This action is documented in wp-includes/taxonomy.php */
     3558        /** This action is documented in wp-includes/taxonomy-functions.php */
    35593559        do_action( 'edit_term_taxonomy', $term, $taxonomy->name );
    35603560        $wpdb->update( $wpdb->term_taxonomy, compact( 'count' ), array( 'term_taxonomy_id' => $term ) );
    35613561
    3562         /** This action is documented in wp-includes/taxonomy.php */
     3562        /** This action is documented in wp-includes/taxonomy-functions.php */
    35633563        do_action( 'edited_term_taxonomy', $term, $taxonomy->name );
    35643564    }
     
    42314231    if ( empty( $object_id ) ) {
    42324232
    4233         /** This filter is documented in wp-includes/taxonomy.php */
     4233        /** This filter is documented in wp-includes/taxonomy-functions.php */
    42344234        return apply_filters( 'get_ancestors', $ancestors, $object_id, $object_type, $resource_type );
    42354235    }
Note: See TracChangeset for help on using the changeset viewer.