2054 posts
  • Affiliate Level 3
  • Author Level 11
  • Collector Level 2
  • Elite Author
+11 more
bitfade
says

working on phase 2, after a 1h long wtfing session, i dug into post.php code and discovered the following so i thought it may be good to share:

say you use “save_post” hook in your plugin but you notice the action isn’t fired sometimes when saving a page, this could be the reason:

http://core.trac.wordpress.org/ticket/25334

workaround (for me) until next update was to also use pre_post_update which fires earlier (but only if it’s an update)

3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

good guy bf, always reporting on duty. :)
10x for the notice

by
by
by
by
by
by