mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-19 22:54:03 +09:00
- sanitizing variables in wp-admin classes;
This commit is contained in:
@@ -181,13 +181,6 @@ function um_upgrade_update_forum_per_page20beta1() {
|
||||
|
||||
$roles_associations = get_option( 'um_roles_associations' );
|
||||
|
||||
/*$bb_forums = get_posts( array(
|
||||
'post_type' => 'forum',
|
||||
'paged' => $_POST['page'],
|
||||
'numberposts' => $posts_per_page,
|
||||
'fields' => 'ids'
|
||||
) );*/
|
||||
|
||||
$p_query = new WP_Query;
|
||||
$bb_forums = $p_query->query( array(
|
||||
'post_type' => 'forum',
|
||||
@@ -254,13 +247,6 @@ function um_upgrade_update_products_per_page20beta1() {
|
||||
|
||||
$roles_associations = get_option( 'um_roles_associations' );
|
||||
|
||||
/*$wc_products = get_posts( array(
|
||||
'post_type' => 'product',
|
||||
'numberposts' => $posts_per_page,
|
||||
'paged' => $_POST['page'],
|
||||
'fields' => 'ids'
|
||||
) );*/
|
||||
|
||||
$p_query = new WP_Query;
|
||||
$wc_products = $p_query->query( array(
|
||||
'post_type' => 'product',
|
||||
|
||||
Reference in New Issue
Block a user