WordPress.org

Make WordPress Core

#46007 closed defect (bug) (fixed)

grunt precommit modifies wp-api-generated.js

Reported by: pento Owned by: pento
Milestone: 5.1 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:
PR Number:

Description

All meta keys need to be unregistered after each PHPUnit test case.

Fix by @jnylen0 here: https://wordpress.slack.com/archives/C18723MQ8/p1547604290113900

Change History (2)

#1 @pento
11 months ago

  • Owner set to pento
  • Status changed from new to assigned

#2 @pento
11 months ago

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

In 44633:

Tests: Ensure meta keys are cleaned up after each test.

Props jnylen0.
Fixes #46007.

Note: See TracTickets for help on using tickets.