wp-admin throwing 500 errors after update to 4.2.1

based on https://wordpress.org/support/topic/wp-admin-returning-500-errors-after-update-to-421, seems like it was related to the conversions of tables to utf8mb format done in 4.2 which timeout when there are many comment. Possible solutions: make the DB upgrade on some staging server in which all timeouts are off, or increase the timeout on the production server until it works.

Creating Admin Plugin – Content of a page is displayed at global scope as well

Question #1 – The above code will output 23123 twice, when visiting plugin page and when not. How do I make it print the content of my page only when page is the current screen? Basically: http://localhost/wp-admin/admin.php?page=camden-vmtool When you initialize the class, you are hooking the pageInit() method into a hook that fires on all … Read more

WP admin user search doesn’t return all users

I don’t believe you are doing anything wrong, I think it is the way the get_users function works https://codex.wordpress.org/Function_Reference/get_users… search – Use this argument to search users by email address, URL, ID, username or display_name. Perhaps the phrases you are searching with do not match any of the above as it needs to be a … Read more

wp-admin 302 redirects

I think you want to force everything to go over https, is that right? If so I’d remove your rewrite rule, make sure that that allows you to access admin (over http) and then use the WordPress HTTPS (SSL) plugin instead. It allows you to configure how SSL is used by WordPress, and I think … Read more