From 66eefd653cf8248761d057df12b0ed74b674771a Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 15 Jan 2019 02:40:59 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/plugin.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/includes/plugin.php b/src/wp-admin/includes/plugin.php index 85d3d5bb07..526cebb4b0 100644 --- a/src/wp-admin/includes/plugin.php +++ b/src/wp-admin/includes/plugin.php @@ -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,