Apparently there’s an upload_size_limit
filter in WordPress. To check what your site’s upload limit is set to, add this to your theme’s functions.php
:
add_action( 'shutdown', 'wpse115322_upload_sizes', 99 );
function wpse115322_upload_sizes() {
$size = wp_max_upload_size();
$kb = $size/1024;
$mb = $size/(1024*1024);
echo( "$kb KB / $mb MB<br />\n" );
}
That’ll print your site’s actual max file size at the bottom of every page. If it’s less than you anticipated, it could be that a plugin or your theme has set it low. Try disabling all plugins, then turn them on one by one till you find the culprit. If it’s not a plugin, try switching to a default theme (Twenty Ten/Eleven/Twelve/Thirteen).
Reference
wp_max_upload_size()
(The filter upload_size_limit
is mentioned in the source)
Related Posts:
- How to increase the file size limit for media uploads?
- Disable image attachment links
- Using Image insert control in code
- Upload media file problem
- The uploaded file exceeds!
- How do I change the upload file size limit in single-site wordpress install?
- Create custom fields as image uploads [duplicate]
- Why is unfiltered_upload not working despite being enabled?
- Can I manage the photos that are pulled from Instagram before they are uploaded?
- wp.media – drag&drop overlay stuck
- OSX El Capitan local install Maximum upload file size: 2 MB But php.ini set to 64M
- Organising and display thousands of photos in media library
- No wp-admin, wp-config, or .htaccess folder/file
- fails upload images in posts + wp-admin/upload.php 403 error
- How can I add an image upload field directly to a custom write panel?
- Changing Admin Menu Labels
- Is there ANY way to remove comments function and section totally?
- Unit testing in the WordPress backend (is_admin() is true)
- How can I improve the line break handling in the WYSIWYG editor?
- How do I change the login logo URL and hover title?
- js error on post editing page
- How to add a custom metabox to the Menu Management admin screen?
- How to change the wording in wp-admin back-end?
- How to make ajax call in wordpress in right way?
- Bulk Delete Users Error uri too large
- Can you change the main heading of a page in the WordPress admin (without output buffering or JavaScript)?
- Add column to pages table
- Change the Return URL from the Customizer
- Where can I edit Admin Panel Page file
- remove plugin admin menu in wordpress without installing plugin in v3.8.1
- From 403 error to 500 internal server error
- Only allow administrators and editors to access wp-admin
- I cannot log into my wordpress site with my wp-login.php [closed]
- How to change the label text in default setting pages?
- Create a admin page in wordpress without admin menus (“wordpress sidebars”)
- Where are the admin notifications stored?
- How to sort comments in the “edit-comments.php” table based on a comment meta field?
- I set wp_set_auth_cookie but wp_validate_auth_cookie returns false
- Why do I keep losing links when I switch to visual editor in WordPress
- New wordpress install, what are the reasons the “Install Themes” tab is missing?
- Customise WordPress Update Notice in wp-admin backend area
- wp_comments table really big casuing /wp-admin/edit-comments.php to slowly load
- I get a 404 page on /wp-admin but not wp-login but as soon as I login I get a 404 again [closed]
- I want to disable login of admin (/wp-admin) with email and make it accessible only with username
- password reset link being sent as HTTP?
- Restrict Author role to only 3 wp-admin pages
- Post.php is blocked by server? How to unblock? [closed]
- WP-Admin shows (1) update but there is no update for plugin, theme or WordPress
- Do I have to face security problems if I changing default role to Contributor
- wp-admin 302 redirects
- Generate PDF using tcpdf from WordPress admin side custom page [closed]
- Editor’s role in WP
- Minimum version for WordPress Backbone
- I accidentally deleted an admin user and all their content is now gone from the site. [closed]
- Detect Featured Image remove while editing post in wp-admin (client-side)
- Cannot log in to the admin, no error message [closed]
- Is wp-admin/about.php required? Can i omit it from my website
- Need help for WordPress User Session Management?
- Create reviews and star-rating for user accounts in wp-admin [closed]
- Disable Admin CP authentication (or auto login)
- can’t access backend while frontend works perfect
- Admin top level menu, pointing to an external url
- How to add Extra Column of post Status in All post page
- Developer/Designer asking for admin access
- WordPress Child theme fails to override parent theme css
- How to change home page only in WordPress
- User Roles: How to hide a plugin from showing in WP-Admin?
- Too Many Redirects – WP-Admin Only
- Admin menu success message
- Pages section (only) not loading after publishing large number of pages
- Users can login to Website from wp-admin prior to confirmation email
- wp-admin 503 error
- Admin Page access
- Add HTML to custom post type edit page
- WP site after login keeps redirecting to looped url [closed]
- Locked out of site admin after change of URL
- Login issue with subdomain installs
- WordPress Admin Login Issue
- Edit “Not Available” Page
- admin-ajax and external service interaction
- Add admin page to the top of the admin panel
- Admin page changes the $_POST data
- site identity will not update [closed]
- Remove menu item dashboard for a unique user
- Reestablishing Automatic and Secure FTP Connection, Primary Domain Change
- str_replace in wp-admin
- Admin area is not loading properly
- WordPress logged in but no access to wp-admin
- Changed the path to wp-login and now can’t access WPress dashboard
- Why my login panel has a wrong language?
- Using meta_query in add_query_arg
- Mixed content and expired session issues with SSL and wp-admin
- Limit access to wp-admin but still be able to log in from different locations?
- How to Filter in the “Add Media Popup” to show only “unattached” Media
- Working with post values in the admin panel
- wordpress login blank screen [closed]
- wp-admin blank page after admin login and all security off
- Can a wordpress admin see my failed Login attempts?
- My website does not load since two days!
- how to Hide all products except the General Manager role in the WordPress admin panel?