Unusual code found in wp-includes files: /wordpress.1/wp-includes/
-
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' => '', );
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Unusual code found in wp-includes files: /wordpress.1/wp-includes/’ is closed to new replies.