mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -951,7 +951,7 @@ function wp_kses_bad_protocol_once2($matches) {
|
||||
global $_kses_allowed_protocols;
|
||||
|
||||
if ( is_array($matches) ) {
|
||||
if ( ! isset($matches[1]) || empty($matches[1]) )
|
||||
if ( empty($matches[1]) )
|
||||
return '';
|
||||
|
||||
$string = $matches[1];
|
||||
|
||||
Reference in New Issue
Block a user