Mukesh Kumar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: My site www.bloggin.gs are Hacked via use this php fileChecking all post on above list…. but not working….
Forum: Fixing WordPress
In reply to: My site www.bloggin.gs are Hacked via use this php fileHello esmi my Thesis also hacked theme. modify my theme but modification are not work…. help me…. Esmi
in
/wp-includes/query.phpchange this// Always sanitize foreach ( $this->posts as $i => $post ) { $this->posts[$i] = sanitize_post( $post, 'raw' ); }to
// Sanitize before caching so it'll only get done once for ( $i = 0; $i < $this->post_count; $i++ ) { $this->posts[$i] = sanitize_post($this->posts[$i], 'raw'); }// Always sanitize foreach ( $this->posts as $i => $post ) { $this->posts[$i] = sanitize_post( $post, 'raw' ); }to
// Sanitize before caching so it'll only get done once for ( $i = 0; $i < $this->post_count; $i++ ) { $this->posts[$i] = sanitize_post($this->posts[$i], 'raw'); }in /wp-includes/query.php change this
/`/ Always sanitize
foreach ( $this->posts as $i => $post ) {
$this->posts[$i] = sanitize_post( $post, ‘raw’ );
}`
to
/`/ Sanitize before caching so it’ll only get done once
for ( $i = 0; $i < $this->post_count; $i++ ) {
$this->posts[$i] = sanitize_post($this->posts[$i], ‘raw’);
}`
Poor hack I know!Thanks Henri its… working….
Also i am see on firebox and enternet explore
XML Parsing Error: junk after document element
Location: http://mukesh.co/sitemap.xml
Line Number 2, Column 1:<b>Warning</b>: Invalid argument supplied for foreach() in <b>/home/mukeshco/public_html/wp-includes/query.php</b> on line <b>2746</b>
^