WordPress.org

Make WordPress Core

Ticket #12535: query.php.diff

File query.php.diff, 552 bytes (added by jfarthing84, 8 years ago)
  • query.php

     
    26322632
    26332633                $this->queried_object = NULL;
    26342634                $this->queried_object_id = 0;
     2635               
     2636                do_action_ref_array('get_queried_object', array(&$this));
    26352637
    26362638                if ( $this->is_category ) {
    26372639                        $cat = $this->get('cat');
     
    26722674                        $this->queried_object_id = $author_id;
    26732675                }
    26742676
    2675                 return $this->queried_object;
     2677                return apply_filters('queried_object', $this->queried_object);
    26762678        }
    26772679
    26782680        /**