mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1908,7 +1908,7 @@ class WP_Query {
|
||||
foreach ($intersections as $item => $taxonomy) {
|
||||
if ( empty($q[$item]) ) continue;
|
||||
if ( in_array($item, $tagin) && empty($q['cat']) ) continue; // We should already have what we need if categories aren't being used
|
||||
|
||||
|
||||
if ( $item != 'category__and' ) {
|
||||
$reqtag = is_term( $q[$item][0], 'post_tag' );
|
||||
if ( !empty($reqtag) )
|
||||
@@ -2662,7 +2662,7 @@ function setup_postdata($post) {
|
||||
global $id, $authordata, $day, $currentmonth, $page, $pages, $multipage, $more, $numpages;
|
||||
|
||||
do_action_ref_array('the_post', array(&$post));
|
||||
|
||||
|
||||
$id = (int) $post->ID;
|
||||
|
||||
$authordata = get_userdata($post->post_author);
|
||||
|
||||
Reference in New Issue
Block a user