PageRenderTime 2100ms queryFilters 0ms Sphinxql 1915ms GetByIds 118ms meta 0ms repositoryFilters 4ms languageFilters 2ms sourceFilters 1ms

1,427,616 results for 'php empty repo:jhunsinfotech/blue-blues' (2100 ms)

Source

Language

Repository

cap-interceptor_rs.php https://github.com/adityag2/suneha.git | PHP | 1,010 lines
285
286						if ( ( false !== $key ) && ! $doing_admin_menus && in_array( $pagenow, array( 'edit.php', 'post.php', 'post-new.php', 'press-this.php', 'admin-ajax.php', 'upload.php', 'media.php' ) ) ) {				
287							$rs_reqd_caps[$key] = $object_type_obj->cap->$post_cap_name;
353			if ( ! $doing_admin_menus ) {
354				if ( ! empty($_REQUEST['action']) && in_array( $pagenow, array('edit.php','edit-tags.php') ) )
355					$this->skip_id_generation = true;
443			
444			if ( defined('RVY_VERSION') && in_array( $pagenow, array('edit.php', 'edit-tags.php', 'admin-ajax.php') ) && ( ! empty($_REQUEST['action']) && ( -1 != $_REQUEST['action'] ) ) ) {
445				$rs_reqd_caps = Rvy_Helper::fix_table_edit_reqd_caps( $rs_reqd_caps, $args[0], $_post, $object_type_obj );
553
554		$maybe_attachment = in_array( $pagenow, array( 'upload.php', 'media.php' ) );
555
617		// Page refresh following publishing of new page by users who can edit by way of Term Role fails without this workaround
618		if ( ! empty( $_POST ) && ( defined( 'SCOPER_CACHE_SAFE_MODE' ) || ( in_array( $pagenow, array( 'post.php', 'press-this.php' ) ) && ( $args[0] == $object_type_obj->cap->edit_post ) ) ) ) {
619			$force_refresh = true;
role-scoper_init.php https://github.com/adityag2/suneha.git | PHP | 1,047 lines
361	if ( ! isset( $optval ) ) {
362		if ( ! empty($scoper_default_options) && ! empty( $scoper_default_options[$option_basename] ) )
363			$optval = $scoper_default_options[$option_basename];
895
896	if ( ! empty( $GLOBALS['post'] ) && is_object($GLOBALS['post']) && ! empty( $GLOBALS['post']->post_type ) ) {
897		$object_type = $GLOBALS['post']->post_type;
907		
908	} elseif ( in_array( $pagenow, array( 'post-new.php', 'edit.php' ) ) ) {
909		$object_type = ! empty( $_GET['post_type'] ) ? $_GET['post_type'] : 'post';
913
914	} elseif ( in_array( $pagenow, array( 'admin-ajax.php' ) ) && ! empty( $_REQUEST['taxonomy'] ) ) {
915		$object_type = $_REQUEST['taxonomy'];
920				
921	} elseif ( ! empty( $_GET['post'] ) ) {	 // post.php
922		if ( $_post = get_post( $_GET['post'] ) )
utils.php https://github.com/vincentamari/SuperSweetAdmin.git | PHP | 4,193 lines
176	'upload_badext' => empty($upload_badext) ? array (
177	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
178	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ) : $upload_badext,
300	'upload_badext' => array (
301	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
302	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ),
1806	if(isset($_SERVER['PHP_SELF'])) {
1807		if (!empty($_SERVER['PHP_SELF'])) clean_string($_SERVER['PHP_SELF'], 'SAFED_GET');
1808	}
2480function check_php_version($sys_php_version = '') {
2481	$sys_php_version = empty($sys_php_version) ? constant('PHP_VERSION') : $sys_php_version;
2482	// versions below $min_considered_php_version considered invalid by default,
3424	if(function_exists('json_encode')) {
3425		$phpInfo = getPhpInfo(8);
3426        return version_compare($phpInfo['json']['json version'], '1.1.1', '<');
propal.php https://github.com/zeert/dolibarr.git | PHP | 1,806 lines
372    			$newlang='';
373    			if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
374    			if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
1448$reshook=$hookmanager->executeHooks('formObjectOptions',$parameters,$object,$action);    // Note that $action and $object may have been modified by hook
1449if (empty($reshook) && ! empty($extrafields->attribute_label))
1450{
1620		{
1621			print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=reopen'.(empty($conf->global->MAIN_JUMP_TAG)?'':'#reopen').'"';
1622			print '>'.$langs->trans('ReOpen').'</a>';
1661		{
1662			print '<a class="butAction" href="'.$_SERVER["PHP_SELF"].'?id='.$object->id.'&amp;action=statut'.(empty($conf->global->MAIN_JUMP_TAG)?'':'#close').'"';
1663			print '>'.$langs->trans('Close').'</a>';
1737        $newlang='';
1738        if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1739        if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
class.admin.php https://github.com/ArzuA/gitwordpress.git | PHP | 1,916 lines
428		$active = 'email' == $current_tab ? 'nav-tab-active' : '';
429		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-settings&tab=email' ); ?>"><?php _e( 'Email Settings', 'it-l10n-ithemes-exchange' ); ?></a><?php
430	}
451		$active = 'pages' == $current_tab ? 'nav-tab-active' : '';
452		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-settings&tab=pages' ); ?>"><?php _e( 'Pages', 'it-l10n-ithemes-exchange' ); ?></a><?php
453	}
494		$active = 'enabled' == $current_tab ? 'nav-tab-active' : '';
495		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=enabled' ); ?>"><?php _e( 'Enabled', 'it-l10n-ithemes-exchange' ); ?></a><?php
496	}
505		$active = 'disabled' == $current_tab ? 'nav-tab-active' : '';
506		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=disabled' ); ?>"><?php _e( 'Disabled', 'it-l10n-ithemes-exchange' ); ?></a><?php
507	}
546		$active = 'get-more' == $current_tab ? 'nav-tab-active' : '';
547		?><a class="nav-tab <?php echo $active; ?>" href="<?php echo admin_url( 'admin.php?page=it-exchange-addons&tab=get-more' ); ?>"><?php _e( 'Get More', 'it-l10n-ithemes-exchange' ); ?></a><?php
548	}
utils.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 5,084 lines
186	'upload_badext' => empty($upload_badext) ? array (
187	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
188	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ) : $upload_badext,
331	'upload_badext' => array (
332	'php', 'php3', 'php4', 'php5', 'pl', 'cgi', 'py',
333	'asp', 'cfm', 'js', 'vbs', 'html', 'htm' ),
1997	if(isset($_SERVER['PHP_SELF'])) {
1998		if (!empty($_SERVER['PHP_SELF'])) clean_string($_SERVER['PHP_SELF'], 'SAFED_GET');
1999	}
2871function check_php_version($sys_php_version = '') {
2872	$sys_php_version = empty($sys_php_version) ? constant('PHP_VERSION') : $sys_php_version;
2873	// versions below $min_considered_php_version considered invalid by default,
3770
3771	// http://us3.php.net/manual/en/ref.pcre.php#ini.pcre.backtrack-limit
3772	// starting with 5.2.0, backtrack_limit breaks JSON decoding
main.php https://github.com/gbby/folders2web.git | PHP | 814 lines
1<?php
2
34 *
35 * Please have a look at the "mediamanager.php" and "detail.php" file in the
36 * same folder, they are also influencing the var's value.
53}
54if (!empty($vector_action) &&
55    $vector_action !== "article" &&
417    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
418<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo hsc($conf["lang"]); ?>" lang="<?php echo hsc($conf["lang"]); ?>" dir="<?php echo hsc($lang["direction"]); ?>">
419<head>
432//are slashes "/" used for the keynames (see bugreport for more information:
433//<http://bugs.php.net/bug.php?id=49692>). to trigger this workaround, simply
434//delete/rename vector's style.ini.
435if (!file_exists(DOKU_TPLINC."style.ini")){
436    echo  "<link rel=\"stylesheet\" media=\"all\" type=\"text/css\" href=\"".DOKU_TPL."bug49642.php".((!empty($lang["direction"]) && $lang["direction"] === "rtl") ? "?langdir=rtl" : "")."\" />\n"; //var comes from DokuWiki core
437}
v1.php https://github.com/svn2github/efront-lms.git | PHP | 1,613 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
Themes.php https://github.com/Arantor/Elkarte.git | PHP | 2,214 lines
396		foreach ($context['themes'] as $k => $v)
397			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
398				unset($context['themes'][$k]);
706
707	if (empty($_GET['th']) && empty($_GET['id']))
708		return action_admintheme();
1441		// This happens when the admin session is gone and the user has to login again
1442		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1443			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
2097	{
2098		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2099			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2112	{
2113		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2114			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
Themes.php https://github.com/smf-portal/SMF2.1.git | PHP | 2,205 lines
392		foreach ($context['themes'] as $k => $v)
393			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
394				unset($context['themes'][$k]);
1437		// This happens when the admin session is gone and the user has to login again
1438		if (empty($_FILES['theme_gz']) && empty($_REQUEST['theme_gz']))
1439			redirectexit('action=admin;area=theme;sa=admin;' . $context['session_var'] . '=' . $context['session_id']);
1546
1547					if (empty($explicit_images) && !empty($install_info['base_theme_url']))
1548						$install_info['theme_url'] = $install_info['base_theme_url'];
2086	{
2087		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2088			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2101	{
2102		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2103			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
SugarView.php https://github.com/vincentamari/SuperSweetAdmin.git | PHP | 1,249 lines
1<?php
2/*********************************************************************************
302        $company_logo_attributes = sugar_cache_retrieve('company_logo_attributes');
303        if(!empty($company_logo_attributes)) {
304            $ss->assign("COMPANY_LOGO_MD5", $company_logo_attributes[0]);
341        $global_control_links = array();
342        require("include/globalControlLinks.php");
343
449                // We are using grouped tabs
450                require_once('include/GroupedTabs/GroupedTabStructure.php');
451                $groupedTabsClass = new GroupedTabStructure();
848    {
849        if (isset($this->bean) && !empty($this->bean->id) && (file_exists('modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/metadata/subpaneldefs.php') || file_exists('custom/modules/' . $this->module . '/Ext/Layoutdefs/layoutdefs.ext.php'))) {
850            $GLOBALS['focus'] = $this->bean;
858    {
859        if (!empty($GLOBALS['current_user']) && empty($GLOBALS['modListHeader']))
860            $GLOBALS['modListHeader'] = query_module_access_list($GLOBALS['current_user']);
fiche.php https://github.com/zeert/dolibarr.git | PHP | 1,341 lines
1<?php
2/* Copyright (C) 2002-2007	Rodolphe Quiedeville	<rodolphe@quiedeville.org>
28require_once(DOL_DOCUMENT_ROOT."/core/class/html.formfile.class.php");
29require_once(DOL_DOCUMENT_ROOT."/fichinter/class/fichinter.class.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
30require_once(DOL_DOCUMENT_ROOT."/core/modules/fichinter/modules_fichinter.php");
31require_once(DOL_DOCUMENT_ROOT."/core/lib/fichinter.lib.php");
32require_once(DOL_DOCUMENT_ROOT."/core/lib/date.lib.php");
37}
38if (! empty($conf->global->FICHEINTER_ADDON) && is_readable(DOL_DOCUMENT_ROOT ."/core/modules/fichinter/mod_".$conf->global->FICHEINTER_ADDON.".php"))
39{
886
887    $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>';
888
1271            $newlang='';
1272            if ($conf->global->MAIN_MULTILANGS && empty($newlang) && ! empty($_REQUEST['lang_id'])) $newlang=$_REQUEST['lang_id'];
1273            if ($conf->global->MAIN_MULTILANGS && empty($newlang)) $newlang=$object->client->default_lang;
class-supportflow-admin.php https://github.com/SupportFlow/supportflow.git | PHP | 1,296 lines
68
69		if ( in_array( $pagenow, array( 'post.php', 'post-new.php' ) ) ) {
70			wp_enqueue_media();
256
257		$class    = empty( $class ) && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : '';
258		$view_all = "<a href='edit.php?post_type=$post_type'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' ), number_format_i18n( $total_posts ) ) . '</a>';
790							<?php foreach ( $post_statuses as $slug => $post_status ) : ?>
791								<option value="<?php esc_attr_e( $slug ) ?>"<?php selected( $current_status_id, $slug ) ?>><?php esc_html_e( $post_status['label'] ) ?></option>;
792							<?php endforeach; ?>
1183
1184		if ( in_array( $pagenow, array( 'edit.php', 'post-new.php' ) ) && ! empty( $_GET['post_type'] ) && $_GET['post_type'] == SupportFlow()->post_type ) {
1185			return $pagenow;
1185			return $pagenow;
1186		} elseif ( 'post.php' == $pagenow && ! empty( $_GET['action'] ) && 'edit' == $_GET['action'] && ! empty( $_GET['post'] ) ) {
1187			$the_post = get_post( absint( $_GET['post'] ) );
Themes.php https://github.com/dekoza/openshift-smf-2.0.7.git | PHP | 2,163 lines
370
371	if (empty($_GET['th']) && empty($_GET['id']))
372	{
439		foreach ($context['themes'] as $k => $v)
440			if (empty($v['theme_dir']) || (!file_exists($v['theme_dir'] . '/Settings.template.php') && empty($v['num_members'])))
441				unset($context['themes'][$k]);
1330
1331	if ((!empty($_FILES['theme_gz']) && (!isset($_FILES['theme_gz']['error']) || $_FILES['theme_gz']['error'] != 4)) || !empty($_REQUEST['theme_gz']))
1332		$method = 'upload';
2044	{
2045		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/' . $_REQUEST['template'] . '.template.php'))
2046			$filename = $base_theme_dir . '/' . $_REQUEST['template'] . '.template.php';
2059	{
2060		if (!empty($base_theme_dir) && file_exists($base_theme_dir . '/languages/' . $_REQUEST['lang_file'] . '.php'))
2061			$filename = $base_theme_dir . '/languages/' . $_REQUEST['template'] . '.php';
install.php https://github.com/BarnetikKoop/SuiteCRM.git | PHP | 609 lines
42if (version_compare(phpversion(),'5.2.0') < 0) {
43	$msg = 'Minimum PHP version required is 5.2.0.  You are using PHP version  '. phpversion();
44    die($msg);
226
227if(empty($sugar_config['cache_dir']) && !empty($_SESSION['cache_dir'])) {
228    $sugar_config['cache_dir'] = $_SESSION['cache_dir'];
292// Add check here to see if a silent install config file exists; if so then launch silent installer
293elseif ( is_file('config_si.php') && empty($sugar_config['installer_locked'])) {
294
337
338    $exclude_files = array('complete_install.php','register.php','download_modules.php');
339
503        // check to see if installer has been disabled
504        if(is_readable('config.php') && (filesize('config.php') > 0)) {
505            include_once('config.php');
functions.php https://github.com/DigitalPaulScholtenProject/DPSP-Platform.git | PHP | 1,509 lines
30include_once(CFCT_PATH.'functions/tinymce-upload/image-popup.php');
31include_once(CFCT_PATH.'functions/phpquery/phpquery.php');
32include_once(CFCT_PATH.'functions/anno-xml-download.php');
1032			<td class="first b"><a href="<?php echo esc_url($base_edit_link); ?>"><?php echo number_format_i18n($total_records); ?></a></td>
1033			<td class="t"><a href="<?php echo esc_url($base_edit_link); ?>"><?php _e('Articles', 'anno'); ?></a></td>
1034		</tr>
1039				<td class="first b"><a href="<?php echo esc_url($details['url']); ?>"><?php echo esc_html(number_format_i18n($details['count'])); ?></a></td>
1040				<td class="t"><a class="<?php echo esc_attr($details['class']); ?>" href="<?php echo esc_url($details['url']); ?>"><?php echo esc_html($details['i18n']); // already i18n'd ?></a></td>
1041			</tr>
1165	global $post;
1166	if (($hook_suffix == 'post-new.php' || $hook_suffix == 'post.php') && (!empty($post->post_type) && $post->post_type == 'article')) {
1167?>
1257function anno_edit_post_assets($hook_suffix) {
1258	if ($hook_suffix == 'post.php' || $hook_suffix == 'post-new.php') {
1259		global $post;
v1.php https://github.com/wrobel/horde-glue.git | PHP | 1,612 lines
237/**
238 * Error code when a php5 package is packaged in php4 (analysis doesn't work)
239 */
1043                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1044                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1045                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1151                }
1152                if ($d['type'] == 'php' && !empty($d['name'])) {
1153                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1154                        array('index' => $i, 'name' => $d['name']));
1155                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1156                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1158                }
1159                if ($d['type'] == 'php' && empty($d['version'])) {
1160                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://github.com/oilcf/agilebill.git | PHP | 1,596 lines
16 * @copyright  1997-2005 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.67 2005/10/27 05:07:24 cellog Exp $
1041                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1042                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1043                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1149                }
1150                if ($d['type'] == 'php' && !empty($d['name'])) {
1151                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1152                        array('index' => $i, 'name' => $d['name']));
1153                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1154                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1156                }
1157                if ($d['type'] == 'php' && empty($d['version'])) {
1158                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
v1.php https://github.com/organicinternet/magento-design-training.git | PHP | 1,618 lines
16 * @copyright  1997-2008 The PHP Group
17 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
18 * @version    CVS: $Id: v1.php,v 1.74 2008/01/03 20:26:36 cellog Exp $
1049                PEAR_PACKAGEFILE_ERROR_PHP5 =>
1050                    'Error, PHP5 token encountered in %file%, analysis should be in PHP5',
1051                PEAR_PACKAGEFILE_ERROR_FILE_NOTFOUND =>
1157                }
1158                if ($d['type'] == 'php' && !empty($d['name'])) {
1159                    $this->_validateWarning(PEAR_PACKAGEFILE_ERROR_DEPNAME_IGNORED,
1160                        array('index' => $i, 'name' => $d['name']));
1161                } elseif ($d['type'] != 'php' && empty($d['name'])) {
1162                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPNAME,
1164                }
1165                if ($d['type'] == 'php' && empty($d['version'])) {
1166                    $this->_validateError(PEAR_PACKAGEFILE_ERROR_NO_DEPPHPVERSION,
role-scoper_init.php https://bitbucket.org/broderboy/nycendurance-wordpress | PHP | 1,043 lines
357	if ( ! isset( $optval ) ) {
358		if ( ! empty($scoper_default_options) && ! empty( $scoper_default_options[$option_basename] ) )
359			$optval = $scoper_default_options[$option_basename];
891
892	if ( ! empty( $GLOBALS['post'] ) && is_object($GLOBALS['post']) && ! empty( $GLOBALS['post']->post_type ) ) {
893		$object_type = $GLOBALS['post']->post_type;
903		
904	} elseif ( in_array( $pagenow, array( 'post-new.php', 'edit.php' ) ) ) {
905		$object_type = ! empty( $_GET['post_type'] ) ? $_GET['post_type'] : 'post';
909
910	} elseif ( in_array( $pagenow, array( 'admin-ajax.php' ) ) && ! empty( $_REQUEST['taxonomy'] ) ) {
911		$object_type = $_REQUEST['taxonomy'];
916				
917	} elseif ( ! empty( $_GET['post'] ) ) {	 // post.php
918		if ( $_post = get_post( $_GET['post'] ) )
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21