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

Widget visibility: supporting load conditions for legacy widgets in gutenberg widgets screen #20255

Merged
merged 24 commits into from
Jul 14, 2021
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d7433cb
[not verified] Widget visiblity: Load conditions for gutenberg widgets
dsas Jul 2, 2021
c053b90
[not verified] Widget visibility: Include filters in API
dsas Jul 2, 2021
4c97d8b
[not verified] Widget visibility: Update the JS for Gutenberg widgets
dsas Jul 2, 2021
26b287b
[not verified] Widget visibility: Don't use $_POST directly
dsas Jul 5, 2021
e8764c5
[not verified] Widget visibility: Make saving changes work
dsas Jul 5, 2021
6ad537c
[not verified] Widget visibility: Improve UI
dsas Jul 5, 2021
fe0aa1f
[not verified] Widget visibility: Fix for classic interface
dsas Jul 6, 2021
430ba6c
[not verified] Fixes minor CSS issues:
Jul 6, 2021
4c082c6
[not verified] Widget visibility: Explain why use of $_POST is ok
dsas Jul 6, 2021
58ff304
[not verified] Widget visibility: Register hooks less often
dsas Jul 6, 2021
9608fa6
[not verified] Widget visibility: Don't register hooks on themes.php
dsas Jul 6, 2021
2c39fbf
[not verified] Widget visibility: Fix various phpcs issues
dsas Jul 6, 2021
a6e64ed
[not verified] Widget visibility: Fix minor phpcs error
dsas Jul 6, 2021
9f771da
[not verified] Widget visibility: Add changelog entry
dsas Jul 7, 2021
4e2e0fc
[not verified] Widget visibility: Cachebust widget-conditions js
dsas Jul 7, 2021
f893869
[not verified] Widget visbility: Fix issue persisting widgets
dsas Jul 7, 2021
61987ea
[not verified] Widget visibility: Refactor registering of hooks
dsas Jul 8, 2021
2026a4c
[not verified] Widget visibility: Correct widget shell comments
dsas Jul 8, 2021
f7163f8
[not verified] Widget visibility: Improve/correct comments
dsas Jul 9, 2021
b70e7b4
[not verified] Widget visibility: CSS tweaks
dsas Jul 9, 2021
7887f79
[not verified] Widget visibility: Add explanatory comments
dsas Jul 12, 2021
cf5e420
[not verified] Widget visibility: Fix E_NOTICe
dsas Jul 12, 2021
4479724
[not verified] Widget visibility: Minor efficiency change
dsas Jul 12, 2021
6595b8e
[not verified] Widget visibility: Move filter referer check
dsas Jul 14, 2021
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
Prev Previous commit
Next Next commit
[not verified] Widget visibility: CSS tweaks
Make the add/delete condition buttons more vertically centered on the
widgets screen.
dsas committed Jul 14, 2021
commit b70e7b463a5260ea9ae30716a32a32d661c040a0
Original file line number Diff line number Diff line change
@@ -69,6 +69,11 @@
text-indent: -9999px;
z-index: 1;
}

.wp-block-legacy-widget__edit-form .widget-conditional .condition-control a {
top: 20px;
}

.widget-conditional .condition-control a:before {
position: absolute;
text-indent: 0;
@@ -88,10 +93,6 @@
font-family: dashicons;
}

.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional .widget-conditional-inner a {
top:1.5rem
}

.wp-block-legacy-widget__edit-form .widget-inside.widget-inside .widget-conditional-inner select {
display:initial;
width:auto;