WordPress.org

Plugin Directory

Changeset 532978


Ignore:
Timestamp:
04/18/12 17:18:50 (2 years ago)
Author:
Jayjdk
Message:

Bug fix: Quicktags not displayed when using single quotes in the start and end tags.

Location:
jayj-quicktag/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • jayj-quicktag/trunk/jayj-quicktag.php

    r501338 r532978  
    66 * Author:      Jesper J 
    77 * Author URI:  http://jayj.dk 
    8  * Version:     1.2.2 
     8 * Version:     1.2.3 
    99 * License: GPLv2 or later 
    1010 */ 
     
    283283                            'jayj_qtag_<?php echo intval( $i ); ?>', 
    284284                            '<?php echo esc_attr( $btn['text'] ); ?>', 
    285                             '<?php echo $btn['start']; ?>', 
     285                            '<?php echo addslashes( $btn['start'] ); ?>', 
    286286                            '', '', 
    287287                            '<?php echo esc_attr( $title ); ?>' 
     
    291291                            'jayj_qtag_<?php echo intval( $i ); ?>', 
    292292                            '<?php echo esc_attr( $btn['text'] ); ?>', 
    293                             '<?php echo $btn['start']; ?>', 
    294                             '<?php echo $btn['end']; ?>', 
     293                            '<?php echo addslashes( $btn['start'] ); ?>', 
     294                            '<?php echo addslashes( $btn['end'] ); ?>', 
    295295                            '', 
    296296                            '<?php echo esc_attr( $title ); ?>' 
  • jayj-quicktag/trunk/readme.txt

    r501339 r532978  
    33Tags: quicktag, quicktags, editor, quick, tag, generator, import, export 
    44Requires at least: 3.3 
    5 Tested up to: 3.3 
    6 Stable tag: 1.2.2 
     5Tested up to: 3.4 
     6Stable tag: 1.2.3 
    77 
    88Allows you easily to add custom Quicktags to the post editor 
     
    3434 
    3535Yes. You can add a self-closing Quicktag (like &lt;hr /&gt;) by leaving "End Tag(s)" empty. 
    36  
    37 = Can I delete a Quicktag? = 
    38  
    39 Yes, you can. Just leave the "Button Label" empty. 
    4036 
    4137= Can I delete a Quicktag? = 
     
    7773</code> 
    7874 
     75Plugin authors can use this method as well. 
     76 
    7977= Can I export/import Quicktags? = 
    8078Yes. Version 1.1 introduced the import and export feature. 
     
    9391 
    9492== Changelog == 
     93 
     94= 1.2.3 = 
     95* Bug fix: Quicktags not displayed when using single quotes in the start and end tags. 
    9596 
    9697= 1.2.2 = 
     
    118119== Upgrade Notice == 
    119120 
     121= 1.2.3 = 
     122Bug fix: Quicktags not displayed when using single quotes in the start and end tags. 
     123 
    120124= 1.2 = 
    121125You can change the order of the tags. Easier to add and remove them. 
Note: See TracChangeset for help on using the changeset viewer.