Make WordPress Core


Ignore:
Timestamp:
10/18/2011 08:20:59 PM (13 years ago)
Author:
nacin
Message:

new does not require by reference.

File:
1 edited

Legend:

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

    r18932 r18995  
    11621162    foreach ( $taxonomies as $taxonomy ) {
    11631163        if ( ! taxonomy_exists($taxonomy) ) {
    1164             $error = & new WP_Error('invalid_taxonomy', __('Invalid Taxonomy'));
     1164            $error = new WP_Error('invalid_taxonomy', __('Invalid Taxonomy'));
    11651165            return $error;
    11661166        }
Note: See TracChangeset for help on using the changeset viewer.