Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 17 years ago

#3795 closed defect (bug) (duplicate)

function wp_title -> month

Reported by: phKU Owned by:
Priority: high Milestone:
Component: Template Version: 2.1
Severity: normal Keywords: wp_title archives month
Cc: Focuses:

Description

The wp_title function doesn't return the month name in archives by month mode.

Cause: file "general-template.php" line 192

To have it fix, change:

$my_month = $wp_locale->get_month($m);

to

$my_month = $wp_locale->get_month(substr($m, 4));

Change History (3)

#1 @foolswisdom
20 years ago

  • Milestone 2.1.2
  • Resolution → duplicate
  • Status new → closed

Thank you for participating in WordPress!

Duplicate of #3732.

(Remember to search)

#2 @phKU
20 years ago

Thank you and sorry: I first made a search on the function name "wp_title" but ticket #3732 didn't mention it at all :(

#3 @foolswisdom
20 years ago

No reason to be sorry. Thanks again.

(Sometimes in bugs I include the terms that I searched for in a section at the end)

Note: See TracTickets for help on using tickets.