-
Notifications
You must be signed in to change notification settings - Fork 38
Admin: Fix theme support. #284
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
Draft
costdev
wants to merge
29
commits into
fairpm:main
Choose a base branch
from
costdev:fix_theme_support_for_admin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+189
−32
Draft
Changes from 23 commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
78658e5
Rename `is_fair_plugin()` to `is_fair_package()`.
costdev fd2f6a2
Organize plugin and theme hooks.
costdev 38ad9b7
Add AJAX DID support.
costdev 2032ce9
Add "Search by DID" support.
costdev 7bd96b8
Alter slugs for theme cards too.
costdev 4f22be5
After an AJAX installation, use the theme's installed slug for AJAX a…
costdev 6fe02ca
Handle differences in plugin/theme author shape in update data.
costdev 30b6d19
Add `preview_url` to a theme's update data.
costdev 43a87ab
Use the correct upgrader property when matching a name for source sel…
costdev b79d67f
Set the theme's slug to `slug-didhash` when preparing it for JS.
costdev 5de452c
If available, add the hostname to the theme's description.
costdev 9df8aa3
Support the "Live Preview" link immediately after installation.
costdev 1376fc7
Swap from hooking `plugins_loaded` to hooking `clean_url` instead.
costdev f18293d
Fix the docblock for `set_theme_to_hashed_for_customize()`.
costdev 5fa83b8
Add a space before the `return` statement.
costdev fe8c155
Merge branch 'main' into fix_theme_support_for_admin
afragen 7f08c96
Merge branch 'main' into fix_theme_support_for_admin
costdev e5f4ef7
Use plurals for the type checks.
costdev a9252ec
Don't use plurals for the type checks.
costdev 0409faa
$item is an object
afragen 17a3c03
fix for some theme issues
afragen 855f892
Most applies to both plugins/themes
afragen 77bd924
restructure a bit
afragen c12549e
During theme_information, return the theme's author as a string.
costdev d189a63
change to slug-did-hash
afragen 8a1ba32
remove commented code
afragen 99802ce
change slug to slug_didhash for installed theme
afragen f717ec6
shorten syntax for single text replacement
afragen 600b26a
fix theme slug depending upon directory name
afragen 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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.