[wp-trac] [WordPress Trac] #10810: Addition of: can_delete_(post|user|...) filters

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 18 23:28:59 UTC 2009


#10810: Addition of: can_delete_(post|user|...) filters
-------------------------+--------------------------------------------------
 Reporter:  5ubliminal   |       Owner:  westi
     Type:  enhancement  |      Status:  new  
 Priority:  high         |   Milestone:  2.9  
Component:  Plugins      |     Version:  2.8.4
 Severity:  normal       |    Keywords:       
-------------------------+--------------------------------------------------

Comment(by 5ubliminal):

 Filters should be in the core. The attached plugin parses all .php files
 in WP and adds the can_delete_* wherever it finds delete_*. I attached it
 just as a demo of what you should do ... the best way to explain is by
 example.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10810#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list