WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 7 years ago

#2044 closed defect (bug) (fixed)

is_author does not work with "$author" argument

Reported by: Kafkaesqui Owned by: anonymous
Priority: normal Milestone:
Component: Administration Version: 2.0
Severity: normal Keywords: is_author
Cc:

Description

Any value provided to $author argument for is_author() returns false in all cases (that is, even when it should return true). I suspect the problem lies in the get_queried_object() function called through $wp_query.

Change History (2)

comment:1 ryan8 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [3290]) Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044

comment:2 anonymous7 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.