Plugin Directory

Changeset 3172336


Ignore:
Timestamp:
10/20/2024 01:11:46 PM (18 months ago)
Author:
zhuyi
Message:

version 10.1.3

Location:
wordpress-tooltips/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-tooltips/trunk/readme.txt

    r3168066 r3172336  
    309309
    310310== Changelog ==
     311= Version 10.1.3 =
     312>[Enhancing the WordPress Tooltips Plugin with Tag Support, WordPress Tooltips Pro Plus 33.0.8, WordPress Tooltips Pro 20.4.4, WordPress Tooltips Free 10.1.3](https://tooltips.org/enhancing-the-wordpress-tooltips-plugin-with-tag-support-wordpress-tooltips-pro-plus-33-0-8-wordpress-tooltips-pro-20-4-4-wordpress-tooltips-free-10-1-3/)
     313fixed a php warning issue
     314
    311315= Version 10.0.9 =
    312316>[Fixing Tooltips Category Error in Wordpress Tooltips Plugin](https://tooltips.org/fixing-tooltips-category-error-in-wordpress-tooltips-plugin/)
    313 
    314317
    315318= Version 10.0.3 =
  • wordpress-tooltips/trunk/tooltips.php

    r3168066 r3172336  
    44Plugin URI:  https://tooltips.org/features-of-wordpress-tooltips-plugin/
    55Description: Wordpress Tooltips,You can add text,image,link,video,radio in tooltips, add tooltips in gallery. More amazing features? Do you want to customize a beautiful style for your tooltips? One Minute, Check <a href='https://tooltips.org/features-of-wordpress-tooltips-plugin/' target='_blank'> Features of WordPress Tooltips Pro</a>.
    6 Version: 10.0.9
     6Version: 10.1.3
    77Author: Tomas | <a href='https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltip-plugin-document/' target='_blank'>Docs</a> | <a href='https://tooltips.org/faq/' target='_blank'>FAQ</a> | <a href='https://tooltips.org/contact-us' target='_blank'>Premium Support</a>
    88Author URI: https://tooltips.org/wordpress-tooltip-plugin/wordpress-tooltips-demo/
     
    102102    register_taxonomy( 'tooltips_categories', 'tooltips', $args );
    103103
    104 
     104//10.1.3
     105
     106
     107$taglabels = array(
     108    'name' => 'Tags',
     109    'singular_name' => 'Tooltips Tags',
     110    'all_items' => 'All Tooltips Tags',
     111    'parent_item' => 'Parent Tooltips Tag',
     112    'edit_item' => 'Edit Tooltips Tag',
     113    'update_item' => 'Update Tooltips Tag',
     114    'add_new_item' => 'Add New Tooltips Tag',
     115    'new_item_name' => 'New Tooltips Tag'
     116);
     117
     118//10.1.3
     119$enablegutenbergfortooltips = get_option('enablegutenbergfortooltips');
     120//end 10.1.3
     121
     122 if ($enablegutenbergfortooltips == 'NO')
     123 {
     124     $args = array(
     125         'label' => 'Tags',
     126         'labels' => $taglabels,
     127         'public' => true,
     128         'hierarchical' => false,
     129         'show_ui' => true,
     130         'show_in_nav_menus' => true,
     131         'args' => array(
     132             'orderby' => 'term_order'
     133         ),
     134         'rewrite' => array(
     135             'slug' => 'tooltips_tags',
     136             'with_front' => false
     137         ),
     138         'query_var' => true
     139     );
     140 }
     141 else
     142 {
     143     $args = array(
     144         'label' => 'Categories',
     145         'labels' => $taglabels,
     146         'public' => true,
     147         'hierarchical' => false,
     148         'show_ui' => true,
     149         'show_in_nav_menus' => true,
     150         'show_in_rest' => true,
     151         'args' => array(
     152             'orderby' => 'term_order'
     153         ),
     154         'rewrite' => array(
     155             'slug' => 'tooltips_tags',
     156             'with_front' => false
     157         ),
     158         'query_var' => true
     159     );
     160     //end 31.4.8  support gutenberg
     161 }
     162     register_taxonomy('tooltips_tag', 'tooltips', $args);
     163
     164//end 10.1.3
    105165    $labels = array(
    106166            'name' => __('Tooltips', 'wordpress-tooltips'),
     
    18331893       //!!! end 7.9.7
    18341894    }
    1835     update_option('ztooltipversion','10.0.9');
     1895    update_option('ztooltipversion','10.1.3');
    18361896}
    18371897add_action( 'init', 'upgrade_check');
Note: See TracChangeset for help on using the changeset viewer.