Plugin Directory

Changeset 1926614


Ignore:
Timestamp:
08/18/2018 10:18:58 AM (8 years ago)
Author:
wpza
Message:

Committing

Location:
hide-all-updates
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • hide-all-updates/tags/1.0/includes/wpza_hau__hide_udates.php

    r1906842 r1926614  
    11<?php
    2 /*
    3 Plugin Name: Hide All Updates
    4 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.0
    7 Author: WPZA
    8 Author URI: https://www.wpza.net
    9 License: GPLv2 or later
    10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
    11 */
    122defined( 'ABSPATH' ) or die();
    133
    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 ');
     4function wpza_hau__hide_updates() {
     5    global $wp_version;
     6    return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version );
    237}
     8add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates' );
     9add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates' );
     10add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates' );
  • hide-all-updates/tags/1.0/readme.txt

    r1906842 r1926614  
    1616== Installation ==
    1717After 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  
    11<?php
    2 /*
    3 Plugin Name: Hide All Updates
    4 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.0
    7 Author: WPZA
    8 Author URI: https://www.wpza.net
    9 License: GPLv2 or later
    10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
    11 */
    122defined( 'ABSPATH' ) or die();
    133
    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 ');
     4function wpza_hau__hide_updates() {
     5    global $wp_version;
     6    return( object ) array( 'last_checked'=> time(),'version_checked'=> $wp_version );
    237}
     8add_filter( 'pre_site_transient_update_core', 'wpza_hau__hide_updates' );
     9add_filter( 'pre_site_transient_update_plugins', 'wpza_hau__hide_updates' );
     10add_filter( 'pre_site_transient_update_themes', 'wpza_hau__hide_updates' );
  • hide-all-updates/trunk/readme.txt

    r1906842 r1926614  
    1616== Installation ==
    1717After 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.