WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 3 months ago

#23150 new defect (bug)

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

Reported by: ryan Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.5
Component: General Keywords: has-patch
Focuses: template 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 16 months ago.

Download all attachments as: .zip

Change History (3)

ryan16 months ago

comment:1 SergeyBiryukov16 months ago

  • Component changed from General to Template
  • Keywords has-patch added

comment:2 nacin3 months ago

  • Component changed from Template to General
  • Focuses template added
Note: See TracTickets for help on using tickets.