WordPress.org

Plugin Directory

Changeset 614237


Ignore:
Timestamp:
10/18/12 20:04:54 (18 months ago)
Author:
MattyRob
Message:

Strip HTML from email subject to improve compatibility with other plugins

Location:
subscribe2/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • subscribe2/trunk/ReadMe.txt

    r613344 r614237  
    332332* Look in more locations for translation files, can place in core languages folder now for upgrade protection 
    333333* Refresh Settings page in admin to a tabbed interface 
     334* Strip HTML from email subject to improve compatibility with other plugins 
    334335 
    335336= Version 8.5 by Matthew Robinson = 
  • subscribe2/trunk/classes/class-s2-core.php

    r613343 r614237  
    260260        $string = str_replace("{BLOGNAME}", html_entity_decode(get_option('blogname'), ENT_QUOTES), $string); 
    261261        $string = str_replace("{BLOGLINK}", get_option('home'), $string); 
    262         $string = str_replace("{TITLE}", stripslashes($this->post_title), $string); 
     262        $string = str_replace("{TITLE}", stripslashes(strip_tags($this->post_title)), $string); 
    263263        $link = "<a href=\"" . $this->get_tracking_link($this->permalink) . "\">" . $this->get_tracking_link($this->permalink) . "</a>"; 
    264264        $string = str_replace("{PERMALINK}", $link, $string); 
Note: See TracChangeset for help on using the changeset viewer.