Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#60712 closed defect (bug) (fixed)

Typo correction in `tests/phpunit/data/themedir1/fonts-block-theme/styles/variation-new-font-family.json`

Reported by: audrasjb Owned by: swissspidy
Priority: normal Milestone: 6.6
Component: Build/Test Tools Version: 6.4
Severity: normal Keywords: good-first-bug has-patch has-unit-tests commit
Cc: Focuses:

Description

While looking at #60711 I spotted a small typo in tests/phpunit/data/themedir1/fonts-block-theme/styles/variation-new-font-family.json:

file:./assets/fonts/open-sans/OpenSans-VariableFont_wdth,wght.tff
Should be replaced with:
file:./assets/fonts/open-sans/OpenSans-VariableFont_wdth,wght.ttf

Introduced in [56500].

Change History (11)

#1 @audrasjb
3 years ago

  • Milestone Awaiting Review → 6.5
  • Version → 6.4

Moving to 6.5 as it is only a unit test fix.

This ticket was mentioned in ​PR #6229 on ​WordPress/wordpress-develop by ​@huzaifaalmesbah.


3 years ago
#2

  • Keywords has-patch has-unit-tests added; needs-patch removed

I replace tff to ttf

#3 @mukesh27
3 years ago

  • Keywords commit added

The ​PR #6229 looks good and ready for commit.

#4 @swissspidy
3 years ago

  • Owner set to swissspidy
  • Status new → reviewing

#5 @swissspidy
3 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 57788:

Build/Test Tools: Fix typo in variation-new-font-family.json fixture file.

Props huzaifaalmesbah, mukesh27.
Fixes #60712.

#6 @kebbet
3 years ago

This ticket is fixed in trunk, not in 6.5. Either re-open for 6.5 backport or change milestone to 6.6?

#7 @audrasjb
3 years ago

  • Keywords fixed-major added
  • Resolution fixed
  • Status closed → reopened

Thanks for the patch @huzaifaalmesbah. However please note that tickets with good-first-bug workflow keyword are supposed to be kept for new contributors so they can learn how to make their very first patch to WP Core.

Reopening for backport.

#8 @huzaifaalmesbah
3 years ago

Thank you for your feedback, @audrasjb. Your point has been duly noted.

#9 @swissspidy
3 years ago

  • Keywords fixed-major removed
  • Milestone 6.5 → 6.6
  • Resolution → fixed
  • Status reopened → closed

This is just a tests file, no need to backport anything.

#11 @swissspidy
3 years ago

  • Resolution → fixed

​@SergeyBiryukov commented on ​PR #6229:


2 years ago
#12

Thanks for the PR! This was merged in r57788.

Note: See TracTickets for help on using tickets.