[Bb-trac] [bbPress] #1015: get_post_author should be filtered in
all cases
bbPress
bb-trac at lists.bbpress.org
Sun Dec 21 00:03:14 GMT 2008
#1015: get_post_author should be filtered in all cases
----------------------+-----------------------------------------------------
Reporter: _ck_ | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.0-beta & XML-RPC
Component: Back-end | Version: 0.9
Severity: normal | Keywords:
----------------------+-----------------------------------------------------
See how `function post_author_title` filters the result even if it the
answer is "unregistered"?
Well function get_post_author returns "Anonymous" without any filter. It's
literally impossible to intercept unless you try to trick
get_post_author_id which breaks everything else.
There are some really annoying inconsistencies in how bbpress does it's
filters and how many don't have any filters.
I'd like to suggest that EVERY template function passes it's results
through a filter. The required workarounds are insane.
--
Ticket URL: <http://trac.bbpress.org/ticket/1015>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list