-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Background image: add support for absolute theme path URLs #60578
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
Closed
Closed
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
5c83713
Supporting background.backgroundImage.source === "theme" relative paths
ramonjd 5b27773
This is an experimental commit to test out how to:
ramonjd 6bf575a
Roll back API changes and insert into editor settings under `currentT…
ramonjd 967bbac
If we pass a 'baseUrl' to the style engine, it will it append it to a…
ramonjd e65bf84
Rolls back f7bf075d4a0b143008f1809c8254ebab61492e00
ramonjd 9e517d3
Removed useBlockProps and now editing style object directly
ramonjd bbddc18
Remove unused "parentDirectoryURI" prop in block editor settings
ramonjd 1827703
Yes, spacing.
ramonjd 39b8783
Unit test no styles
ramonjd 8b27b57
Getting URI from themes API response
ramonjd f8cda05
Switching to experimental
ramonjd df2ffb1
Testing get_theme_file_uri on the backend and duping the background i…
ramonjd eca8d3c
Just a commit to explore adding a private selector to mimic get_theme…
ramonjd 7e9e4c5
whoops
ramonjd 1aa8f6a
Resolving urls in theme.json
ramonjd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Yes, spacing.
- Loading branch information
commit 1827703193691155886b251270ef1936c8abc741
There are no files selected for viewing
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Using
wp_get_themeto get fullWP_Themeobject in case folks want to use other helpful methods.