mirror of
git://develop.git.wordpress.org/
synced 2025-03-19 19:39:51 +01:00
Significant restructure of the admin image editor interface, but no new functionality. Reorganize editing buttons into a common region at the top of the editor. Move image rotation tools into a pop-out menu. Add 180 degree rotation option. Add scale button to control group. Move sidebar tools next to the editing canvas to improve visual proximity between action and result. Enlarge editing canvas and crop handles. Separate activating crop functions from applying crop. Add numeric inputs for crop & scale values. A long term goal is to move undo/redo and cancel/save into the modal title bar, but that is not feasible without significant updates to the modal framework. Props afercia, karmatosed, nrqsnchz, antpb, chaion07, costdev, peterwilsoncc, antpb, sabernhardt, prashantbhivsane, joedolson. Fixes #50523. git-svn-id: https://develop.svn.wordpress.org/trunk@55919 602fd350-edb4-49c9-b593-d223f7449a82
65 lines
1.8 KiB
Bash
65 lines
1.8 KiB
Bash
##
|
|
# Default configuration options for the local dev environment.
|
|
#
|
|
# All of these options can be overridden by setting them as environment variables before starting
|
|
# the environment. You will need to restart your environment when changing any of these.
|
|
#
|
|
# Below, the following substitutions can be made:
|
|
# - '{version}': any major.minor PHP version from 5.2 onwards.
|
|
##
|
|
|
|
# The site will be available at http://localhost:LOCAL_PORT
|
|
LOCAL_PORT=8889
|
|
|
|
# Where to run WordPress from. Valid options are 'src' and 'build'.
|
|
LOCAL_DIR=build
|
|
|
|
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
|
|
LOCAL_PHP=latest
|
|
|
|
# Whether or not to enable Xdebug.
|
|
LOCAL_PHP_XDEBUG=false
|
|
|
|
##
|
|
# The Xdebug features to enable.
|
|
#
|
|
# By default, the following features are enabled in the local environment:
|
|
# - Development helpers (`develop`).
|
|
# - Step debugging (`debug`).
|
|
#
|
|
# To generate a code coverage report, `coverage` mode must be active.
|
|
#
|
|
# For a full list of accepted values, see https://xdebug.org/docs/all_settings#mode.
|
|
##
|
|
LOCAL_PHP_XDEBUG_MODE=develop,debug
|
|
|
|
# Whether or not to enable Memcached.
|
|
LOCAL_PHP_MEMCACHED=false
|
|
|
|
##
|
|
# The database software to use.
|
|
#
|
|
# Supported values are `mysql` and `mariadb`.
|
|
##
|
|
LOCAL_DB_TYPE=mysql
|
|
|
|
##
|
|
# The database version to use.
|
|
#
|
|
# Defaults to 5.7 with the assumption that LOCAL_DB_TYPE is set to `mysql` above.
|
|
#
|
|
# When using `mysql`, see https://hub.docker.com/r/amd64/mysql for valid versions.
|
|
# When using `mariadb`, see https://hub.docker.com/r/amd64/mariadb for valid versions.
|
|
##
|
|
LOCAL_DB_VERSION=5.7
|
|
|
|
# The debug settings to add to `wp-config.php`.
|
|
LOCAL_WP_DEBUG=true
|
|
LOCAL_WP_DEBUG_LOG=true
|
|
LOCAL_WP_DEBUG_DISPLAY=true
|
|
LOCAL_SCRIPT_DEBUG=true
|
|
LOCAL_WP_ENVIRONMENT_TYPE=local
|
|
|
|
# The URL to use when running e2e tests.
|
|
WP_BASE_URL=http://localhost:${LOCAL_PORT}
|