Hellozers!
I had to make a few changes to my website so I downloaded and installed it locally.
I got the blank screen of doom, so I turned on debug mode and followed the parsing error to wp-includes>>users.php
I never messed with these files so I opened up a fresh version of the file and compared. Bellow is a snippet of my file followed by the original code.
I fixed the file only to find my wp-includes folder was peppered with /wordpress.1/wp-includes/
What's going on here? Was I hacked? Did a plug-in alter these files?
function wp_dropdown_users( $args = '' ) {
global $wpdb;
$defaults = array(
'show_option_all'../../wordpress.1/wp-includes/ => '', 'show_option_none'../../wordpress.1/wp-includes/ => '',
'orderby'../../wordpress.1/wp-includes/ => 'display_name', 'order'../../wordpress.1/wp-includes/ => 'ASC',
'include'../../wordpress.1/wp-includes/ => '', 'exclude' => '', 'multi' => 0,
'show' => 'display_name', 'echo' => 1,
'selected' => 0, 'name' => 'user', 'class' => '', 'blog_id' => $GLOBALS['blog_id'],
'id' => '',
);
This is what it should look like:
function wp_dropdown_users( $args = '' ) {
global $wpdb;
$defaults = array(
'show_option_all' => '', 'show_option_none' => '',
'orderby' => 'display_name', 'order' => 'ASC',
'include' => '', 'exclude' => '', 'multi' => 0,
'show' => 'display_name', 'echo' => 1,
'selected' => 0, 'name' => 'user', 'class' => '', 'blog_id' => $GLOBALS['blog_id'],
'id' => '',
);