function prepare_query() {
global $wpdb;
$this->first_user = ($this->page - 1) * $this->users_per_page;
$this->query_limit = $wpdb->prepare(" LIMIT %d, %d", $this->first_user, $this->users_per_page);
$this->query_orderby = ' ORDER BY user_login';
$search_sql = '';
if ( $this->search_term ) {
$searches = array();
$search_sql = 'AND (';
foreach ( array('user_login', 'user_nicename', 'user_email', 'user_url', 'display_name') as $col )
$searches[] = $wpdb->prepare( $col . ' LIKE %s', '%' . like_escape($this->search_term) . '%' );
$search_sql .= implode(' OR ', $searches);
$search_sql .= ')';
}
$this->query_from = " FROM $wpdb->users";
$this->query_where = " WHERE 1=1 $search_sql";
if ( $this->role ) {
$this->query_from .= " INNER JOIN $wpdb->usermeta ON $wpdb->users.ID = $wpdb->usermeta.user_id";
Statistics: Posted by Jason Caldwell — February 6th, 2012, 2:33 pm
Statistics: Posted by boldplans — January 29th, 2012, 5:41 pm
[Sun Jan 29 08:05:53 2012] [error] [client 1.1.1.123] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/mysite/public_html/wp-includes/meta.php on line 570, referer: http://www.mysite.com/wp-admin/admin.php?page=ws-plugin--s2member-gen-ops
[Sun Jan 29 08:03:20 2012] [error] [client 1.1.1.123] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/mysite/public_html/wp-content/plugins/s2member/includes/classes/user-securities.inc.php(68) : eval()'d code on line 1, referer: http://www.mysite.com/wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s=
[Sun Jan 29 08:28:36 2012] [error] [client 1.1.1.123] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/mysite/public_html/wp-includes/wp-db.php on line 1383, referer: http://www.mysite.com/wp-admin/network/admin.php?page=ws-plugin--s2member-info
[Sun Jan 29 08:25:49 2012] [error] [client 1.1.1.123] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/mysite/public_html/wp-includes/capabilities.php on line 566, referer: http://www.mysite.com/wp-admin/network/admin.php?page=ws-plugin--s2member-mms-ops
[Sun Jan 29 08:18:10 2012] [error] [client 1.1.1.123] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/mysite/public_html/wp-content/plugins/s2member/includes/classes/user-securities.inc.php(68) : eval()'d code on line 1, referer: http://www.mysite.com/wp-admin/network/admin.php?page=ws-plugin--s2member-mms-ops
Statistics: Posted by boldplans — January 29th, 2012, 8:03 am
Statistics: Posted by boldplans — January 26th, 2012, 5:51 am
Statistics: Posted by Cristián Lávaque — January 26th, 2012, 4:36 am
Statistics: Posted by Cristián Lávaque — January 26th, 2012, 4:34 am
Statistics: Posted by boldplans — January 23rd, 2012, 7:41 pm