[wp-trac] [WordPress Trac] #17276: custom post type problems needs addressed

WordPress Trac wp-trac at lists.automattic.com
Sun May 1 13:34:23 UTC 2011


#17276: custom post type problems needs addressed
-------------------------+------------------------------
 Reporter:  squeeky      |       Owner:  squeeky
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Taxonomy     |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------

Comment (by scribu):

 Yes, register_post_type() is called on every page load.

 wp_delete_post() and _save_post_hook() are only called when a post is
 deleted or saved. Makes sense?

 Just add an {{{echo "calling __FUNCTION__\n";}}} inside flush_rules() to
 see for yourself.

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


More information about the wp-trac mailing list