Opened 20 months ago
Closed 19 months ago
#58702 closed defect (bug) (fixed)
Twenty Twenty-One: Replace the experimental link color theme support
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch has-testing-info has-screenshots |
Focuses: | Cc: |
Description
In functions.php, replace add_theme_support( 'experimental-link-color' );
with add_theme_support( 'link-color' );
I am listing this as bug because add_theme_support( 'experimental-link-color' );
will throw a "doing it wrong" message when Gutenberg version 16.2 (currently in development) is active.
The message is intentionally in the Gutenberg plugin, not core, because 'experimental-link-color' was introduced in Gutenberg, and core support was limited.
Follow up to https://core.trac.wordpress.org/ticket/58597.
Attachments (3)
Change History (8)
#1
@
20 months ago
- Keywords has-patch added
I have uploaded two patches. The second option removes the theme support to prevent the doing it wrong message, but does not add the new theme support. This second option would give contributors more time to test and fix any CSS issues related to the link color theme support.
Testing instructions
To reproduce the warning, you need Gutenberg version 16.2 or newer, downloadable from https://github.com/WordPress/gutenberg/
Activate the plugin and the theme and visit the WordPress admin area.
This ticket was mentioned in Slack in #core by mukeshpanchal27. View the logs.
20 months ago
#3
@
20 months ago
- Keywords needs-testing has-testing-info added
This ticket was discussed during the bug scrub.
Manual testing is required for this task. Please ping @ironprogrammer and @webtechpooja to coordinate and perform the necessary tests.
Replaces the experimental theme support and adds the new link color theme support