Plugin Directory

Changeset 1441732


Ignore:
Timestamp:
06/22/2016 12:12:28 PM (10 years ago)
Author:
bigbadboy
Message:

JQuery be gone!

Location:
point-and-stare-cms-functions/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • point-and-stare-cms-functions/trunk/pands-functions.php

    r1282537 r1441732  
    44  Plugin URI: http://wordpress.org/extend/plugins/point-and-stare-cms-functions/
    55  Description: This plugin will generate special functions that help convert your WordPress install into a white labelled CMS, add security and generally protect the admin.
    6   Version: 3.1.3
     6  Version: 3.1.4
    77  Author: Lee Rickler
    88  Author URI: http://pointandstare.com
     
    569569                            </tr>
    570570                            <tr>
    571                                 <td>jQuery Path<br /><span class="th-small">Add the absolute path of your prefered jQuery file.<br />Defaults to jQuery JavaScript Library v1.7.2 from Google CDN</span></td>
    572                                 <td><input class="ui-widget-text" name="pands_script_plugin_options[jquery_path]" type="text" value="<?php echo $options['jquery_path']; ?>" /></td>
    573                             </tr>
    574                             <tr>
    575571                                <td>Google analytics<br /><span class="th-small">Only add the ID <i>ex: UA-XXXXXX-XX</i></span></td>
    576572                                <td><input name="pands_script_plugin_options[google_analytics_number]" type="text" value="<?php echo $options['google_analytics_number']; ?>" /></td>
     
    698694
    699695add_action('wp_head', 'google_verified_authorship');
    700 
    701 // ADD JQUERY PROPERLY
    702 if (!is_admin()) {
    703     wp_deregister_script('jquery');
    704     if ($options['jquery_path'] != "")
    705         wp_register_script('jquery', ($options['jquery_path']), false, '1.3.8', true);
    706     else
    707         wp_register_script('jquery', '/wp-includes/js/jquery/jquery.js', false, '1.10.2', true);
    708     wp_enqueue_script('jquery');
    709 }
    710696
    711697// HIDE ADMIN SCREEN OPTIONS TAB
  • point-and-stare-cms-functions/trunk/readme.txt

    r1282493 r1441732  
    5151
    5252== Changelog ==
     53
     54= 3.1.4 =
     55* Removed irritating JQuery option
    5356
    5457= 3.1.3 =
Note: See TracChangeset for help on using the changeset viewer.