private function _getCallerScriptPath($sCallerPath)
{
$sCallerPath = trim($sCallerPath);
if ($sCallerPath) {
return $sCallerPath;
}
if (!is_admin()) {
return null;
}
$_sPageNow = AdminPageFramework_Utility::getElement($GLOBALS, 'pagenow');
if (in_array($_sPageNow, array('edit.php', 'post.php', 'post-new.php', 'plugins.php', 'tags.php', 'edit-tags.php', 'term.php'))) {
return AdminPageFramework_Utility::getCallerScriptPath(__FILE__);
}
return null;
}