Plugin Directory

Changeset 723484


Ignore:
Timestamp:
06/06/2013 12:45:31 PM (13 years ago)
Author:
tcbarrett
Message:

Added French translation
Fixed tooltip 'off'
Fixed code warnings

Location:
wp-glossary/trunk
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • wp-glossary/trunk/class/wpg-admin.class.php

    r716063 r723484  
    44 */
    55class WPG_Admin{
    6     static $base, $base_url;
     6    static $base;
     7    static $base_url;
    78
    8     public function __construct() {
     9    public function __construct( $plugin_base ) {
    910        self::$base     = $plugin_base . '/class';
    1011        self::$base_url = plugins_url( '', dirname(__FILE__) );
  • wp-glossary/trunk/class/wpg-shortcode-glossary.class.php

    r716073 r723484  
    8080
    8181        // Get WP Glossary options
    82         $glossary_options = get_option( 'wp_glossary' );
     82        $glossary_options = get_option( 'wp_glossary', array() );
    8383
    8484        // JS data to pass through to jQuery libraries
  • wp-glossary/trunk/class/wpg.class.php

    r716063 r723484  
    7171        $options   = get_option( 'wp_glossary', array() );
    7272        $qtipstyle = isset( $options['qtipstyle'] ) ? $options['qtipstyle']: 'cream';
    73         if( $qtip != 'off' ):
     73        if( $qtipstyle != 'off' ):
    7474            wp_register_script( 'jquery-tooltip',  $this->base_url() . '/ext/qtip.js', array('jquery') );
    7575            wp_register_script( 'wp-glossary-js',  $this->base_url() . '/js/wp-glossary-qtip.js',      array('jquery-tooltip') );
  • wp-glossary/trunk/readme.txt

    r716192 r723484  
    66Requires at least: 3.0
    77Tested up to: 3.6
    8 Stable tag: 2.4
     8Stable tag: 2.4.1
    99License: GPLv2 or later
    1010
     
    7373
    7474== Changelog ==
     75
     76= 2.4.1 =
     77* NEW Language: French (Thank you Walid)
     78* FIX Glossary tooltip 'off' (props Epema)
     79* FIX Code warnings
    7580
    7681= 2.4 =
  • wp-glossary/trunk/wp-glossary.php

    r716192 r723484  
    55 * Description: Build a glossary of terms and link your post content to it.
    66 * Author: TCBarrett
    7  * Version: 2.4
     7 * Version: 2.4.1
    88 * Author URI: http://www.tcbarrett.com/
    99 * Text Domain: wp-glossary
     
    2121
    2222new WPG( dirname(__FILE__) );
    23 new WPG_Admin();
     23new WPG_Admin( dirname(__FILE__) );
    2424
    2525// add_action( 'admin_init', 'tcb_wpg_test' );
Note: See TracChangeset for help on using the changeset viewer.