Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherry Pick PR's for WordPress 5.4 RC 1 #20593

Merged
merged 27 commits into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
459aa48
wp-env: no longer show error message twice (#20157)
noahtallen Feb 13, 2020
670cb4d
wp-env: Add custom ports to .wp-env.json (#20158)
noahtallen Feb 13, 2020
2fd52c0
wp-env: Fix issue where docker & wp had different URLs (#20228)
noahtallen Feb 14, 2020
9204794
wp-env: override generated file directory with environment var… (#20253)
noahtallen Feb 19, 2020
61b567c
Env: Add debug mode. (#20348)
epiqueras Feb 21, 2020
f7d182d
Env: Add support for local override files. (#20341)
epiqueras Feb 21, 2020
cf6cc4b
Env: Check for legacy installs and provide the option to delete them.…
epiqueras Feb 21, 2020
038d757
Env: Support wp-config.php overrides. (#20352)
epiqueras Feb 21, 2020
0c87245
@wordpress/env: Fix testsPath on local sources (#20353)
noisysocks Feb 24, 2020
c2ae55c
@wordpress/env: Use user with UID=33 to run WP CLI commands (#20403)
noisysocks Feb 24, 2020
35fee42
Remove !important override from Buttons block (#20433)
marekhrabe Feb 25, 2020
5abecf4
Env: Add support for ZIP URL sources. (#20426)
epiqueras Feb 26, 2020
4261c86
Block Library: Social Link: Fix label attribute type as string (#20468)
aduth Feb 26, 2020
f73f002
Block Library: Social Link: Escape generated class name (#20479)
aduth Feb 26, 2020
94f97bf
Block Library: Social Link: Use placeholder for default label (#20475)
aduth Feb 26, 2020
072e296
Block Editor: Typewriter: Skip entire component for IE (#20485)
aduth Feb 27, 2020
fef9da9
@wordpress/env: Set owner of wp-content to www-data (#20406)
noisysocks Feb 28, 2020
6a87dbc
Block Editor: Fix `LinkControl` text wrapping. (#20448)
epiqueras Feb 28, 2020
be4e01e
Editor: Shim meta attributes for early block registrations (#20544)
aduth Feb 28, 2020
84cc65b
Add missing accessibility attributes in the svg icons
donmhico Feb 28, 2020
42c7261
@wordpress/env: Fix accidental quotes in Site Title (#20520)
noisysocks Mar 2, 2020
42f2feb
Revert/top toolbar tab order (#20571)
ellatrix Mar 2, 2020
f918bd0
Block Editor: Add closing parenthesis on selector (#20507)
aduth Mar 2, 2020
1934a1c
[LatestPosts] Fixes the excerpt length (#20313)
draganescu Mar 2, 2020
75a77ce
Rich Text: Avoid activeElement focus call (#20594)
aduth Mar 2, 2020
56f8203
Block Library: Columns: Force 50% column width at mid-range viewport …
aduth Mar 2, 2020
f590677
Framework: Travis: Avoid skipping Puppeteer download (#20547)
aduth Feb 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ playground/dist

# Report generated from jest-junit
test/native/junit.xml

# Local overrides
.wp-env.override.json
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ branches:

env:
global:
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: true
- WP_DEVELOP_DIR: ./wordpress
- LOCAL_SCRIPT_DEBUG: false
- INSTALL_COMPOSER: false
Expand Down Expand Up @@ -162,49 +161,49 @@ jobs:
- npm run test-php && npm run test-unit-php-multisite

- name: E2E tests (Admin) (1/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (2/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (3/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests )

- name: E2E tests (Admin) (4/4)
env: FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (1/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 0' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (2/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 1' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (3/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 2' < ~/.jest-e2e-tests )

- name: E2E tests (Author) (4/4)
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=
env: E2E_ROLE=author FORCE_REDUCED_MOTION=true
script:
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --listTests > ~/.jest-e2e-tests
- $( npm bin )/wp-scripts test-e2e --config=./packages/e2e-tests/jest.config.js --cacheDirectory="$HOME/.jest-cache" --runTestsByPath $( awk 'NR % 4 == 3' < ~/.jest-e2e-tests )
Expand Down
249 changes: 249 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { __ } from '@wordpress/i18n';
function useHTMLClass( className ) {
useEffect( () => {
const element =
document && document.querySelector( `html:not(.${ className }` );
document && document.querySelector( `html:not(.${ className })` );
if ( ! element ) {
return;
}
Expand Down
4 changes: 3 additions & 1 deletion packages/block-editor/src/components/link-control/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ $block-editor-link-control-number-of-actions: 1;
.block-editor-link-control__search-item-header {
display: block;
margin-right: $grid-size-xlarge;
overflow: hidden;
white-space: nowrap;
}

.block-editor-link-control__search-item-icon {
Expand All @@ -144,10 +146,10 @@ $block-editor-link-control-number-of-actions: 1;

.block-editor-link-control__search-item-info,
.block-editor-link-control__search-item-title {
text-overflow: ellipsis;
max-width: 230px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}

.block-editor-link-control__search-item-title {
Expand Down
Loading