-
Notifications
You must be signed in to change notification settings - Fork 87
Fix output formats for the theme mod get command
#456
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
Merged
schlessera
merged 25 commits into
wp-cli:main
from
philipjohn:fix/96-theme-mod-get-format
Jul 21, 2026
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
bc6035d
96: Fix output formats for the `theme mod get` command
philipjohn 84891e7
96: Handle both booleans
philipjohn d80db8f
96: Handle objects
philipjohn e354614
96: Fix formatting and rename variable to please the CS Gods
philipjohn 561cfc8
96: Remove unnecessary array check already done by get_theme_mods()
philipjohn 4b0aa30
96: Use tab character as separator
philipjohn 26b9aff
96: Import Utils for much more handsome code
philipjohn 5864145
96: Make the array_map callbacks static
philipjohn 76025d7
96: Set the separator once
philipjohn efb8947
Merge branch 'main' into fix/96-theme-mod-get-format
swissspidy 97f2985
Update src/Theme_Mod_Command.php
swissspidy 01b24ef
Merge branch 'main' into fix/96-theme-mod-get-format
swissspidy 2d70f93
Apply suggestions from code review
swissspidy 5e0ba2a
Merge branch 'main' into fix/96-theme-mod-get-format
swissspidy f3bbcec
96: Restore all theme mod keys passed in via arguments
philipjohn 11a8de3
96: Add missing space
philipjohn 6cbe267
96: Ensure empty values are included in all output formats
philipjohn eff2914
96: Add Behat tests covering all formats for theme get mod
philipjohn 658811d
Fix warning when getting mods on a theme with none set
schlessera 55e0d64
Use short array syntax in theme mod get
schlessera c8fb939
Use native value types for machine-readable output formats
schlessera e9c2d29
Add acceptance tests for theme mod value-type formatting
schlessera 37cbd78
Use an actual tab character as the key separator
schlessera 16c60ed
Seed theme mods via eval-file for Windows compatibility
schlessera c00e855
Merge branch 'main' into fix/96-theme-mod-get-format
schlessera 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
Oops, something went wrong.
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.