Skip to content

Commit

Permalink
Add more changes from the recent feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
htdat committed Jan 11, 2020
1 parent b368167 commit 4df8fe4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/subscriptions/views.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ class Jetpack_Subscriptions_Widget extends WP_Widget {
*/
public static $allowed_html_tags_for_message = array(
'a' => array(
'href' => array(),
'title' => array(),
'rel' => array(),
'href' => array(),
'title' => array(),
'rel' => array(),
'target' => array(),
),
'br' => array(),
);
Expand Down Expand Up @@ -169,7 +170,7 @@ static function render_widget_status_messages( $instance ) {
<?php
printf(
wp_kses(
/* translators: this message is displayed after submitting an email in subscription widgets */
/* translators: 1: Link to Subscription Management page https://subscribe.wordpress.com/, 2: Description of this link */
__( 'You already have several pending email subscriptions. <br /> Approve or delete a few subscriptions at <a href="%1$s" title="%2$s" target="_blank" rel="noopener noreferrer">subscribe.wordpress.com</a> before continuing.', 'jetpack' ),
self::$allowed_html_tags_for_message
),
Expand Down

0 comments on commit 4df8fe4

Please sign in to comment.