- fixed Forums issue on upgrade;

This commit is contained in:
nikitozzzzzzz
2018-06-01 14:14:16 +03:00
parent 485cfd7632
commit 67bb74fc7d
@@ -136,6 +136,8 @@ function um_upgrade_cpt20beta1() {
function um_upgrade_get_forums20beta1() {
um_maybe_unset_time_limit();
remove_all_actions( 'pre_get_posts' );
$bb_forums = get_posts( array(
'post_type' => 'forum',
'numberposts' => -1,