Make WordPress Core

Changeset 58616


Ignore:
Timestamp:
07/02/2024 11:50:53 AM (2 days ago)
Author:
costdev
Message:

Plugins: Remove extra paragraph from plugin row dependency notice.

In WP_Plugins_List_Table::add_dependencies_to_dependent_plugin_row(), a sprintf() call previously wrapped the %2$s placeholder in paragraph tags.

[57769] changed the placeholder's value to use wp_get_admin_notice(), which returns a paragraph-wrapped notice by default. As a result, the previous paragraph tags produced an extra, empty paragraph.

This removes the paragraph tags around the %2$s placeholder.

Follow-up to [57545], [57714], [57769].

Props mukesh27.
Fixes #61546.

File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.