Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 504799

Infinite Loop Case

$
0
0

Replies: 0

Hi

The Post Type Switcher plug in, together with a very old plugin https://wordpress.org/plugins/bbpress-post-topics/ caused an infinite loop and saved thousands of posts. This was in V1.7 and V3.0

refering to https://codex.wordpress.org/Plugin_API/Action_Reference/save_post the section Avoiding infinite loops: In V1.7 I could fix the problem by flanking the set_post_type() in function save_post( $post_id, $post ) with the remove_action() and add_action()

I note V3.0 does not have this function so I do not know were to fix.

This is a serious bug


Viewing all articles
Browse latest Browse all 504799

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>