Coding Standards: Rename the $oSelf variable in WP_MatchesMapRegex::apply().
This resolves a WPCS warning:
{{{
Variable "$oSelf" is not in valid snake_case format, try "$o_self"
}}}
Follow-up to [11853], [38376].
See #59650.
Built from https://develop.svn.wordpress.org/trunk@57538
git-svn-id: http://core.svn.wordpress.org/trunk@57039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -63,8 +63,8 @@ class WP_MatchesMapRegex {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function apply( $subject, $matches ) {
|
public static function apply( $subject, $matches ) {
|
||||||
$oSelf = new WP_MatchesMapRegex( $subject, $matches );
|
$result = new WP_MatchesMapRegex( $subject, $matches );
|
||||||
return $oSelf->output;
|
return $result->output;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.5-alpha-57537';
|
$wp_version = '6.5-alpha-57538';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|||||||
Reference in New Issue
Block a user