Plugin Directory

Changeset 1722245


Ignore:
Timestamp:
08/30/2017 08:20:47 PM (9 years ago)
Author:
lepittenger
Message:

Reordered shortcode attributes when inserted with tinymce pop-up

Location:
lbdesign-button-shortcode/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • lbdesign-button-shortcode/trunk/js/lbdesign-button-shortcode.js

    r1410744 r1722245  
    5757                    onsubmit: function(e) {
    5858                        ed.focus();
    59                         ed.selection.setContent('[lbdesign_button link="' + e.data.link +'" type="' + e.data.type + '" custom_class="' + e.data.custom_class + '" size="' + e.data.size + '" style="'+e.data.styles+'"]' + e.data.content + '[/lbdesign_button]');
     59                        ed.selection.setContent('[lbdesign_button link="' + e.data.link + '" type="' + e.data.type + '" size="' + e.data.size + '" style="' + e.data.styles + '" custom_class="' + e.data.custom_class + '"]' + e.data.content + '[/lbdesign_button]');
    6060                    }
    6161                });
     
    8888                author : 'Lauren Pittenger @ LBDesign',
    8989                authorurl : 'http://lbdesign.tv',
    90                 version : "1.2"
     90                version : "1.2.1"
    9191            };
    9292        }
  • lbdesign-button-shortcode/trunk/lbdesign-button-shortcode.php

    r1410744 r1722245  
    66* Author URI: http://laurenpittenger.com
    77* License: GPL
    8 * Version: 1.2
     8* Version: 1.2.1
    99*/
    1010
  • lbdesign-button-shortcode/trunk/readme.txt

    r1410744 r1722245  
    33Tags: shortcode
    44Requires at least: 3.0.1
    5 Tested up to: 4.5
    6 Stable tag: 1.2
     5Tested up to: 4.8
     6Stable tag: 1.2.1
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4747== Changelog ==
    4848
     49= 1.2.1 =
     50
     51* Reordered the shortcode attributes to match the order in the TinyMCE pop-up
     52
     53= 1.2 =
     54
     55* Bugfixes
     56
    4957= 1.1 =
    5058
     
    6371= 1.2 =
    6472
    65 * Fixes path to icon image 
     73* Fixes path to icon image
    6674
    6775= 1.1 =
Note: See TracChangeset for help on using the changeset viewer.