WordPress.org

Make WordPress Core

Changeset 39675


Ignore:
Timestamp:
01/04/2017 01:38:10 PM (17 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct @since and @access tags for WP_Term_Query::get_terms() and WP_Term_Query::parse_orderby_meta().

Props keesiemeijer.
Fixes #39467.

File:
1 edited

Legend:

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

    r39625 r39675  
    295295     * Get terms, based on query_vars.
    296296     *
    297      * @param 4.6.0
     297     * @since 4.6.0
    298298     * @access public
    299299     *
    300300     * @global wpdb $wpdb WordPress database abstraction object.
    301301     *
    302      * @return array
     302     * @return array List of terms.
    303303     */
    304304    public function get_terms() {
     
    871871     *
    872872     * @since 4.6.0
    873      * @access public
     873     * @access protected
    874874     *
    875875     * @param string $orderby_raw Raw 'orderby' value passed to WP_Term_Query.
    876      * @return string
     876     * @return string ORDER BY clause.
    877877     */
    878878    protected function parse_orderby_meta( $orderby_raw ) {
Note: See TracChangeset for help on using the changeset viewer.