WordPress.org

Make WordPress Core

Ticket #13318: 13318.2.diff

File 13318.2.diff, 1.4 KB (added by mfields, 3 years ago)

Adds aposthrophe to docs in 13318.2

  • wp-includes/taxonomy.php

     
    11291129 * The 'parent' argument is different from 'child_of' in that a term X is considered a 'parent' 
    11301130 * of term Y only if term X is the father of term Y, not its grandfather or great-grandfather, etc. 
    11311131 * 
     1132 * The 'cache_domain' argument enables a unique cache key to be produced when this query is stored 
     1133 * in object cache. For instance, if you are using one of this function's filters to modify the  
     1134 * query (such as 'terms_clauses'), setting 'cache_domain' to a unique value will not overwrite 
     1135 * the cache for similar queries. Default value is 'core'. 
     1136 * 
    11321137 * @package WordPress 
    11331138 * @subpackage Taxonomy 
    11341139 * @since 2.3.0 
     
    11611166                'hide_empty' => true, 'exclude' => array(), 'exclude_tree' => array(), 'include' => array(), 
    11621167                'number' => '', 'fields' => 'all', 'slug' => '', 'parent' => '', 
    11631168                'hierarchical' => true, 'child_of' => 0, 'get' => '', 'name__like' => '', 
    1164                 'pad_counts' => false, 'offset' => '', 'search' => ''); 
     1169                'pad_counts' => false, 'offset' => '', 'search' => '', 'cache_domain' => 'core' ); 
    11651170        $args = wp_parse_args( $args, $defaults ); 
    11661171        $args['number'] = absint( $args['number'] ); 
    11671172        $args['offset'] = absint( $args['offset'] );