mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Coding Standards: Remove redundant ignore annotations, take 3.
This removes ignore annotations about invalid function names for deprecated functions. Those are ignored by design in WPCS since version 2.2.0. Follow-up to [45580], [47612], [47927]. Props jrf. See #59161. git-svn-id: https://develop.svn.wordpress.org/trunk@56751 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1092ac0ea7
commit
00ed25e2c9
@ -4008,7 +4008,7 @@ function wp_make_content_images_responsive( $content ) {
|
||||
* @access private
|
||||
* @deprecated 5.5.0
|
||||
*/
|
||||
function wp_unregister_GLOBALS() { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
||||
function wp_unregister_GLOBALS() {
|
||||
// register_globals was deprecated in PHP 5.3 and removed entirely in PHP 5.4.
|
||||
_deprecated_function( __FUNCTION__, '5.5.0' );
|
||||
}
|
||||
|
||||
@ -97,7 +97,7 @@ exit;
|
||||
* @param string $io Whether input or output
|
||||
* @param string $msg Information describing logging reason.
|
||||
*/
|
||||
function logIO( $io, $msg ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
||||
function logIO( $io, $msg ) {
|
||||
_deprecated_function( __FUNCTION__, '3.4.0', 'error_log()' );
|
||||
if ( ! empty( $GLOBALS['xmlrpc_logging'] ) ) {
|
||||
error_log( $io . ' - ' . $msg );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user