Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#31308 closed defect (bug) (fixed)

Use correct default values in wp-admin/includes/template.php

Reported by: ipm-frommen's profile ipm-frommen Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.2 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch
Focuses: template Cc:

Description

  • replace default value '1' of int variable $position in wp_comment_reply function with 1;
  • replace default value false of string variable $selected in wp_dropdown_roles function with '';
  • replace default values null of string variable $text and array|string variable $other_attribues in get_submit_button function with '';

Attachments (1)

31308.patch (2.1 KB) - added by ipm-frommen 10 years ago.

Download all attachments as: .zip

Change History (6)

@ipm-frommen
10 years ago

#1 @ipm-frommen
10 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
10 years ago

  • Component changed from General to Administration

#4 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 4.2

#5 @SergeyBiryukov
10 years ago

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

In 31446:

Use correct default values for some admin template functions.

props ipm-frommen.
fixes #31308.

Note: See TracTickets for help on using tickets.