Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2044 closed defect (bug) (fixed)

is_author does not work with "$author" argument

Reported by: kafkaesqui's profile Kafkaesqui Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Administration Keywords: is_author
Focuses: 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)

#1 @ryan
20 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

#2 @(none)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.