Changeset 1926614
- Timestamp:
- 08/18/2018 10:18:58 AM (8 years ago)
- Location:
- hide-all-updates
- Files:
-
- 4 edited
-
tags/1.0/includes/wpza_hau__hide_udates.php (modified) (1 diff)
-
tags/1.0/readme.txt (modified) (1 diff)
-
trunk/includes/wpza_hau__hide_udates.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
hide-all-updates/tags/1.0/includes/wpza_hau__hide_udates.php
r1906842 r1926614 1 1 <?php 2 /*3 Plugin Name: Hide All Updates4 Plugin URI: https://wpza.net/wordpress-setup/how-to-remove-all-updates-core-plugins-themes-in-wordpress/5 Description: WPZA Hide All Updates provides your website with functionality to hide all updates.6 Version: 1.0.07 Author: WPZA8 Author URI: https://www.wpza.net9 License: GPLv2 or later10 License URI: https://www.gnu.org/licenses/gpl-2.0.html11 */12 2 defined( 'ABSPATH' ) or die(); 13 3 14 /* Hide All Updates */ 15 if( ! function_exists( 'wpza_hau__hide_updates' ) ) { 16 function wpza_hau__hide_updates() { 17 global $wp_version; 18 return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version ); 19 } 20 add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates '); 21 add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates '); 22 add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates '); 4 function wpza_hau__hide_updates() { 5 global $wp_version; 6 return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version ); 23 7 } 8 add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates' ); 9 add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates' ); 10 add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates' ); -
hide-all-updates/tags/1.0/readme.txt
r1906842 r1926614 16 16 == Installation == 17 17 After installing this plugin, your WordPress website will no longer show any updates for WordPress core files, plugin files or theme files. To show the updates, simply deactivate this plugin. 18 19 == Changelog == 20 =1.0 21 * Fixed filter causing errors in log -
hide-all-updates/trunk/includes/wpza_hau__hide_udates.php
r1906842 r1926614 1 1 <?php 2 /*3 Plugin Name: Hide All Updates4 Plugin URI: https://wpza.net/wordpress-setup/how-to-remove-all-updates-core-plugins-themes-in-wordpress/5 Description: WPZA Hide All Updates provides your website with functionality to hide all updates.6 Version: 1.0.07 Author: WPZA8 Author URI: https://www.wpza.net9 License: GPLv2 or later10 License URI: https://www.gnu.org/licenses/gpl-2.0.html11 */12 2 defined( 'ABSPATH' ) or die(); 13 3 14 /* Hide All Updates */ 15 if( ! function_exists( 'wpza_hau__hide_updates' ) ) { 16 function wpza_hau__hide_updates() { 17 global $wp_version; 18 return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version ); 19 } 20 add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates '); 21 add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates '); 22 add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates '); 4 function wpza_hau__hide_updates() { 5 global $wp_version; 6 return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version ); 23 7 } 8 add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates' ); 9 add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates' ); 10 add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates' ); -
hide-all-updates/trunk/readme.txt
r1906842 r1926614 16 16 == Installation == 17 17 After installing this plugin, your WordPress website will no longer show any updates for WordPress core files, plugin files or theme files. To show the updates, simply deactivate this plugin. 18 19 == Changelog == 20 =1.0 21 * Fixed filter causing errors in log
Note: See TracChangeset
for help on using the changeset viewer.