Last active
August 26, 2015 15:15
-
-
Save strangerstudios/1a9c74bf2af8ce4945bd to your computer and use it in GitHub Desktop.
Memberlite 2.0.3 XSS Patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//line 305 of inc/extras.php | |
//change: | |
elseif(is_search()) | |
{ | |
?> | |
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'memberlite' ), '<span>' . esc_attr(get_search_query()) . '</span>' ); ?></h1> | |
<?php | |
} | |
//to: | |
elseif(is_search()) | |
{ | |
global $s; | |
?> | |
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'memberlite' ), '<span>' . $s . '</span>' ); ?></h1> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment