WordPress.org

WordPress build repository browser

Changeset 40750


Ignore:
Timestamp:
06/13/17 03:11:40 (2 months ago)
Author:
DrewAPicture
Message:

Docs: Include 'parent' as an acceptable entry for the $orderby argument in WP_Term_Query.

h/t kalor.
See #41017.

Built from https://develop.svn.wordpress.org/trunk@40900

Location:
trunk/wp-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-term-query.php

    r40200 r40750  
    105105     *                                                limited to terms associated with these objects. 
    106106     *     @type string       $orderby                Field(s) to order terms by. Accepts term fields ('name', 
    107      *                                                'slug', 'term_group', 'term_id', 'id', 'description'), 
     107     *                                                'slug', 'term_group', 'term_id', 'id', 'description', 'parent'), 
    108108     *                                                'count' for term taxonomy count, 'include' to match the 
    109109     *                                                'order' of the $include param, 'meta_value', 'meta_value_num', 
  • trunk/wp-includes/version.php

    r40749 r40750  
    55 * @global string $wp_version 
    66 */ 
    7 $wp_version = '4.9-alpha-40899'; 
     7$wp_version = '4.9-alpha-40900'; 
    88 
    99/** 
Note: See TracChangeset for help on using the changeset viewer.