Avoid E_STRICT notices. see #18975

git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2011-10-31 19:38:46 +00:00
parent a5c6da9a2e
commit 4399cf7610
5 changed files with 21 additions and 15 deletions
+1 -1
View File
@@ -572,7 +572,7 @@ class WP_MatchesMapRegex {
* @param array $matches data used for substitution
* @return string
*/
function apply($subject, $matches) {
public static function apply($subject, $matches) {
$oSelf = new WP_MatchesMapRegex($subject, $matches);
return $oSelf->output;
}