Forum Replies Created
-
AuthorPosts
-
Mister
ParticipantHi Nico,
thanks for taking care of that.
One more question: As those properties are deprecated – how is the functionality then covered? Are there new properties for the day names?
Mister
ParticipantHi George,
thanks for the info. Using a staging environment is how I currently handle it. However, it requires the “manual” testing of all sites.
An alternative (which just came to my mind) would be to make a diff comparison of all original template files from the previous version of plugin folder for which a customizer version exists in the child theme), against the original template files from the new version.
Do you know whether there is a good diff software (for Mac), which can do bulk diffs for multiple files with syntax highlighting?
January 10, 2017 at 10:13 pm in reply to: Deprecated 4.4 $daysOfWeekShort / shows months instead of days #1216370Mister
ParticipantJust to add some clarification:
Please take a template, e.g. “single-event.php” and copy it to the theme to customize
Then add the following code to see the result of print_r:
<?php print_r(tribe_events_get_days_of_week( 'min' )); // will print Array ( [1] => M [2] => T [3] => W [4] => T [5] => F [6] => S [0] => S ) print_r(tribe_events_get_days_of_week( 'short' )); // will print Array ( [Jan] => Jan [Feb] => Feb [Mar] => Mar [Apr] => Apr [May] => May [Jun] => Jun [Jul] => Jul [Aug] => Aug [Sep] => Sep [Oct] => Oct [Nov] => Nov [Dec] => Dec [0] => ) ?>As you can see the second statement returns months. This seems definitely a bug since 4.4, because before the update it was working.
Can you please fix asap?
Mister
ParticipantI could resolve the issue. It was because the .po file for WordPress in the other language was not properly installed.
-
AuthorPosts
