Plugin Directory

Changeset 2204207


Ignore:
Timestamp:
12/01/2019 09:07:45 PM (6 years ago)
Author:
buntegiraffe
Message:

Fixed apostrophes

Location:
show-hidecollapse-expand/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • show-hidecollapse-expand/trunk/bg_show_hide.php

    r2043940 r2204207  
    55  Plugin URI: http://showhide.bunte-giraffe.de
    66  Description: Save space on your pages, posts, sidebars. Hide the content before user clicks to see it. Collapse long lists, create FAQs & more.
    7   Version: 1.2.2
     7  Version: 1.2.3
    88  Author: Bunte Giraffe
    99  Author URI: http://bunte-giraffe.de
     
    198198    $bg_button_or_link = false;
    199199    $bg_uniq_id_holder = "<input type='hidden' bg_collapse_expand='$bg_uniq_id' value='$bg_uniq_id'>";
     200
     201    $bg_expand_text = str_replace("'", "&apos;", $bg_expand_text);
     202    $bg_collapse_text = str_replace("'", "&apos;", $bg_collapse_text);
     203    $content = str_replace("'", "&apos;", $content);
    200204   
    201205    $bg_showmore_text = "<input type='hidden' id='bg-show-more-text-$bg_uniq_id' value='" . $bg_expand_text . "'>";
  • show-hidecollapse-expand/trunk/readme.txt

    r2043940 r2204207  
    44Tags: hide content, show content, collapse, expand, faq, questionnaire, question answer, show widget, hide widget, save space, organize content, collapse content, expand content, seo friendly collapse content
    55Requires at least: 4.2
    6 Tested up to: 5.1
    7 Stable tag: 1.2.2
     6Tested up to: 5.3
     7Stable tag: 1.2.3
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090== Changelog ==
    9191
     92= 1.2.3 =
     93* Fixed apostrophes causing errors in collapse and expand texts
     94
    9295= 1.2.2 =
    9396* Added custom_class shortcode attribute
Note: See TracChangeset for help on using the changeset viewer.