Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#31308 closed defect (bug) (fixed)

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

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

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 12 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ipm-frommen
12 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
12 years ago

  • Component General → Administration

#4 @SergeyBiryukov
12 years ago

  • Milestone Awaiting Review → 4.2

#5 @SergeyBiryukov
12 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → 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.