mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
Merge remote-tracking branch 'remotes/origin/fix_helpscout#28269'
This commit is contained in:
@@ -95,7 +95,7 @@ if ( ! class_exists( 'um\core\Query' ) ) {
|
||||
}
|
||||
|
||||
|
||||
$pages = $wpdb->get_results('SELECT * FROM '.$wpdb->posts.' WHERE post_type = "page" AND post_status = "publish" ', OBJECT);
|
||||
$pages = $wpdb->get_results("SELECT * FROM ".$wpdb->posts." WHERE post_type = 'page' AND post_status = 'publish' ", OBJECT);
|
||||
|
||||
$array = array();
|
||||
if( $wpdb->num_rows > 0 ){
|
||||
|
||||
Reference in New Issue
Block a user