WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #20867, comment 3


Ignore:
Timestamp:
06/09/12 01:10:10 (3 years ago)
Author:
arieputranto
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20867, comment 3

    v1 v2  
    11It happened when the post_format archive is being loaded e.g.: http://localhost/type/media 
    22 
    3 I fixed mine by adding a line on line: 65 of wp-includes/template.php, since  
     3I fixed mine by adding a line on line: 65 of wp-includes/template.php: 
     4 
     5{{{ 
     6$post_type = $post_type[0]; 
     7}}} 
    48 
    59$wp_query->query['post_format'] and $wp_query->query_vars['post_format'] 
     
    711are indeed an array.  
    812 
    9 {{{ 
    10 $post_type = $post_type[0]; 
    11 }}}