Make WordPress Core

Opened 20 months ago

Closed 14 months ago

Last modified 14 months ago

#55578 closed task (blessed) (fixed)

tests for wp_nonce_field() and wp_referer_field()

Reported by: pbearne's profile pbearne Owned by: audrasjb's profile audrasjb
Milestone: 6.1 Priority: normal
Severity: normal Version: 6.0
Component: Build/Test Tools Keywords: has-patch has-unit-tests commit
Focuses: Cc:

Description


Change History (10)

#1 @pbearne
20 months ago

  • Component changed from General to Build/Test Tools

#2 @pbearne
20 months ago

  • Summary changed from test for wp_referer_field() to tests for wp_nonce_field() and wp_referer_field()

This ticket was mentioned in PR #2596 on WordPress/wordpress-develop by pbearne.


20 months ago
#3

  • Keywords has-patch has-unit-tests added

#4 @pbearne
20 months ago

  • Version set to trunk

#5 @costdev
20 months ago

  • Milestone changed from Awaiting Review to 6.0
  • Type changed from defect (bug) to task (blessed)

#6 @hellofromTonya
19 months ago

  • Milestone changed from 6.0 to 6.1
  • Owner set to hellofromTonya
  • Status changed from new to assigned

With 6.0 RC1 tomorrow, moving this ticket to 6.1. It can committed when reviewed and ready.

This ticket was mentioned in Slack in #core by audrasjb. View the logs.


14 months ago

#8 @audrasjb
14 months ago

  • Keywords commit added
  • Owner changed from hellofromTonya to audrasjb
  • Status changed from assigned to accepted

I fixed some small docblock issues.
As per today's bug scrub, self assigning for commit.

#9 @audrasjb
14 months ago

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

In 54420:

Build/Test Tools: Add tests for wp_nonce_field() and wp_referer_field().

This changeset adds missing unit tests for these two functions.

Props pbearne, costdev, audrasjb.
Fixes #55578.

Note: See TracTickets for help on using tickets.