get_month_abbrev not working
-
I’d really like the month as a three letter string in wp_get archives.
“OK, why not, sounds good” I hear you all cry”but…
when I try and change this line in wp_get_archives from
$text = sprintf(__('%1$s %2$d'), $wp_locale->get_month($arcresult->month), $arcresult->year);
to
$text = sprintf(__('%1$s %2$d'), $wp_locale->get_month_abbrev($arcresult->month), $arcresult->year);
it returns nothing for the month.
Ideas peeps?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_month_abbrev not working’ is closed to new replies.