Plugin Directory

Changeset 1483913


Ignore:
Timestamp:
08/26/2016 10:08:05 AM (10 years ago)
Author:
colinph970
Message:

Updated for WP 4.6, by scideas software

Location:
button-maker/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • button-maker/trunk/buttons.php

    r1092320 r1483913  
    66Author: Pluginhandy
    77Author URI: http://pluginhandy.com/
    8 Version: 1.3
     8Version: 1.4
    99Text Domain:
    1010License: GPL version 2 or later -
     
    1717define('PROF_DIR_NAME', basename(PROF_FILE_PATH));
    1818define('ABSPATH', getcwd());
    19 
    20 wp_enqueue_style('my_css_dsslider', '/wp-content/plugins/' . PROF_FOLDER . '/style.css');
    21 wp_register_script( 'jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js');
    22 wp_enqueue_script( 'jscolor', '/wp-content/plugins/' . PROF_FOLDER . '/jscolor/jscolor.js');
    2319
    2420global $wpdb;
     
    125121
    126122function load_plugin() {
     123    wp_enqueue_style('my_css_dsslider', '/wp-content/plugins/' . PROF_FOLDER . '/style.css');
     124    wp_register_script( 'jquery');
     125    wp_enqueue_script( 'jscolor', '/wp-content/plugins/' . PROF_FOLDER . '/jscolor/jscolor.js');
    127126    if ( is_admin() && get_option( 'Activated_Plugin' ) == 'Plugin-Slug' ) {
    128127        delete_option( 'Activated_Plugin' );
     
    145144}
    146145function Form_admin_actions() {
    147     add_menu_page("My Buttons", "My Buttons", 1,__FILE__ , "Form_admin_menu");
    148     add_submenu_page(__FILE__,'Form','Add New Button','8','form','Form_show_admin_menu');
     146    add_menu_page("My Buttons", "My Buttons", 'manage_options',__FILE__ , "Form_admin_menu");
     147    add_submenu_page(__FILE__,'Form','Add New Button','manage_options','form','Form_show_admin_menu');
    149148    //add_submenu_page(__FILE__,'Form','Select Post','8','posttype','Form_select_post');
    150149}
  • button-maker/trunk/readme.txt

    r1092320 r1483913  
    44Tags: : button, button generator, buttons, call to action, create button, create buttons in wordpress, wordpress button maker, button maker, create button in wordpress, wordpress button, plugin, short code, short codes, wordpress button generator, wordpress button maker, wordpress button plugin, wp button plugin, wp button maker, wp button maker
    55Requires at least: 3.2
    6 Tested up to: 4.1
    7 Stable tag:1.3
     6Tested up to: 4.6
     7Stable tag:1.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    136136== Changelog ==
    137137
     138= 1.4 =
     139* Updated for WP 4.6
     140
    138141= 1.3 =
    139142* Buttons now open links in a new tab or window
Note: See TracChangeset for help on using the changeset viewer.