Skip to content

Commit 0591024

Browse files
1.6.3 Release
* PHP 7.2 compatibility (Thanks catmaniax!)
1 parent 817d349 commit 0591024

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

disable-updates.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
Plugin Name: Disable All WordPress Updates
1111
Description: Disables the theme, plugin and core update checking, the related cronjobs and notification system.
1212
Plugin URI: https://wordpress.org/plugins/disable-wordpress-updates/
13-
Version: 1.6.2
13+
Version: 1.6.3
1414
Author: Oliver Schlöbe
1515
Author URI: https://www.schloebe.de/
1616
License: GPL2
1717
18-
Copyright 2013-2017 Oliver Schlöbe (email : [email protected])
18+
Copyright 2013-2018 Oliver Schlöbe (email : [email protected])
1919
2020
This program is free software; you can redistribute it and/or modify
2121
it under the terms of the GNU General Public License as published by
@@ -37,7 +37,7 @@
3737
/**
3838
* Define the plugin version
3939
*/
40-
define("OSDWPUVERSION", "1.6.2");
40+
define("OSDWPUVERSION", "1.6.3");
4141

4242

4343
/**
@@ -194,7 +194,6 @@ function admin_init() {
194194
* Disable Core Updates
195195
* 2.8 to 3.0
196196
*/
197-
add_action( 'init', create_function( '', 'remove_action( \'init\', \'wp_version_check\' );' ), 2 );
198197
add_filter( 'pre_option_update_core', '__return_null' );
199198

200199
remove_action( 'wp_version_check', 'wp_version_check' );

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ None. :)
5757

5858
== Changelog ==
5959

60+
= 1.6.3 =
61+
* PHP 7.2 compatibility (Thanks catmaniax!)
62+
6063
= 1.6.2 =
6164
* Performance improvements (Thanks again jneto81!)
6265

0 commit comments

Comments
 (0)