[Plugin: I Make Plugins] Shortcode does not reset loop
-
Thanks for a very useful plugin.
Please add at line 374 (just before the shortcode_implist() return)
wp_reset_postdata();
Currently the plugin does not reset the query after getting the list of plugins. As a result, any comments left on the page where I put the plugin list shortcode go to the page for the last plugin listed.
Resetting the postdata will return the loop to the current page and comments will find their way to the right post.
I added the reset at line 210 (in update_plugins()) as well, just to be sure.
thanks,
Keith
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: I Make Plugins] Shortcode does not reset loop’ is closed to new replies.