mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Coding Standards: Assignments must be the first block of code on a line.
Props subrataemfluence. Fixes #44225. git-svn-id: https://develop.svn.wordpress.org/trunk@44593 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,13 +165,15 @@ function _get_plugin_data_markup_translate( $plugin_file, $plugin_data, $markup
|
||||
}
|
||||
|
||||
// Sanitize fields
|
||||
$allowed_tags = $allowed_tags_in_links = array(
|
||||
$allowed_tags_in_links = array(
|
||||
'abbr' => array( 'title' => true ),
|
||||
'acronym' => array( 'title' => true ),
|
||||
'code' => true,
|
||||
'em' => true,
|
||||
'strong' => true,
|
||||
);
|
||||
|
||||
$allowed_tags = $allowed_tags_in_links;
|
||||
$allowed_tags['a'] = array(
|
||||
'href' => true,
|
||||
'title' => true,
|
||||
|
||||
Reference in New Issue
Block a user