Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#5595 closed defect (bug) (duplicate)

WP_Locale::get_month_initial() referenced property does not exist

Reported by: darkdragon's profile darkdragon Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:

Description

WP_Locale::get_month_initial() references WP_Locale::month_initial property which does not exist and is not set up during the WP_Locale::init() process.

Possible Course of Action:

  1. Remove WP_Locale::get_month_initial()
  2. Add in the WP_Locale::month_initial property and initiate set up during WP_Locale::init().

Change History (4)

#1 @darkdragon
16 years ago

Or 3. use WP_Locale::month_abbrev property instead and return the value in that.

#2 @ryan
16 years ago

Since it is broken and not used anywhere in core, let's just lose it.

#3 @darkdragon
16 years ago

Patch will be part of phpdoc that should be done later today (1/8), I only need to have two more methods documented before I'm finished with the file. Will close this out as duplicate when I submit patch.

#4 @darkdragon
16 years ago

  • Milestone 2.5 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Patch in #5621 supersedes this ticket.

Note: See TracTickets for help on using tickets.