• Resolved soumyadip

    (@soumyadip)


    Could you please tell me how to remove the callout with ‘number of plugins requiring upgrading’ from admin menu? Thanks a ton.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Can you be a little more specific about what you want to do?

    Are you asking how to stop plugins bugging you about upgrading to a newer version?

    Thread Starter soumyadip

    (@soumyadip)

    Yeah that’s correct and then as the plug-in bugs me to upgrade there is a number in a callout blob next to the ‘Plugins’ item in the admin menu – and I want to remove that.

    Well i think the version check is made by checking this row in the options table.
    _transient_update_plugins

    If the version there is lower then the current available one you are asked to update.

    (I think)..

    I think if you modified the above entry and set the versions to higher numbers it would in essence fool WordPress into thinking you’re current and upto date with plugins…

    Setting the version to 99.0 or something should be good for some time..

    Assuming it works of course..

    You can modify via phpmyadmin, should take no more then a minute, though backup if in doubt, and be careful with what you change… i’m not taking resposiblity if you mess something up… lol.. ??

    You could also check the plugins that exist and their versions with a small piece of code like so…

    <?php
    $checked_plugins = get_option('_transient_update_plugins');
    $checked = '<h3>Plugins present in plugins folder.</h3>';
    if(is_array($checked_plugins->checked)) {
    	$checked .= '<ul style="list-style:none inside">';
    	foreach ( $checked_plugins->checked as $plugin => $version ) {
    		$checked .= '
    		<li style="padding:5px"><strong>Plugin : </strong>';
    		if(strlen(dirname($plugin)) < 3) $checked .= str_replace('.php','',basename($plugin));
    		else $checked .= dirname($plugin);
    		$checked .= '</li>
    		<li style="padding:5px"><strong>Version : </strong>'.$version.'</li>
    		<li style="height:1px;border-top:1px solid #e6e6e6"></li>
    		';
    	}
    	$checked .= '</ul>';
    }
    print $checked;
    ?>

    This code will essentially grab the option from the database and format it so you can see which plugins are present (installed or not) and their current versions as recorded by WordPress.

    Although i’m pretty sure if you drop that row from the options table WordPress will go ahead and recreate it with the necessary information (though don’t quote me on that one).

    Thread Starter soumyadip

    (@soumyadip)

    Thanks a ton for that – not sure how to get into wp options though?

    Phpmyadmin? If you have CPanel with your host you should have this..

    If not, i can write you something to update/drop the row in options table…

    I’d need to see the output from the code above first though.

    Thread Starter soumyadip

    (@soumyadip)

    Is phpmyadmin a plugin that I need to install. Is there any way to do it without the plugin then?

    Phpmyadmin is a tool that interacts with mysql databases. If your website is on a linux based pc with Cpanel you’ll most likely have this..

    If you have no idea what i’m talking about then it’s proberly not a good idea to go fiddling with entries in the database anyway…

    Why don’t you just update your plugins?

    Thread Starter soumyadip

    (@soumyadip)

    The problem with updating the plugins is that the whole site has been totally customised to look different and updating the plugins will break it.

    Why’s that? Have you modified the plugins?

    You could copy the plugins in the plugins folder, move the copy somewhere as a backup…

    Update, then copy across the changes you made again… (assuming you did indeed modify plugin code)..

    If you’re competent enough to modify plugins and customise them, surely you’re also capable of updating and copying code back in?..

    You could as a safety measure take a backup of the site and install it locally (WAMP, XAMP, Uniform Server – or whichever you prefer) then do any update tests there first…

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to remove callout with number of plugins requiring upgrading from admin men?’ is closed to new replies.