WordPress.org

Make WordPress Core

Opened 5 months ago

Last modified 5 months ago

#23150 new defect (bug)

Sanitize the class passed to wp_list_bookmarks() and allow passing an array

Reported by: ryan Owned by:
Priority: normal Milestone: Awaiting Review
Component: Template Version: 3.5
Severity: normal Keywords: has-patch
Cc:

Description

The class argument to wp_list_bookmarks() could use some sanitization.

While at it, let's enhance it to accept an array of classes like we do elsewhere.

Attachments (1)

23150.diff (688 bytes) - added by ryan 5 months ago.

Download all attachments as: .zip

Change History (2)

ryan5 months ago

comment:1 SergeyBiryukov5 months ago

  • Component changed from General to Template
  • Keywords has-patch added
Note: See TracTickets for help on using tickets.