[wp-trac] [WordPress Trac] #14323: Quick Edit stores filtering of title to database

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 16 13:50:41 UTC 2010

#14323: Quick Edit stores filtering of title to database
 Reporter:  kingjeffrey      |       Owner:  filosofo 
     Type:  defect (bug)     |      Status:  accepted 
 Priority:  normal           |   Milestone:  3.1      
Component:  Quick/Bulk Edit  |     Version:  3.0      
 Severity:  normal           |    Keywords:  has-patch

Comment(by scribu):

 Replying to [comment:5 filosofo]:
 > Replying to [comment:2 scribu]:
 > > The root cause is that 'the_title' filter is applied in
 get_the_title(), when it should logically be applied in the_title().
 > Could you elaborate on why you think that would be more logical?
 `the_title()` basically just prints `get_the_title()` with optional
 prepended and appended text, so I don't see why it would need its own

 Because it would be consistent with a lot of other template tags like
 the_content() & get_the_content(), the_excerpt() & get_the_excerpt() etc.

 That said, your patch is the best solution in this case.

Ticket URL: <http://core.trac.wordpress.org/ticket/14323#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list