Make WordPress Core

Opened 6 months ago

Closed 6 months ago

#59555 closed defect (bug) (fixed)

Elements: Add additional unit tests for elements block support

Reported by: aaronrobertshaw's profile aaronrobertshaw Owned by: flixos90's profile flixos90
Milestone: 6.4 Priority: normal
Severity: normal Version:
Component: Editor Keywords: gutenberg-merge has-patch has-unit-tests
Focuses: Cc:


This ticket tracks the backporting of PHP files for the following Gutenberg changes:

These changes add further unit tests for the element block support to better cover classname application and style generation.

Change History (5)

This ticket was mentioned in PR #5418 on WordPress/wordpress-develop by @aaronrobertshaw.

6 months ago

  • Keywords has-patch has-unit-tests added

This is a backport PR that includes the following PHP Gutenberg changes:

It provides additional unit tests for the elements block support and its associated classname and style generation.

Trac ticket:

#2 @flixos90
6 months ago

  • Milestone changed from Awaiting Review to 6.4
  • Owner set to flixos90
  • Status changed from new to reviewing
  • Type changed from enhancement to defect (bug)

Per the guidance that exclusively performance related fixes shouldn't be labelled as enhancements, I'm changing this to a bug as it supports #59544.

Also, this ticket specifically is a tests only change, so it won't have any impact on the actual 6.4 release anyway.

@aaronrobertshaw commented on PR #5418:

6 months ago

Appreciate all the feedback @costdev & @felixarntz 👍

I believe I've addressed everything now. Let me know if I missed anything

@flixos90 commented on PR #5418:

6 months ago

Committed in - which for some reason doesn't show up yet, but proof it was committed can be found here: 😆

#5 @flixos90
6 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

Fixed by [56806], which for some reason hasn't shown up here yet 🤔

Note: See TracTickets for help on using tickets.