Version Description
- Fixed Error with Remove WordPress Version from Footer in Admin
- Added Help Spot in Settings
- Added border-radius Code to Postboxes and Boxes
- Updated Screenshots
- FAQ Updated
Download this release
Release Info
| Developer | kidsguide |
| Plugin | |
| Version | 3.3.0 |
| Comparing to | |
| See all releases | |
Code changes from version 3.2.0 to 3.3.0
- Function.php +15 -14
- readme.txt +46 -3
Function.php
CHANGED
|
@@ -2,12 +2,12 @@
|
|
| 2 |
/**
|
| 3 |
* @package Disable Updates Manager
|
| 4 |
* @author Websiteguy
|
| 5 |
-
* @version 3.
|
| 6 |
*/
|
| 7 |
/*
|
| 8 |
Plugin Name: Disable Updates Manager
|
| 9 |
Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
|
| 10 |
-
Version: 3.
|
| 11 |
Description: Pick which type of updates you would like to disable. Just use are settings forum.
|
| 12 |
Author: Websiteguy
|
| 13 |
Author URI: http://profiles.wordpress.org/kidsguide/
|
|
@@ -32,7 +32,7 @@ along with this program; if not, write to the Free Software
|
|
| 32 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
| 33 |
*/
|
| 34 |
|
| 35 |
-
define("DISABLEUPDATESMANAGERVERSION", "3.
|
| 36 |
|
| 37 |
class Disable_Updates {
|
| 38 |
// Set status in array
|
|
@@ -258,13 +258,10 @@ define("DISABLEUPDATESMANAGERVERSION", "3.2.0");
|
|
| 258 |
// Remove WordPress Version Number
|
| 259 |
case 'wpv' :
|
| 260 |
|
| 261 |
-
|
| 262 |
-
|
| 263 |
-
|
| 264 |
-
|
| 265 |
-
}
|
| 266 |
-
|
| 267 |
-
add_filter( 'update_footer', 'replace_footer_version', '1234');
|
| 268 |
|
| 269 |
break;
|
| 270 |
|
|
@@ -295,7 +292,7 @@ break;
|
|
| 295 |
<tr>
|
| 296 |
<td>
|
| 297 |
<fieldset>
|
| 298 |
-
<div class="postbox" style="width: 590px;">
|
| 299 |
<H3> Disable Updates</H3>
|
| 300 |
<div class="inside">
|
| 301 |
<label for="all_notify">
|
|
@@ -324,7 +321,7 @@ break;
|
|
| 324 |
<tr>
|
| 325 |
<td>
|
| 326 |
<fieldset>
|
| 327 |
-
<div class="postbox" style="width: 590px;">
|
| 328 |
<H3> Other Settings</H3>
|
| 329 |
<div class="inside">
|
| 330 |
<span style="padding-left: 0px; display:block">
|
|
@@ -344,14 +341,18 @@ break;
|
|
| 344 |
</div>
|
| 345 |
<p class="submit">
|
| 346 |
<input type="submit" class="button-primary" value="<?php _e('Update Settings') ?>" />
|
| 347 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 348 |
</fieldset>
|
| 349 |
</td>
|
| 350 |
</tr>
|
| 351 |
|
| 352 |
<tr>
|
| 353 |
<br>
|
| 354 |
-
<span style="border-style:solid; border-width:2px; border-color:#dd0606; width: 604px; padding-left: 2px; padding-right: 2px; display:block" >
|
| 355 |
<p align="center">
|
| 356 |
<strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out of date, you may run into compatibility problems.
|
| 357 |
</p>
|
| 2 |
/**
|
| 3 |
* @package Disable Updates Manager
|
| 4 |
* @author Websiteguy
|
| 5 |
+
* @version 3.3.0
|
| 6 |
*/
|
| 7 |
/*
|
| 8 |
Plugin Name: Disable Updates Manager
|
| 9 |
Plugin URI: http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
|
| 10 |
+
Version: 3.3.0
|
| 11 |
Description: Pick which type of updates you would like to disable. Just use are settings forum.
|
| 12 |
Author: Websiteguy
|
| 13 |
Author URI: http://profiles.wordpress.org/kidsguide/
|
| 32 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
| 33 |
*/
|
| 34 |
|
| 35 |
+
define("DISABLEUPDATESMANAGERVERSION", "3.3.0");
|
| 36 |
|
| 37 |
class Disable_Updates {
|
| 38 |
// Set status in array
|
| 258 |
// Remove WordPress Version Number
|
| 259 |
case 'wpv' :
|
| 260 |
|
| 261 |
+
function change_footer_admin () {return ' ';}
|
| 262 |
+
add_filter('admin_footer_text', 'change_footer_admin', 9999);
|
| 263 |
+
function change_footer_version() {return ' ';}
|
| 264 |
+
add_filter( 'update_footer', 'change_footer_version', 9999);
|
|
|
|
|
|
|
|
|
|
| 265 |
|
| 266 |
break;
|
| 267 |
|
| 292 |
<tr>
|
| 293 |
<td>
|
| 294 |
<fieldset>
|
| 295 |
+
<div class="postbox" style="width: 590px; border-radius: 4px;">
|
| 296 |
<H3> Disable Updates</H3>
|
| 297 |
<div class="inside">
|
| 298 |
<label for="all_notify">
|
| 321 |
<tr>
|
| 322 |
<td>
|
| 323 |
<fieldset>
|
| 324 |
+
<div class="postbox" style="width: 590px; border-radius: 4px;">
|
| 325 |
<H3> Other Settings</H3>
|
| 326 |
<div class="inside">
|
| 327 |
<span style="padding-left: 0px; display:block">
|
| 341 |
</div>
|
| 342 |
<p class="submit">
|
| 343 |
<input type="submit" class="button-primary" value="<?php _e('Update Settings') ?>" />
|
| 344 |
+
</p>
|
| 345 |
+
<u><h3>Help</h3></u>
|
| 346 |
+
<div style="width:160px;height:30px;border:1px solid #929292; border-radius: 4px; padding-left: 7px; padding-right: 7px;"><center>
|
| 347 |
+
<p><a href="http://wordpress.org/support/plugin/stops-core-theme-and-plugin-updates">Support</a> | <a href="http://www.youtube.com/watch?v=jAqd0SjLQ_M">Tutorial</a> | <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/faq/">FAQ</a></p></center>
|
| 348 |
+
</div>
|
| 349 |
</fieldset>
|
| 350 |
</td>
|
| 351 |
</tr>
|
| 352 |
|
| 353 |
<tr>
|
| 354 |
<br>
|
| 355 |
+
<span style="border-style:solid; border-width:2px; border-color:#dd0606; width: 604px; padding-left: 2px; padding-right: 2px; border-radius: 7px; display:block" >
|
| 356 |
<p align="center">
|
| 357 |
<strong>Please Note! - </strong>If either your WordPress core, theme, or plugins get too out of date, you may run into compatibility problems.
|
| 358 |
</p>
|
readme.txt
CHANGED
|
@@ -10,15 +10,17 @@ A configurable plugin that disables updates. Easy to customize with 5+ settings.
|
|
| 10 |
== Description ==
|
| 11 |
This plugin is 100% configurable! Check the updates you would like to disable in the settings page.
|
| 12 |
|
|
|
|
|
|
|
| 13 |
= Features =
|
| 14 |
<ol>
|
| 15 |
<li>Has a simple settings page to disable any type of update.</li>
|
| 16 |
-
<li>Has extra settings like remove the "updates" page,
|
| 17 |
<li>Disable All Updates setting disables update e-mails, debug e-mails, and more. </li>
|
| 18 |
-
<li>Has a link to Support, FAQ, Settings, and the Tutorial
|
| 19 |
</ol>
|
| 20 |
|
| 21 |
-
To see more features view the screenshots
|
| 22 |
|
| 23 |
= Video Tutorial =
|
| 24 |
[youtube http://www.youtube.com/watch?v=jAqd0SjLQ_M]
|
|
@@ -36,9 +38,43 @@ A: Their are a couple of differences.
|
|
| 36 |
<li>They do not have settings to make it configurable.</li>
|
| 37 |
</ol>
|
| 38 |
|
|
|
|
| 39 |
= Q: If I remove this plugin from my website will I be able to update my plugins, themes, and WordPress core again? =
|
| 40 |
A: Yes, this plugin just disables the update (not removes).
|
| 41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
== Screenshots ==
|
| 43 |
1. Before View Core (Dashboard)
|
| 44 |
4. Before View Plugin (Plugin Page)
|
|
@@ -69,6 +105,13 @@ Their are two way to install "Disable Updates Manager".
|
|
| 69 |
|
| 70 |
== Changelog ==
|
| 71 |
= Versions Available for Downloading =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
= 3.2.0 =
|
| 73 |
* Fixed Please Note Spelling Mistake
|
| 74 |
* Fixed Readme.txt Spelling Mistakes
|
| 10 |
== Description ==
|
| 11 |
This plugin is 100% configurable! Check the updates you would like to disable in the settings page.
|
| 12 |
|
| 13 |
+
Their are also other settings to customize.
|
| 14 |
+
|
| 15 |
= Features =
|
| 16 |
<ol>
|
| 17 |
<li>Has a simple settings page to disable any type of update.</li>
|
| 18 |
+
<li>Has extra settings like remove the "updates" page, remove WordPress core version, or disable background updates. </li>
|
| 19 |
<li>Disable All Updates setting disables update e-mails, debug e-mails, and more. </li>
|
| 20 |
+
<li>Has a link to Support, FAQ, Settings, and the Tutorial.</li>
|
| 21 |
</ol>
|
| 22 |
|
| 23 |
+
To see more features view the <a href="http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/screenshots/">screenshots</a>.
|
| 24 |
|
| 25 |
= Video Tutorial =
|
| 26 |
[youtube http://www.youtube.com/watch?v=jAqd0SjLQ_M]
|
| 38 |
<li>They do not have settings to make it configurable.</li>
|
| 39 |
</ol>
|
| 40 |
|
| 41 |
+
|
| 42 |
= Q: If I remove this plugin from my website will I be able to update my plugins, themes, and WordPress core again? =
|
| 43 |
A: Yes, this plugin just disables the update (not removes).
|
| 44 |
|
| 45 |
+
|
| 46 |
+
= Q: Is it possible to disable one plugin? Are you considering it? =
|
| 47 |
+
A: This plugin does not disable individual plugins or theme. I am considering it but it is hard to do, and I am having trouble with it.
|
| 48 |
+
|
| 49 |
+
If you would like to disable just one plugin for now, follow the steps below.
|
| 50 |
+
|
| 51 |
+
= 1. = Copy the following code into your themes function.php (or child theme).
|
| 52 |
+
|
| 53 |
+
`function stop_plugin_update( $value ) {
|
| 54 |
+
unset( $value->response['smooth-slider/smooth-slider.php'] );
|
| 55 |
+
return $value;
|
| 56 |
+
}
|
| 57 |
+
add_filter( 'site_transient_update_plugins', 'stop_plugin_update' );`
|
| 58 |
+
|
| 59 |
+
= 2. = Get the name of your plugin, and the name of the main plugins file, and put them in the code.
|
| 60 |
+
|
| 61 |
+
`function stop_plugin_update( $value ) {
|
| 62 |
+
unset( $value->response['(Name:) smooth-slider/(Main File Name:) smooth-slider.php'] );
|
| 63 |
+
return $value;
|
| 64 |
+
}
|
| 65 |
+
add_filter( 'site_transient_update_plugins', 'stop_plugin_update' );`
|
| 66 |
+
|
| 67 |
+
= Note =
|
| 68 |
+
If the plugin that you would like to disable the updates for has changed names, then you must look in the URL to find the proper name.
|
| 69 |
+
|
| 70 |
+
EX) http://wordpress.org/plugins/stops-core-theme-and-plugin-updates/
|
| 71 |
+
|
| 72 |
+
You take the last part.
|
| 73 |
+
|
| 74 |
+
stops-core-theme-and-plugin-updates
|
| 75 |
+
|
| 76 |
+
= 3. = Refresh the function.php (or functions.php) and it should disable it.
|
| 77 |
+
|
| 78 |
== Screenshots ==
|
| 79 |
1. Before View Core (Dashboard)
|
| 80 |
4. Before View Plugin (Plugin Page)
|
| 105 |
|
| 106 |
== Changelog ==
|
| 107 |
= Versions Available for Downloading =
|
| 108 |
+
= 3.3.0 =
|
| 109 |
+
* Fixed Error with Remove WordPress Version from Footer in Admin
|
| 110 |
+
* Added Help Spot in Settings
|
| 111 |
+
* Added border-radius Code to Postboxes and Boxes
|
| 112 |
+
* Updated Screenshots
|
| 113 |
+
* FAQ Updated
|
| 114 |
+
|
| 115 |
= 3.2.0 =
|
| 116 |
* Fixed Please Note Spelling Mistake
|
| 117 |
* Fixed Readme.txt Spelling Mistakes
|
