Go to file
Joe McGill f805805f44 Media: Remove medium_large size from `$whitelist_options['media']` in `options.php`.
The `medium_large_size_w` and `medium_large_size_h` options were added to the
$whitelist_options['media'] in options.php in [35479], which causes both options
to be set to `0` when the media settings are changed. When this occurs, the
medium_large image size will no longer be created when an image is uploaded.

Since these options aren't meant to be updated via the settings UI, they can be
safely removed from the whitelist.

Fixes #36531.


git-svn-id: https://develop.svn.wordpress.org/trunk@37435 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-15 22:37:20 +00:00
src Media: Remove medium_large size from `$whitelist_options['media']` in `options.php`. 2016-05-15 22:37:20 +00:00
tests HTTP API: Replace internals with Requests library. 2016-05-13 04:41:45 +00:00
tools/i18n i18n tools: In `StringExtractor` don't strip slashes from URLs. 2016-02-29 20:44:31 +00:00
.editorconfig
.gitignore
.jshintrc
.travis.yml Travis CI: Include `npm prune` in the `before_script` command. 2016-05-01 20:03:59 +00:00
Gruntfile.js Build/Test Tools: Run image tasks only if there are changes 2016-04-15 10:18:03 +00:00
package.json Update grunt-contrib-uglify from ~0.10.0 to ~1.0.1 2016-04-15 16:09:07 +00:00
phpunit.xml.dist Tests: Exclude `ms-files` test group from default PHPUnit config 2016-04-20 17:10:21 +00:00
wp-cli.yml
wp-config-sample.php
wp-tests-config-sample.php Unit Tests: Correct comment in `wp-tests-config-sample.php`. 2016-01-21 20:24:12 +00:00