2012-08-24, 01:31:09
shawn_a Wrote:ahhh yeah normally you could do a
Code:if (basename($_SERVER['PHP_SELF']) == 'load.php' && !isset($_REQUEST['id']))
but i18n replaces this with
load.php?id=i18n_base
so youd have to change that to
Code:if (basename($_SERVER['PHP_SELF']) == 'load.php' && $_REQUEST['id']=='i18n_base')
I think
The problem is that I would need to test for pages.php, edit.php, etc. and then for load.php, but not only for my plugins, but for all plugins on the pages sidebar - I didn't find a way to determine, if the current tab is "Pages".