PageRenderTime 2135ms queryFilters 2ms Sphinxql 1907ms GetByIds 196ms meta 0ms repositoryFilters 6ms languageFilters 3ms sourceFilters 1ms

1,427,616 results for 'php empty repo:adamanthea/sinister-gaming' (2135 ms)

Source

Language

Repository

empty.php https://github.com/llvm-djk/pfff.git | PHP | 13 lines
1<?php
2
2
3// http://php.net/manual/en/function.empty.php
4// empty() does not generate a warning if the variable does not exist. 
10// no error
11if (empty($foo)) {
12}
upgrade.php https://gitlab.com/math4youbyusgroupillinois/WordPress.git | PHP | 118 lines
43$mysql_version  = $wpdb->db_version();
44$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
45if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
63<body class="wp-core-ui">
64<h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
65
73	if ( !$mysql_compat && !$php_compat )
74		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
75	elseif ( !$php_compat )
75	elseif ( !$php_compat )
76		printf( __('You cannot update because <a href="http://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
77	elseif ( !$mysql_compat )
89<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
90<p class="step"><a class="button button-large" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
91<?php
upgrade.php https://gitlab.com/geyson/geyson.git | PHP | 127 lines
49$mysql_version  = $wpdb->db_version();
50$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
51if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
79	if ( !$mysql_compat && !$php_compat )
80		printf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version );
81	elseif ( !$php_compat )
81	elseif ( !$php_compat )
82		printf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version );
83	elseif ( !$mysql_compat )
97<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
98<p class="step"><a class="button button-large" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
99<?php
109	<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
110	<p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
111
events_test.php git://github.com/moodle/moodle.git | PHP | 637 lines
83        $this->assertEquals(2, $event->relateduserid);
84        $expected = array($this->eventcourse->id, 'scorm', 'delete attempts', 'report.php?id=' . $this->eventcm->id,
85                4, $this->eventcm->id);
116        // Check that the legacy log data is valid.
117        $expected = array($this->eventcourse->id, 'scorm', 'pre-view', 'view.php?id=' . $this->eventcm->id,
118                $this->eventscorm->id, $this->eventcm->id);
224        // Check that the legacy log data is valid.
225        $expected = array($this->eventcourse->id, 'scorm', 'report', 'report.php?id=' . $this->eventcm->id . '&mode=basic',
226                $this->eventscorm->id, $this->eventcm->id);
401            'cmi.core.score.raw => 10' => array('cmi.core.score.raw', '10'),
402            // Check an edge case (PHP empty() vs isset()): score value equals to '0'.
403            'cmi.core.score.raw => 0' => array('cmi.core.score.raw', '0'),
409            'cmi.score.raw => 10' => array('cmi.score.raw', '10'),
410            // Check an edge case (PHP empty() vs isset()): score value equals to '0'.
411            'cmi.score.raw => 0' => array('cmi.score.raw', '0'),
class-wp-automatic-updater.php https://bitbucket.org/stephenharris/stephenharris.git | PHP | 923 lines
1<?php
2/**
13 * @since 3.7.0
14 * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php.
15 */
157		else
158			$update = ! empty( $item->autoupdate );
159
190
191			$php_compat = version_compare( phpversion(), $item->php_version, '>=' );
192			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
196
197			if ( ! $php_compat || ! $mysql_compat )
198				return false;
219		// See if we need to notify users of a core update.
220		$notify = ! empty( $item->notify_email );
221
update-core.php https://bitbucket.org/stephenharris/stephenharris.git | PHP | 1,257 lines
826
827	$php_version    = phpversion();
828	$mysql_version  = $wpdb->db_version();
830	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
831	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
832	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
840	if ( !$mysql_compat && !$php_compat )
841		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
842	elseif ( !$php_compat )
842	elseif ( !$php_compat )
843		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
844	elseif ( !$mysql_compat )
915	if ( ! is_wp_error( $result ) ) {
916		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
917			$wp_filesystem->delete( $from, true );
login.php https://github.com/alx/alexgirard.com-blog.git | PHP | 226 lines
1<?php
2/**
7
8// add OpenID input field to wp-login.php
9add_action( 'login_head', 'openid_wp_login_head');
33		finish_openid('login');
34	} else if (!empty($_POST['openid_identifier'])) {
35		openid_start_login( $_POST['openid_identifier'], 'login', array('redirect_to' => $_REQUEST['redirect_to']), site_url('/wp-login.php', 'login_post'));
41		
42	if ($self != 'wp-login.php') return;
43
64/**
65 * Add OpenID input field to wp-login.php
66 *
192		
193	if ($self == 'wp-login.php' && !empty($_POST['openid_identifier'])) {
194		wp_signon(array('user_login'=>'openid', 'user_password'=>'openid'));
Update1_2_9To1_2_10.php https://github.com/jwigal/emcommdb.git | PHP | 727 lines
1<?php
2/*******************************************************************************
174
175$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (7, 'editusers', 'admin', 0, '".gettext('Edit Users')."', 'UserList.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 1)";
176if (!RunQuery($sSQL, FALSE))
326
327$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, '".gettext('Empty Cart')."', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2)";
328if (!RunQuery($sSQL, FALSE))
330
331$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, '".gettext('Empty Cart to Group')."', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3)";
332if (!RunQuery($sSQL, FALSE))
334
335$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, '".gettext('Empty Cart to Family')."', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4)";
336if (!RunQuery($sSQL, FALSE))
338
339$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, '".gettext('Empty Cart to Event')."', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5)";
340if (!RunQuery($sSQL, FALSE))
login.php https://github.com/cuano/pressmark.git | PHP | 225 lines
1<?php
2/**
7
8// add OpenID input field to wp-login.php
9add_action( 'login_head', 'openid_wp_login_head');
33		finish_openid('login');
34	} else if (!empty($_POST['openid_identifier'])) {
35		openid_start_login( $_POST['openid_identifier'], 'login', array('redirect_to' => $_REQUEST['redirect_to']), site_url('/wp-login.php', 'login_post'));
41		
42	if ($self != 'wp-login.php') return;
43
64/**
65 * Add OpenID input field to wp-login.php
66 *
192		
193	if ($self == 'wp-login.php' && !empty($_POST['openid_identifier'])) {
194		wp_signon(array('user_login'=>'openid', 'user_password'=>'openid'));
Update1_2_9To1_2_10.php https://github.com/jwigal/churchinfo.git | PHP | 727 lines
1<?php
2/*******************************************************************************
174
175$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (7, 'editusers', 'admin', 0, '".gettext('Edit Users')."', 'UserList.php', '', 'bAdmin', NULL, 0, 0, NULL, 1, 1)";
176if (!RunQuery($sSQL, FALSE))
326
327$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (43, 'emptycart', 'cart', 0, '".gettext('Empty Cart')."', 'CartView.php?Action=EmptyCart', '', 'bAll', NULL, 0, 0, NULL, 1, 2)";
328if (!RunQuery($sSQL, FALSE))
330
331$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (44, 'carttogroup', 'cart', 0, '".gettext('Empty Cart to Group')."', 'CartToGroup.php', '', 'bManageGroups', NULL, 0, 0, NULL, 1, 3)";
332if (!RunQuery($sSQL, FALSE))
334
335$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (45, 'carttofamily', 'cart', 0, '".gettext('Empty Cart to Family')."', 'CartToFamily.php', '', 'bAddRecords', NULL, 0, 0, NULL, 1, 4)";
336if (!RunQuery($sSQL, FALSE))
338
339$sSQL = "INSERT INTO `menuconfig_mcf` VALUES (46, 'carttoevent', 'cart', 0, '".gettext('Empty Cart to Event')."', 'CartToEvent.php', 'Empty Cart contents to Event', 'bAll', NULL, 0, 0, NULL, 1, 5)";
340if (!RunQuery($sSQL, FALSE))
update-core.php https://github.com/scottbale/kirkwoodcoc.git | PHP | 779 lines
52	$form_action = 'update-core.php?action=do-core-upgrade';
53	$php_version    = phpversion();
54	$mysql_version  = $wpdb->db_version();
63		} else {
64			$php_compat     = version_compare( $php_version, $update->php_version, '>=' );
65			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
71				/* translators: 1: WordPress version number, 2: Minimum required PHP version number, 3: Minimum required MySQL version number, 4: Current PHP version number, 5: Current MySQL version number */
72				$message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $update->current, $update->php_version, $update->mysql_version, $php_version, $mysql_version );
73			elseif ( !$php_compat )
74				/* translators: 1: WordPress version number, 2: Minimum required PHP version number, 3: Current PHP version number */
75				$message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires PHP version %2$s or higher. You are running version %3$s.'), $update->current, $update->php_version, $php_version );
76			elseif ( !$mysql_compat )
132			$('dismissed-updates').show();
133			$('#show-dismissed').toggle(function(){$(this).text('<?php echo $hide_text; ?>');}, function() {$(this).text('<?php echo $show_text; ?>')});
134			$('#show-dismissed').click(function() { $('#dismissed-updates').toggle('slow');});
class-wp-automatic-updater.php https://github.com/scottbale/kirkwoodcoc.git | PHP | 913 lines
1<?php
2/**
13 * @since 3.7.0
14 * @since 4.6.0 Moved to its own file from wp-admin/includes/class-wp-upgrader.php.
15 */
153		else
154			$update = ! empty( $item->autoupdate );
155
186
187			$php_compat = version_compare( phpversion(), $item->php_version, '>=' );
188			if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
192
193			if ( ! $php_compat || ! $mysql_compat )
194				return false;
214		// See if we need to notify users of a core update.
215		$notify = ! empty( $item->notify_email );
216
Validator.php https://gitlab.com/BenasPaulikas/azuolynas.git | PHP | 366 lines
1<?php
2/**
128    /**
129     * @var callable a PHP callable that replaces the default implementation of [[isEmpty()]].
130     * If not set, [[isEmpty()]] will be used to check if a value is empty. The signature
133     */
134    public $isEmpty;
135    /**
135    /**
136     * @var callable a PHP callable whose return value determines whether this validator should be applied.
137     * The signature of the callable should be `function ($model, $attribute)`, where `$model` and `$attribute`
234            $skip = $this->skipOnError && $model->hasErrors($attribute)
235                || $this->skipOnEmpty && $this->isEmpty($model->$attribute);
236            if (!$skip) {
352     * Checks if the given value is empty.
353     * A value is considered empty if it is null, an empty array, or the trimmed result is an empty string.
354     * Note that this method is different from PHP empty(). It will return false when the value is 0.
archives_do.php https://gitlab.com/BGCX262/zyyhong-svn-to-git.git | PHP | 265 lines
1<?php
2require_once(dirname(__FILE__)."/config.php");
3require_once(dirname(__FILE__)."/../include/inc_typelink.php");
4require_once(dirname(__FILE__)."/inc/inc_batchup.php");
5require_once(dirname(__FILE__)."/inc/inc_archives_functions.php");
5require_once(dirname(__FILE__)."/inc/inc_archives_functions.php");
6empty($_COOKIE['ENV_GOBACK_URL']) ? $ENV_GOBACK_URL = "content_list.php" : $ENV_GOBACK_URL=$_COOKIE['ENV_GOBACK_URL'];
7if(empty($dopost)||empty($aid)){
22	$dsql->Close();
23	if($gurl==""){ $gurl="article_edit.php"; }
24	require_once(dirname(__FILE__)."/$gurl");
49    	$dsql->Close();
50    	echo "<script language='javascript'>location.href='{$cfg_plus_dir}/view.php?aid={$aid}';</script>";
51    	exit();
96	$aid = ereg_replace("[^0-9]","",$aid);
97	require_once(dirname(__FILE__)."/inc/inc_archives_functions.php");
98	if(empty($qstr)){
config.inc.php https://gitlab.com/casiazul/colectivoweb.git | PHP | 231 lines
1<?php
2/*
22*  @copyright  2007-2013 PrestaShop SA
23*  @license    http://opensource.org/licenses/osl-3.0.php  Open Software License (OSL 3.0)
24*  International Registered Trademark & Property of PrestaShop SA
26
27require_once(dirname(__FILE__).'/defines.inc.php');
28$start_time = microtime(true);
32
33/* Improve PHP configuration to prevent issues */
34ini_set('upload_max_filesize', '100M');
42/* No settings file? goto installer... */
43if (!file_exists(dirname(__FILE__).'/settings.inc.php'))
44{
74	{
75		if (basename($_SERVER['SCRIPT_NAME']) == 'index.php' && empty($_SERVER['QUERY_STRING']))
76			$_SERVER['REQUEST_URI'] = dirname($_SERVER['SCRIPT_NAME']).'/';
update-core.php https://gitlab.com/damith322/mtsmet.git | PHP | 1,257 lines
826
827	$php_version    = phpversion();
828	$mysql_version  = $wpdb->db_version();
830	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
831	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
832	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
840	if ( !$mysql_compat && !$php_compat )
841		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
842	elseif ( !$php_compat )
842	elseif ( !$php_compat )
843		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
844	elseif ( !$mysql_compat )
915	if ( ! is_wp_error( $result ) ) {
916		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
917			$wp_filesystem->delete( $from, true );
update-core.php https://gitlab.com/dinhkk/Pinotage.git | PHP | 1,260 lines
826
827	$php_version    = phpversion();
828	$mysql_version  = $wpdb->db_version();
830	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
831	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
832	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
840	if ( !$mysql_compat && !$php_compat )
841		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
842	elseif ( !$php_compat )
842	elseif ( !$php_compat )
843		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
844	elseif ( !$mysql_compat )
915	if ( ! is_wp_error( $result ) ) {
916		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
917			$wp_filesystem->delete( $from, true );
update-core.php https://gitlab.com/duban-alexei/WordPress.git | PHP | 1,281 lines
841
842	$php_version    = phpversion();
843	$mysql_version  = $wpdb->db_version();
845	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
846	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
847	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
855	if ( !$mysql_compat && !$php_compat )
856		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
857	elseif ( !$php_compat )
857	elseif ( !$php_compat )
858		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
859	elseif ( !$mysql_compat )
930	if ( ! is_wp_error( $result ) ) {
931		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
932			$wp_filesystem->delete( $from, true );
update-core.php https://gitlab.com/eita/encontre-consumo-responsavel.git | PHP | 1,257 lines
826
827	$php_version    = phpversion();
828	$mysql_version  = $wpdb->db_version();
830	$development_build = ( false !== strpos( $old_wp_version . $wp_version, '-' )  ); // a dash in the version indicates a Development release
831	$php_compat     = version_compare( $php_version, $required_php_version, '>=' );
832	if ( file_exists( WP_CONTENT_DIR . '/db.php' ) && empty( $wpdb->is_mysql ) )
840	if ( !$mysql_compat && !$php_compat )
841		return new WP_Error( 'php_mysql_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher and MySQL version %3$s or higher. You are running PHP version %4$s and MySQL version %5$s.'), $wp_version, $required_php_version, $required_mysql_version, $php_version, $mysql_version ) );
842	elseif ( !$php_compat )
842	elseif ( !$php_compat )
843		return new WP_Error( 'php_not_compatible', sprintf( __('The update cannot be installed because WordPress %1$s requires PHP version %2$s or higher. You are running version %3$s.'), $wp_version, $required_php_version, $php_version ) );
844	elseif ( !$mysql_compat )
915	if ( ! is_wp_error( $result ) ) {
916		if ( ! $wp_filesystem->copy( $from . $distro . 'wp-includes/version.php', $to . 'wp-includes/version.php', true /* overwrite */ ) ) {
917			$wp_filesystem->delete( $from, true );
accounts.php https://gitlab.com/eita/encontre-consumo-responsavel.git | PHP | 524 lines
54	// update user roles from admin
55	if(isset($_POST['action']) && $_POST['action'] == 'update' && strpos($_SERVER['PHP_SELF'],'options.php') !== false){
56		$optionName = $_POST['option_page'];
137		// Untrash
138		if($pagenow == 'post.php' && !empty($_REQUEST['post']) && !empty($_REQUEST['action']) && $_REQUEST['action'] == 'untrash') {
139			$post = get_post($_REQUEST['post']);
189	if (isDirectoryUser()) {
190		if((strpos($_SERVER['PHP_SELF'],'edit.php') !== false) && isset($_GET['post_type']) && ($_GET['post_type'] == 'ait-dir-item')){
191			$query->set('author',$GLOBALS['current_user']->ID);
247
248		$class = empty( $class ) && empty( $_REQUEST['post_status'] ) && empty( $_REQUEST['show_sticky'] ) ? ' class="current"' : '';
249		$status_links['all'] = "<a href='edit.php?post_type=$post_type{$allposts}'$class>" . sprintf( _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $total_posts, 'posts' , 'ait'), number_format_i18n( $total_posts ) ) . '</a>';
453	if (isDirectoryUser()) {
454		if( 'upload.php' == $pagenow || 'admin-ajax.php' == $pagenow || 'media-upload.php' == $pagenow) {
455			$query->set('author', $current_user->ID );
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21