Make WordPress Core

Changeset 28441


Ignore:
Timestamp:
05/15/2014 07:57:57 PM (9 years ago)
Author:
wonderboymusic
Message:

Eliminate use of extract() in wp_get_object_terms().

There are 3 properties, just set them to variables. They are used too often to warrant a refactor.

See #22400.

File:
1 edited

Legend:

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

    r28423 r28441  
    22302230    }
    22312231
    2232     extract($args, EXTR_SKIP);
     2232    $orderby = $args['orderby'];
     2233    $order = $args['order'];
     2234    $fields = $args['fields'];
    22332235
    22342236    if ( 'count' == $orderby )
Note: See TracChangeset for help on using the changeset viewer.