[wp-trac] [WordPress Trac] #15847: Add filter in wp_insert_attachment for $data

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 17 12:11:13 UTC 2010

#15847: Add filter in wp_insert_attachment for $data
 Reporter:  pampfelimetten  |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Future Release
Component:  Plugins         |     Version:  3.0.3
 Severity:  normal          |  Resolution:
 Keywords:                  |

Comment (by westi):

 Replying to [comment:5 pampfelimetten]:
 > @westi: Well, as my main goal is to modify the generated slug, a filter
 in the function wp_unique_post_slug (wp-includes/post.php) would probably
 be the best solution, but I'm not sure where the right place to put it
 would be.

 3.1 has 3 filters for this :-)


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

More information about the wp-trac mailing list