Changeset 2346659
- Timestamp:
- 07/26/2020 08:41:13 AM (6 years ago)
- Location:
- wikitip-knowledge-cluster-tooltip-for-wordpress/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wikitip.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wikitip-knowledge-cluster-tooltip-for-wordpress/trunk/readme.txt
r2335640 r2346659 5 5 Requires at least: 3.1 6 6 Tested up to: 5.4.2 7 Stable tag: 1.4 7 Stable tag: 1.4.1 8 8 9 9 This plugin integrates a tooltip dictionary/glossary/thesaurus with terms definitions stored at wikitip.info. Users may create their own clusters for free. … … 73 73 74 74 == Changelog == 75 76 = 1.4.1 = 77 1. removed scriptaculous script that breaks javascript on backend 75 78 76 79 = 1.4 = -
wikitip-knowledge-cluster-tooltip-for-wordpress/trunk/wikitip.php
r2335640 r2346659 6 6 * Author: Richard Vencu 7 7 * Author URI: http://richardconsulting.ro 8 * Version: 1.4 8 * Version: 1.4.1 9 9 * License: GPLv2, MIT, GNU 10 10 * … … 146 146 add_action( 'admin_init', 'wikitip_admin_init' ); 147 147 add_action( 'wpmu_new_blog', 'wikitip_init_newblog' ); 148 add_action( 'admin_menu', 'wikitip_load_effects' );148 //add_action( 'admin_menu', 'wikitip_load_effects' ); 149 149 /* Add custom filters. */ 150 150 … … 429 429 } 430 430 431 if ( ( $wikitip_options['loggedin'] == 1 && is_user_logged_in() ) || $wikitip_options['loggedin'] == 0 ) { 432 if ( ( $singular == 1 && ! is_front_page() || $wikitip_options['frontpage'] == 1 && is_front_page() ) || 433 ( $wikitip_options['search'] == 1 && is_search() ) || 434 ( $wikitip_options['archive'] == 1 && is_archive() ) || 435 ( $wikitip_options['category'] == 1 && is_category() ) || 436 ( $wikitip_options['author'] == 1 && is_author() ) || 437 ( $wikitip_options['tag'] == 1 && is_tag() ) 438 ) { 439 add_action( 'wp_footer', 'wikitip_load_header' ); 440 441 if ( $wikitip_options['usercontrol'] == 1 ) { 442 add_action( 'wp_print_footer_scripts', 'wikitip_load_ui', 98 ); 431 if ( ! is_admin() ) { 432 if ( ( $wikitip_options['loggedin'] == 1 && is_user_logged_in() ) || $wikitip_options['loggedin'] == 0 ) { 433 if ( ( $singular == 1 && ! is_front_page() || $wikitip_options['frontpage'] == 1 && is_front_page() ) || 434 ( $wikitip_options['search'] == 1 && is_search() ) || 435 ( $wikitip_options['archive'] == 1 && is_archive() ) || 436 ( $wikitip_options['category'] == 1 && is_category() ) || 437 ( $wikitip_options['author'] == 1 && is_author() ) || 438 ( $wikitip_options['tag'] == 1 && is_tag() ) 439 ) { 440 add_action( 'wp_footer', 'wikitip_load_header' ); 441 442 if ( $wikitip_options['usercontrol'] == 1 ) { 443 add_action( 'wp_print_footer_scripts', 'wikitip_load_ui', 98 ); 444 } 443 445 } 444 446 }
Note: See TracChangeset
for help on using the changeset viewer.