Plugin Directory

Changeset 1410744


Ignore:
Timestamp:
05/05/2016 03:48:37 AM (10 years ago)
Author:
lepittenger
Message:

Updated 1.2 tag and trunk. Fixed path to icon image

Location:
lbdesign-button-shortcode
Files:
10 added
3 edited

Legend:

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

    r1335233 r1410744  
    1313                title : 'Insert button shortcode',
    1414                cmd : 'buttonshortcode',
    15                 image : '../../wp-content/plugins/lbdesign-button-shortcode/img/icon-grey.png'
     15                image : lbdbs_plugin.url + 'img/icon-grey.png'
    1616            });
    1717            ed.addCommand('buttonshortcode', function() {
     
    8888                author : 'Lauren Pittenger @ LBDesign',
    8989                authorurl : 'http://lbdesign.tv',
    90                 version : "1.1"
     90                version : "1.2"
    9191            };
    9292        }
  • lbdesign-button-shortcode/trunk/lbdesign-button-shortcode.php

    r1335232 r1410744  
    66* Author URI: http://laurenpittenger.com
    77* License: GPL
    8 * Version: 1.1
     8* Version: 1.2
    99*/
    1010
     
    7373
    7474}
     75
     76/**
     77 * Localize Script
     78 */
     79function lbdbs_admin_head() {
     80  $plugin_url = plugins_url( '/', __FILE__ );
     81  ?>
     82  <!-- TinyMCE Shortcode Plugin -->
     83  <script type='text/javascript'>
     84  var lbdbs_plugin = {
     85      'url': '<?php echo $plugin_url; ?>',
     86  };
     87  </script>
     88  <!-- TinyMCE Shortcode Plugin -->
     89  <?php
     90}
     91add_action( "admin_head", 'lbdbs_admin_head' );
  • lbdesign-button-shortcode/trunk/readme.txt

    r1393290 r1410744  
    44Requires at least: 3.0.1
    55Tested up to: 4.5
    6 Stable tag: 1.1
     6Stable tag: 1.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6161== Upgrade Notice ==
    6262
     63= 1.2 =
     64
     65* Fixes path to icon image
     66
    6367= 1.1 =
    6468
Note: See TracChangeset for help on using the changeset viewer.