Proposed v3.2.4 - #28
Open
codejp3 wants to merge 27 commits into
Open
Conversation
Author
|
Update on ACF v6 UI issues for the number field with append gap issue, and color_picker button size issue: |
mujahidi
requested changes
Oct 12, 2022
Author
Let me know if anything else needs changing. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
@mujahidi - Tested and ready for final review.
It may seem like a lot, but the bulk majority of it is just code cleanup with tabs/spaces for easier readability.
I've tested against ACF v5 & v6. Both are functioning properly, but I found 2 UI visual bugs with v6:
I figured you may want to change some of the wording for things. That's why it will be the NEXT release that officially supports translations ( #24 ) after you re-word anything to your liking. This release was just getting it prepared for it.
Highlights for actual code changes:
functions.php:
-- one handles post_id stuff and fixes the issue with trying to get an id of a non-object (WP Support topic)
-- one handles getting the values for fields (based on valid post_id)
-- one handles merging the values for fields (based on supplied values)
-- one handles enqueueing the stylesheet (based on merged values)
admin_settings.php
acf-typography.php
acf-Typography-v5.php
acf-Typography-v6.php
That's really about it. Everything else is superficial, minor code cleanup, and has zero impact on functionality.