WordPress.org

Make WordPress Core

Changeset 19740


Ignore:
Timestamp:
01/23/12 19:32:39 (2 years ago)
Author:
nacin
Message:

Args is an object, not an array. props duck_, aaroncampbell. see #19275.

File:
1 edited

Legend:

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

    r19738 r19740  
    10001000            $args->rewrite['feeds'] = (bool) $args->has_archive; 
    10011001        if ( ! isset( $args->rewrite['ep_mask'] ) ) { 
    1002             if ( isset( $args['permalink_epmask'] ) ) 
    1003                 $args->rewrite['ep_mask'] = $args['permalink_epmask']; 
     1002            if ( isset( $args->permalink_epmask ) ) 
     1003                $args->rewrite['ep_mask'] = $args->permalink_epmask; 
    10041004            else 
    10051005                $args->rewrite['ep_mask'] = EP_PERMALINK; 
Note: See TracChangeset for help on using the changeset viewer.