Coding Standards: Use strict comparison in privacy_ping_filter().

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

Props aristath, poena, afercia, SergeyBiryukov.
See #62279.

git-svn-id: https://develop.svn.wordpress.org/trunk@59887 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2025-02-28 11:25:15 +00:00
parent e7ce9bbfbf
commit 46399d6eb3

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.
*/
function privacy_ping_filter( $sites ) {
if ( '0' != get_option( 'blog_public' ) ) {
if ( '0' !== get_option( 'blog_public' ) ) {
return $sites;
} else {
return '';