Changeset 1155618
- Timestamp:
- 05/07/2015 07:49:55 PM (11 years ago)
- Location:
- wp-mobile-detector
- Files:
-
- 4 edited
-
tags/3.0/admin/admin-page.php (modified) (1 diff)
-
tags/3.0/functions.php (modified) (3 diffs)
-
trunk/admin/admin-page.php (modified) (1 diff)
-
trunk/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-mobile-detector/tags/3.0/admin/admin-page.php
r1155575 r1155618 3 3 error_reporting(0); 4 4 } 5 6 add_action('wp_ajax_websitez_options', 'websitez_save_options');7 5 8 6 function websitez_save_options() { -
wp-mobile-detector/tags/3.0/functions.php
r1155606 r1155618 3 3 error_reporting(0); 4 4 } 5 6 add_filter('bloginfo', 'websitez_mobile_title', 10, 2);7 add_filter( 'cron_schedules', 'wz_cron_add_monthly' );8 add_filter('plugin_action_links', 'websitez_settings_link', 10, 2 );9 add_action("activated_plugin", "websitez_plugin_activated");10 add_filter('pre_get_posts', 'websitez_post_results');11 5 12 6 function websitez_check_for_update(){ … … 993 987 994 988 if($mobile_device['type'] == "2"){ //Standard device 989 add_filter('bloginfo', 'websitez_mobile_title', 10, 2); 990 add_filter('pre_get_posts', 'websitez_post_results'); 995 991 if(strlen($websitez_options['general']['remove_shortcodes']) > 0){ 996 992 websitez_nullify_shortcodes($websitez_options['general']['remove_shortcodes']); … … 1019 1015 } 1020 1016 }else if($mobile_device['type'] == "1"){ //Smart device 1017 add_filter('bloginfo', 'websitez_mobile_title', 10, 2); 1018 add_filter('pre_get_posts', 'websitez_post_results'); 1021 1019 if(strlen($websitez_options['general']['disable_plugins']) > 0){ 1022 1020 $disabled = explode(",", $websitez_options['general']['disable_plugins']); -
wp-mobile-detector/trunk/admin/admin-page.php
r1155575 r1155618 3 3 error_reporting(0); 4 4 } 5 6 add_action('wp_ajax_websitez_options', 'websitez_save_options');7 5 8 6 function websitez_save_options() { -
wp-mobile-detector/trunk/functions.php
r1155606 r1155618 3 3 error_reporting(0); 4 4 } 5 6 add_filter('bloginfo', 'websitez_mobile_title', 10, 2);7 add_filter( 'cron_schedules', 'wz_cron_add_monthly' );8 add_filter('plugin_action_links', 'websitez_settings_link', 10, 2 );9 add_action("activated_plugin", "websitez_plugin_activated");10 add_filter('pre_get_posts', 'websitez_post_results');11 5 12 6 function websitez_check_for_update(){ … … 993 987 994 988 if($mobile_device['type'] == "2"){ //Standard device 989 add_filter('bloginfo', 'websitez_mobile_title', 10, 2); 990 add_filter('pre_get_posts', 'websitez_post_results'); 995 991 if(strlen($websitez_options['general']['remove_shortcodes']) > 0){ 996 992 websitez_nullify_shortcodes($websitez_options['general']['remove_shortcodes']); … … 1019 1015 } 1020 1016 }else if($mobile_device['type'] == "1"){ //Smart device 1017 add_filter('bloginfo', 'websitez_mobile_title', 10, 2); 1018 add_filter('pre_get_posts', 'websitez_post_results'); 1021 1019 if(strlen($websitez_options['general']['disable_plugins']) > 0){ 1022 1020 $disabled = explode(",", $websitez_options['general']['disable_plugins']);
Note: See TracChangeset
for help on using the changeset viewer.