Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove extra space
  • Loading branch information
sabernhardt authored Mar 13, 2026
commit f77367e90e89fb9d8f4ac2546cdecf66087f5558
2 changes: 1 addition & 1 deletion src/wp-admin/includes/update.php
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ function wp_plugin_update_row( $file, $plugin_data ) {
'em' => array(),
'strong' => array(),
);
$plugin_display_name = '<strong>' . wp_kses( $plugin_data['Name'], $plugins_allowedtags ) . '</strong>';
$plugin_display_name = '<strong>' . wp_kses( $plugin_data['Name'], $plugins_allowedtags ) . '</strong>';

$plugin_name = strip_tags( $plugin_display_name );
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could use wp_strip_all_tags(), but I chose the simpler function because the name already ran through wp_kses().

$plugin_slug = $response->slug ?? $response->id;
Expand Down
Loading