mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -597,7 +597,7 @@ function wp_kses_hair($attr, $allowed_protocols) {
|
||||
# "value"
|
||||
{
|
||||
$thisval = $match[1];
|
||||
if ( in_array($attrname, $uris) )
|
||||
if ( in_array($attrname, $uris) )
|
||||
$thisval = wp_kses_bad_protocol($thisval, $allowed_protocols);
|
||||
|
||||
if(FALSE === array_key_exists($attrname, $attrarr)) {
|
||||
@@ -613,7 +613,7 @@ function wp_kses_hair($attr, $allowed_protocols) {
|
||||
# 'value'
|
||||
{
|
||||
$thisval = $match[1];
|
||||
if ( in_array($attrname, $uris) )
|
||||
if ( in_array($attrname, $uris) )
|
||||
$thisval = wp_kses_bad_protocol($thisval, $allowed_protocols);
|
||||
|
||||
if(FALSE === array_key_exists($attrname, $attrarr)) {
|
||||
@@ -629,7 +629,7 @@ function wp_kses_hair($attr, $allowed_protocols) {
|
||||
# value
|
||||
{
|
||||
$thisval = $match[1];
|
||||
if ( in_array($attrname, $uris) )
|
||||
if ( in_array($attrname, $uris) )
|
||||
$thisval = wp_kses_bad_protocol($thisval, $allowed_protocols);
|
||||
|
||||
if(FALSE === array_key_exists($attrname, $attrarr)) {
|
||||
|
||||
Reference in New Issue
Block a user