mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
07d0114307
commit
9300a155ae
@ -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 '';
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user