Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#1531 closed defect (bug) (fixed)

the_author filter not implemented

Reported by: mcshelby's profile McShelby Owned by: markjaquith's profile 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 20 years ago.
Patch for WP 1.6 SVN

Download all attachments as: .zip

Change History (5)

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

@markjaquith
20 years ago

Patch for WP 1.6 SVN

#2 @markjaquith
20 years ago

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

#3 @ryan
20 years ago

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

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

#4 @(none)
19 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.