Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#41046 closed defect (bug) (fixed)

@global tag is not present in function wp_maybe_decline_date().

Reported by: dency's profile Dency Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.9 Priority: normal
Severity: normal Version:
Component: I18N Keywords: has-patch
Focuses: docs Cc:


There is a function wp_maybe_decline_date() which is having global $wp_locale but not in the comment.

Attachments (1)

41046.patch (394 bytes) - added by Dency 6 years ago.

Download all attachments as: .zip

Change History (5)

6 years ago

#1 @Dency
6 years ago

  • Keywords has-patch added

#2 @JPry
6 years ago

  • Focuses docs added

#3 @SergeyBiryukov
6 years ago

  • Component changed from General to I18N
  • Milestone changed from Awaiting Review to 4.9
  • Owner set to SergeyBiryukov
  • Status changed from new to accepted

#4 @SergeyBiryukov
6 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 40911:

I18N: Add @global entry for $wp_locale in wp_maybe_decline_date().

Props Dency.
Fixes #41046.

Note: See TracTickets for help on using tickets.