[wp-trac] [WordPress Trac] #60404: Blog Post Button Style mismatch which need to be update

WordPress Trac noreply at wordpress.org
Wed Feb 7 09:08:57 UTC 2024


#60404: Blog Post Button Style mismatch which need to be update
--------------------------+----------------------
 Reporter:  rakibul33     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  6.4.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:  ui, css
--------------------------+----------------------
Changes (by poena):

 * keywords:  has-unit-tests =>
 * resolution:   => invalid
 * status:  new => closed
 * component:  Post Formats => General
 * milestone:  Awaiting Review =>


Comment:

 Hi @rakibul33

 If I understand correctly from the shared files, you are bringing up the
 button blocks in the older posts in the theme test data.
 https://github.com/WordPress/theme-test-data

 And it is showing as round, which is the default style, and you are
 expecting it to be square?

 The square style was a custom block style for the button, which was
 removed from WordPress **after** this sample content was added to the XML
 file.
 It was removed because users can now manually set the radius of the button
 block, so this style is not needed anymore.

 It will only show as square on older WordPress versions, and in themes
 that manually add the square style using register_block_style().

 This content in the XML file is only intended for testing old block
 markup.
 Please see https://github.com/WordPress/theme-test-data/issues/79

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


More information about the wp-trac mailing list