WordPress.org

Plugin Directory

Changeset 936455


Ignore:
Timestamp:
06/22/14 12:56:04 (3 years ago)
Author:
chorton2227
Message:

Update to version 1.1.0

Location:
wp-glossary-hover
Files:
463 added
5 edited

Legend:

Unmodified
Added
Removed
  • wp-glossary-hover/trunk/README.txt

    r928527 r936455  
    55Requires at least: 3.5.1 
    66Tested up to: 3.9.1 
    7 Stable tag: 1.0.1 
     7Stable tag: 1.1.0 
    88License: GPLv2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
     
    5757== Changelog == 
    5858 
     59= 1.1.0 = 
     60* Fix fatal error on install. 
     61* Remove test code in uninstall.php 
     62 
    5963= 1.0.1 = 
    6064* Update README.txt. 
  • wp-glossary-hover/trunk/public/class-wp-glossary-hover.php

    r928527 r936455  
    2525     * @var     string 
    2626     */ 
    27     const VERSION = '1.0.1'; 
     27    const VERSION = '1.1.0'; 
    2828 
    2929    /** 
  • wp-glossary-hover/trunk/public/includes/class-tooltip-parser.php

    r928312 r936455  
    129129        } 
    130130 
     131        $settings = $this->get_settings(); 
     132 
    131133        // Valid post type required 
    132         if ( ! in_array(get_post_type(), $this->get_settings()['general_enabled_post_types'])) 
     134        if ( ! in_array(get_post_type(), $settings['general_enabled_post_types'])) 
    133135        { 
    134136            return $content; 
     
    170172 
    171173        // Keep track of highlighted terms 
    172         $highlight_first_occurrence = $this->get_settings()['general_highlight_first_occurrence']; 
     174        $highlight_first_occurrence = $settings['general_highlight_first_occurrence']; 
    173175        $highlighted_terms = array(); 
    174176 
     
    238240    private function get_xpath_query() { 
    239241 
     242        $settings = $this->get_settings(); 
     243 
    240244        // Html tags to disable in xpath query 
    241         $disabled_tags = array_merge($this->disabled_tags, $this->get_settings()['general_disabled_tags']); 
     245        $disabled_tags = array_merge($this->disabled_tags, $settings['general_disabled_tags']); 
    242246 
    243247        // Default query 
     
    262266     */ 
    263267    private function get_term_regex_pattern($term) { 
     268         
     269        $settings = $this->get_settings(); 
    264270 
    265271        $pattern = $this->term_regex_pattern; 
    266272 
    267273        // Add 'i' after pattern for case insensitive search 
    268         if ( ! $this->get_settings()['general_case_sensitive']) 
     274        if ( ! $settings['general_case_sensitive']) 
    269275        { 
    270276            $pattern .= 'i'; 
  • wp-glossary-hover/trunk/uninstall.php

    r928312 r936455  
    99 * @copyright 2014 Chris Horton 
    1010 */ 
    11  
    12 var_dump('test'); 
    13 die(); 
    1411 
    1512// If uninstall not called from WordPress, then exit 
  • wp-glossary-hover/trunk/wp-glossary-hover.php

    r928527 r936455  
    1616 * Plugin URI:        https://github.com/chorton2227/WP-Glossary-Hover 
    1717 * Description:       When hovering over a word or phrase show the user created definition. 
    18  * Version:           1.0.1 
     18 * Version:           1.1.0 
    1919 * Author:            Chris Horton <chorton2227@gmail.com> 
    2020 * Author URI:        https://github.com/chorton2227 
Note: See TracChangeset for help on using the changeset viewer.