WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#10661 closed enhancement (fixed)

'the_author_*' filter should also get the author id

Reported by: scribu Owned by: westi
Milestone: 2.9 Priority: normal
Severity: normal Version: 2.9
Component: Plugins Keywords: has-patch commit
Focuses: Cc:

Description

Besides the content of the field, the user id should also be available when filtering.

Attachments (1)

author-template.patch (794 bytes) - added by scribu 5 years ago.
Adds the user_id to the_author_meta() and get_the_author_meta()

Download all attachments as: .zip

Change History (2)

scribu5 years ago

Adds the user_id to the_author_meta() and get_the_author_meta()

comment:1 westi5 years ago

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

(In [11849]) Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu

Note: See TracTickets for help on using tickets.