WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#1531 closed defect (bug) (fixed)

the_author filter not implemented

Reported by: McShelby Owned by: markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.5.2
Component: Template Keywords: filters the_author bg|commit bg|has-patch
Focuses: Cc:

Description

A filter for the_author isn't implemented. By this it is impossible to create valid RSS feeds for me because my user name contains a german umlaut and is obviously stored "as is" in the database. It's neither encoded by e.g ö nor by ö

Nevertheless the file default-filters.php also thinks such a filter is implemented cause in line 83 it tries to set this filter to

add_filter('the_author', 'ent2ncr', 8);

which would exactly do what I want to. There also may be other template tags which may have the same problem as the_author.

Attachments (1)

template-functions-author.php2.diff (519 bytes) - added by markjaquith 10 years ago.
Patch for WP 1.6 SVN

Download all attachments as: .zip

Change History (5)

comment:1 @markjaquith10 years ago

  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

McShelby,
try the patch I uploaded. it adds "the_author" filter to get_the_author()

Let me know if it breaks anything else.

@markjaquith10 years ago

Patch for WP 1.6 SVN

comment:2 @markjaquith10 years ago

  • Keywords bg|commit bg|has-patch added
  • Version changed from 1.5.1.2 to 1.5.2

comment:3 @ryan10 years ago

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

(In [2858]) Add the_author filter. Props markjaquith. fixes #1531

comment:4 @anonymous8 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.