WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#25507 closed enhancement (fixed)

Unit test for `wp_strip_all_tags` and better docs

Reported by: joehoyle Owned by: nacin
Milestone: 3.9 Priority: normal
Severity: normal Version: 3.8
Component: Unit Tests Keywords: has-patch
Focuses: Cc:

Description

There are no unit tests for wp_strip_all_tags currently - I also think the description needs some work to explain exactly how this is different from strip_tags as it wasn't obvious to be initially.

Attachments (1)

25507.diff (1.8 KB) - added by joehoyle 5 years ago.

Download all attachments as: .zip

Change History (3)

@joehoyle
5 years ago

#1 @nacin
4 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27042:

Basic unit tests and additional documentation for wp_strip_all_tags().

props joehoyle.
fixes #25507.

#2 @ocean90
4 years ago

  • Milestone changed from Awaiting Review to 3.9
Note: See TracTickets for help on using tickets.