WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#35700 closed defect (bug) (fixed)

Fix in docs for function `wp_kses_post_deep`

Reported by: sebastian.pisula Owned by: DrewAPicture
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch
Focuses: docs Cc:
PR Number:

Description

Should be:

/**
 * Navigates through an array, object, or scalar, and sanitizes content for
 * allowed HTML tags for post content.
 *
 * @since 4.4.2
 *
 * @param mixed $data The array or string to filter.
 * @return mixed The filtered content.
 */

Attachments (2)

35700.patch (648 bytes) - added by sebastian.pisula 4 years ago.
357001.patch (1.4 KB) - added by sebastian.pisula 4 years ago.

Download all attachments as: .zip

Change History (7)

#1 @sebastian.pisula
4 years ago

  • Keywords has-patch added

#2 @DrewAPicture
4 years ago

  • Focuses docs added

#3 @DrewAPicture
4 years ago

In 36488:

Docs: Add a missing type to the return description for map_deep().

Props sebastianpisula.
See #35700.

#4 @DrewAPicture
4 years ago

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

In 36489:

Docs: Use the correct parameter name in the DocBlock for wp_kses_post_deep(), introduced in [36429].

Props sebastianpisula.
Fixes #35700. See #35316.

#5 @DrewAPicture
4 years ago

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