2002 posts
  • Has referred 50+ members
  • Has sold $500,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+9 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
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

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

by
by
by
by
by
by