Plugin Directory

Changeset 704556


Ignore:
Timestamp:
04/27/2013 06:04:29 AM (12 years ago)
Author:
Columcille
Message:

Fix for shortcodes in double brackets

Location:
glossy
Files:
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • glossy/tags/2.3.1/glossy.php

    r704512 r704556  
    44Plugin URI: http://croberts.me/glossy/
    55Description: Makes it easy to create site-wide glossary or dictionary entries which pop up using the Tippy plugin
    6 Version: 2.3.0
     6Version: 2.3.1
    77Author: Chris Roberts
    88Author URI: http://croberts.me/
     
    130130    {
    131131        /* Look inside [gs rules] */
    132         $gs_expression  = '\[(gs|glossy|glossyindex)'; // Opening tag
     132        $gs_expression  = '(?<!\[)\[(gs|glossy|glossyindex)'; // Opening tag
    133133        $gs_expression .= '(?:\s([^\]]*))?]'; // Grab contents inside the opening tag
    134134
  • glossy/tags/2.3.1/readme.txt

    r704512 r704556  
    44Requires at least: 3.3
    55Tested up to: 3.5.1
    6 Stable tag: 2.3.0
     6Stable tag: 2.3.1
    77
    88Glossy allows you to define information text that can be used throughout your site with a simple shortcode.
     
    3737
    3838== Changelog ==
     39
     40= 2.3.1 =
     41* Tweak so processed shortcodes won't be recognized if wrapped in double brackets - ie, [[glossy]] - often used for demonstration purposes.
    3942
    4043= 2.3.0 =
  • glossy/trunk/glossy.php

    r704512 r704556  
    44Plugin URI: http://croberts.me/glossy/
    55Description: Makes it easy to create site-wide glossary or dictionary entries which pop up using the Tippy plugin
    6 Version: 2.3.0
     6Version: 2.3.1
    77Author: Chris Roberts
    88Author URI: http://croberts.me/
     
    130130    {
    131131        /* Look inside [gs rules] */
    132         $gs_expression  = '\[(gs|glossy|glossyindex)'; // Opening tag
     132        $gs_expression  = '(?<!\[)\[(gs|glossy|glossyindex)'; // Opening tag
    133133        $gs_expression .= '(?:\s([^\]]*))?]'; // Grab contents inside the opening tag
    134134
  • glossy/trunk/readme.txt

    r704512 r704556  
    44Requires at least: 3.3
    55Tested up to: 3.5.1
    6 Stable tag: 2.3.0
     6Stable tag: 2.3.1
    77
    88Glossy allows you to define information text that can be used throughout your site with a simple shortcode.
     
    3737
    3838== Changelog ==
     39
     40= 2.3.1 =
     41* Tweak so processed shortcodes won't be recognized if wrapped in double brackets - ie, [[glossy]] - often used for demonstration purposes.
    3942
    4043= 2.3.0 =
Note: See TracChangeset for help on using the changeset viewer.