mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user