[wp-trac] Re: [WordPress Trac] #3794: Generate post_title based on
post_content
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 17 01:37:36 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 majelbstoat):
In fact, the filter already exists: 'title_save_pre'. Maybe we could just
add a second parameter to that which contains an array of the post data -
category, content, author, id etc.
Then plugins can autogenerate titles flexibly such as "Jamie's Post 1" or
'Michael on [Aeroplanes, Boeing]".
Less restrictive, off by default and able to do what you're asking for as
well...
--
Ticket URL: <http://trac.wordpress.org/ticket/3794#comment:16>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list