[wp-trac] Re: [WordPress Trac] #3794: Generate post_title based on post_content

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 16 09:30:18 GMT 2007


#3794: Generate post_title based on post_content
--------------------------+-------------------------------------------------
 Reporter:  Justinsomnia  |        Owner:  markjaquith
     Type:  enhancement   |       Status:  assigned   
 Priority:  normal        |    Milestone:  2.2        
Component:  General       |      Version:  2.1        
 Severity:  normal        |   Resolution:             
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Comment (by Otto42):

 Replying to [comment:6 markjaquith]:
 > I think a good way of allowing people to disable this is via a filter on
 the auto-generated title.  That way they can just add a filter that
 returns a blank string and it will revert to the old behavior.  Filters
 cost us a lot less than an option.

 A better idea would be to put a filter on the title. If you then want to
 run this function as a filter, you can. But having it do this and then
 having to make me make a filter to put it back to the correct behavior is
 silly. At most I should have to do a "remove_filter" and nothing else. I
 would prefer that active action have to be taken in the first place.

 There is nothing inherently wrong with blank titles. They have uses. Don't
 eliminate them as an option, especially when this whole thing could
 (should) be a plugin in the first place.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3794#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list