[wp-trac] [WordPress Trac] #55974: Bundled theme: Add support for border options

WordPress Trac noreply at wordpress.org
Fri Jun 7 04:36:10 UTC 2024


#55974: Bundled theme: Add support for border options
-------------------------------------+-----------------------------
 Reporter:  kajalgohel               |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Future Release
Component:  Bundled Theme            |     Version:  6.0
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  ui, css
-------------------------------------+-----------------------------
Description changed by poena:

Old description:

> This description was updates June 7, 2024
>
> The classic bundled themes are missing support for border options for
> most blocks.
> Some blocks, like the pullquote, have border options enabled by default,
> but most blocks do not.
>
> The border options include border color, width, style, and radius.
> They can be enabled by adding {{{add_theme_support( 'border' );}}} or
> {{{ add_theme_support( 'appearance-tools' );}}}.
>
> The appearance-tools adds several options besides the borders, so the
> suggested change is to use {{{add_theme_support( 'border' );}}}.
>
> {{{add_theme_support( 'border' );}}} can be added to themes existing
> setup function.
> After that, all supported blocks needs to be tested.
>
> - Testing has shown that there are usually only a small number of issues
> found with the border support, but additional fixes may be needed for
> blocks that use images.
>

> The following blocks support border controls as of** WordPress version
> 6.6 Beta1**, and needs to be tested.
> ''Note that it is necessary to test if these blocks have working border
> controls until there is a patch to test.''
>
> Avatar
> Button
> Code
> Column
> Columns
> Comments Title
> Cover
> Details
> Footnotes
> Group
> Image
> Post Featured Image
> Pullquote
> Read More
> Search
> Table
> Verse

New description:

 This description was updated June 7, 2024

 The classic bundled themes are missing support for border options for most
 blocks.
 Some blocks, like the pullquote, have border options enabled by default,
 but most blocks do not.

 The border options include border color, width, style, and radius.
 They can be enabled by adding {{{add_theme_support( 'border' );}}} or
 {{{ add_theme_support( 'appearance-tools' );}}}.

 The appearance-tools adds several options besides the borders, so the
 suggested change is to use {{{add_theme_support( 'border' );}}}.

 {{{add_theme_support( 'border' );}}} can be added to themes existing setup
 function.
 After that, all supported blocks needs to be tested.

 - Testing has shown that there are usually only a small number of issues
 found with the border support, but additional fixes may be needed for
 blocks that use images.


 The following blocks support border controls as of** WordPress version 6.6
 Beta1**, and needs to be tested.
 ''Note that it is necessary to test if these blocks have working border
 controls until there is a patch to test.''

 Avatar
 Button
 Code
 Column
 Columns
 Comments Title
 Cover
 Details
 Footnotes
 Group
 Image
 Post Featured Image
 Pullquote
 Read More
 Search
 Table
 Verse

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55974#comment:76>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list