mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
- code formatting;
This commit is contained in:
@@ -94,8 +94,13 @@ if ( ! class_exists( 'um\core\Query' ) ) {
|
||||
return 'reached_maximum_limit';
|
||||
}
|
||||
|
||||
|
||||
$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