[wp-trac] [WordPress Trac] #16688: Inconsistent 'the_title' filter
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 27 14:49:57 UTC 2011
#16688: Inconsistent 'the_title' filter
--------------------------+-----------------------------
Reporter: jfarthing84 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Keywords: dev-feedback
--------------------------+-----------------------------
In most places, 'the_title' filter passes two arguments, the title being
filtered and the post ID. This is the desirable situation.
However, there are a few places in core code that do not pass the second
argument while utilizing 'the_title' filter. This inconsistency is causing
notices from my plugin because it expects the second argument in a
callback attached to the filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16688>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list