mirror of
git://develop.git.wordpress.org/
synced 2025-03-23 05:20:01 +01:00
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:
parent
e7ce9bbfbf
commit
46399d6eb3
@ -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 '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user