fixed bug for wpforo shortcodes.
This commit is contained in:
parent
ae9bfbe051
commit
459535c906
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
|||||||
*.bak
|
*.bak
|
||||||
.idea/
|
.idea/
|
||||||
.php_cs.cache
|
.php_cs.cache
|
||||||
|
.php-cs-fixer.cache
|
||||||
|
@ -301,6 +301,7 @@ function cbsonline_wpforo_after_init_current_object($current_object, $wpf_url_pa
|
|||||||
];
|
];
|
||||||
$current_object['topics'] = cbsonline_wpforo_topic_get_topics($args, $current_object['items_count']);
|
$current_object['topics'] = cbsonline_wpforo_topic_get_topics($args, $current_object['items_count']);
|
||||||
}
|
}
|
||||||
|
$current_object['categories'] = [$forum];
|
||||||
} else {
|
} else {
|
||||||
$current_object['is_404'] = true;
|
$current_object['is_404'] = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user