Plugin Directory

Changeset 423975


Ignore:
Timestamp:
08/15/2011 10:08:19 PM (14 years ago)
Author:
stringfold
Message:

Fixed plugin's Javascript importing code so that it won't import on other admin pages.

Location:
twenty-eleven-theme-extensions/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • twenty-eleven-theme-extensions/trunk/moztheme2011.php

    r421968 r423975  
    55   Description: Easy-to-use customizations for the default Twenty Eleven WordPress theme.
    66   Author: Mike Walker, MozTools
    7    Version: 1.0
     7   Version: 1.1
    88   Author URI: http://moztools.com/
    99
  • twenty-eleven-theme-extensions/trunk/moztheme2011admin.php

    r421968 r423975  
    3838    protected function __construct() {
    3939        parent::__construct();
    40         $this->registerJQuery();
    41         $this->registerJQueryUI();
    42         $this->registerScripts('moztheme2011admin.min', array('jquery'));
    43         $this->registerStyles('moztheme2011admin');
     40        if ($this->isAdminPage()) {
     41            $this->registerScripts('moztheme2011admin.min', array('jquery-ui-widget'));
     42            $this->registerStyles('moztheme2011admin');
     43        }
    4444    }
    4545
  • twenty-eleven-theme-extensions/trunk/readme.txt

    r421968 r423975  
    55Requires at least: 3.2
    66Tested up to: 3.2.1
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88
    99Easy customizations for the latest WordPress theme, Twenty Eleven. Add sidebars back into all blog pages and change the height of the header image.
     
    9898== Changelog ==
    9999
     100= Version 1.1 =
     101
     102* Fixed plugin's admin code that was interfering with other admin pages.
     103
    100104= Version 1.0 =
    101105
Note: See TracChangeset for help on using the changeset viewer.