Plugin Directory

Changeset 3125517


Ignore:
Timestamp:
07/25/2024 07:43:29 PM (21 months ago)
Author:
mpntod
Message:

Minor amendments to escape text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rotatingtweets/trunk/rotatingtweets.php

    r3124056 r3125517  
    23582358        $args['screen_name'] = rotatingtweets_clean_screen_name($args['screen_name']);
    23592359        /* translators: %s is replaced with a link to the required Twitter screen name. */
    2360         $followUserText = sprintf(__('Follow @%s','rotatingtweets'),remove_accents(str_replace('@','',$args['screen_name'])));
    2361         $result .= "\n<div class='rtw_follow follow-button'><a href='https://twitter.com/".$args['screen_name']."' class='twitter-follow-button'{$shortenvariables} title='".$followUserText."' data-lang='{$twitterlocale}'>".$followUserText."</a></div>";
     2360        $followUserText = sprintf(__('Follow @%s','rotatingtweets'),wp_kses_post(str_replace('@','',$args['screen_name'])));
     2361        $result .= "\n<div class='rtw_follow follow-button'><a href='https://twitter.com/".esc_attr($args['screen_name'])."' class='twitter-follow-button'{$shortenvariables} title='".$followUserText."' data-lang='{$twitterlocale}'>".$followUserText."</a></div>";
    23622362    endif;
    23632363    rotatingtweets_enqueue_scripts();
Note: See TracChangeset for help on using the changeset viewer.