-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce
prepend_to_selector()
to avoid additional if checks and f…
…ollow single responsibility principle (#50266) * Introduce prepend_to_selector() method to avoid additional if checks and follow single responsibility principle. * Don't call append_to_selector() when selector is likely empty. * Remove parameter completely instead of deprecating. * Correct doc block.
- Loading branch information
1 parent
074443a
commit 58a22ce
Showing
1 changed file
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58a22ce
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Flaky tests detected in 58a22ce.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.
🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/5057329833
📝 Reported issues:
/test/e2e/specs/site-editor/style-book.spec.js
/test/e2e/specs/site-editor/style-book.spec.js
/test/e2e/specs/site-editor/style-book.spec.js
/test/e2e/specs/site-editor/style-book.spec.js