WordPress.org

Make WordPress Core

Opened 8 months ago

Closed 8 months ago

#25149 closed defect (bug) (fixed)

Use an array as a default value for $meta in wpmu_* functions

Reported by: SergeyBiryukov Owned by: SergeyBiryukov
Milestone: 3.7 Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords: has-patch commit
Focuses: Cc:

Description (last modified by SergeyBiryukov)

Background: #20793, ticket:24210:11, ticket:22187:12

There are a bunch of Multisite signup functions with $meta = '' as the default value, where it should really be an array (and is documented as such).

[24126] and [24262] fixed this for wp-signup.php, we should do the same in wp-includes/ms-functions.php for consistency.

Attachments (1)

25149.patch (3.6 KB) - added by SergeyBiryukov 8 months ago.

Download all attachments as: .zip

Change History (5)

SergeyBiryukov8 months ago

comment:1 SergeyBiryukov8 months ago

  • Keywords has-patch added

comment:2 SergeyBiryukov8 months ago

  • Keywords commit added

comment:3 SergeyBiryukov8 months ago

  • Description modified (diff)

comment:4 SergeyBiryukov8 months ago

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

In 25205:

Use an array as a default value for $meta in multisite signup-related functions. fixes #25149.

Note: See TracTickets for help on using tickets.