mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Bump memory_limit for admins in wp-admin. Should help in imports, upgrades, uploads, etc. props MarkJaquith.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c24de5caf8
commit
e07bcb1a0e
@ -84,6 +84,9 @@ else
|
||||
|
||||
require(ABSPATH . 'wp-admin/menu.php');
|
||||
|
||||
if ( current_user_can( 'manage_options' ) )
|
||||
@ini_set( 'memory_limit', apply_filters( 'admin_memory_limit', '256M' ) );
|
||||
|
||||
do_action('admin_init');
|
||||
|
||||
if ( isset($plugin_page) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user