mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Coding Standards: Fix/ignore the WordPress.NamingConventions.ValidFunctionName violations.
See #47632 git-svn-id: https://develop.svn.wordpress.org/trunk@45580 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2252,7 +2252,7 @@ function force_ssl_content( $force = '' ) {
|
||||
* @param string $url URL
|
||||
* @return string URL with https as the scheme
|
||||
*/
|
||||
function filter_SSL( $url ) {
|
||||
function filter_SSL( $url ) { // phpcs:ignore WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid
|
||||
if ( ! is_string( $url ) ) {
|
||||
return get_bloginfo( 'url' ); // Return home blog url with proper scheme
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user