Coding Standards: Use strict comparison in privacy_ping_filter().

Follow-up to [3548], [3885].

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.
Built from https://develop.svn.wordpress.org/trunk@59887


git-svn-id: http://core.svn.wordpress.org/trunk@59229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2025-02-28 11:27:20 +00:00
parent 07d0114307
commit 9300a155ae
2 changed files with 2 additions and 2 deletions

View File

@ -3207,7 +3207,7 @@ function pingback( $content, $post ) {
* @return mixed Empty string if blog is not public, returns $sites, if site is public. * @return mixed Empty string if blog is not public, returns $sites, if site is public.
*/ */
function privacy_ping_filter( $sites ) { function privacy_ping_filter( $sites ) {
if ( '0' != get_option( 'blog_public' ) ) { if ( '0' !== get_option( 'blog_public' ) ) {
return $sites; return $sites;
} else { } else {
return ''; return '';

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.8-alpha-59886'; $wp_version = '6.8-alpha-59887';
/** /**
* 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.