MyBB Community Forums

Full Version: [B] Plugins update wrong link and tab
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok so here's a bug I found today while updating some plugins at my site.
Go to Admin CP -> Plugins -> Click the Plugin Updates tab
Now in that page there's only one tab while there should be two (Plugins and Plugin Updates) plus the link to Plugin Updates is wrong, there's a missing 's' after 'plugin'.

I searched this forum for a bug report of this bug but couldn't find it, I'm sorry if it has already been reported.
(2009-04-13, 12:05 PM)Pirata Nervo Wrote: [ -> ]Ok so here's a bug I found today while updating some plugins at my site.
Go to Admin CP -> Plugins -> Click the Plugin Updates tab
Now in that page there's only one tab while there should be two (Plugins and Plugin Updates)...
Open the file admin/modules/config/plugin.php and find:
$sub_tabs['update_plugins'] = array(
	'title' => $lang->plugin_updates,
	'link' => "index.php?module=config/plugin&action=check",
	'description' => $lang->plugin_updates_desc
);
Replace with:
$sub_tabs['plugins'] = array(
	'title' => $lang->plugins,
	'link' => "index.php?module=config/plugins",
	'description' => $lang->plugins_desc
);

$sub_tabs['update_plugins'] = array(
	'title' => $lang->plugin_updates,
	'link' => "index.php?module=config/plugins&action=check",
	'description' => $lang->plugin_updates_desc
);
(2009-04-13, 12:05 PM)Pirata Nervo Wrote: [ -> ]...plus the link to Plugin Updates is wrong, there's a missing 's' after 'plugin'.
This issue has already been fixed in the development version.
I know how to fix it. I just didn't know if it had been reported already Toungue
Thanks for letting me know