Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#55578 closed task (blessed) (fixed)

tests for wp_nonce_field() and wp_referer_field()

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

Description


Change History (10)

#1 @pbearne
4 years ago

  • Component GeneralBuild/Test Tools

#2 @pbearne
4 years ago

  • Summary test for wp_referer_field()tests for wp_nonce_field() and wp_referer_field()

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


4 years ago
#3

  • Keywords has-patch has-unit-tests added

#4 @pbearne
4 years ago

  • Versiontrunk

#5 @costdev
4 years ago

  • Milestone Awaiting Review6.0
  • Type defect (bug)task (blessed)

#6 @hellofromTonya
4 years ago

  • Milestone 6.06.1
  • Owner set to hellofromTonya
  • Status newassigned

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.


4 years ago

#8 @audrasjb
4 years ago

  • Keywords commit added
  • Owner changed from hellofromTonya to audrasjb
  • Status assignedaccepted

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

#9 @audrasjb
4 years ago

  • Resolutionfixed
  • Status acceptedclosed

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.