Plugin Directory

Changeset 565489


Ignore:
Timestamp:
06/29/2012 03:37:16 PM (14 years ago)
Author:
omarke85
Message:

update version 0.1.7

Location:
wp-birthday-users
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-birthday-users/tags/0.1.7/wp-birthday-users.php

    r565465 r565489  
    6464  }
    6565  if ($birthdaypast != NULL) {
    66     usort($birthdaypast, 'date_sort');
     66    uasort($birthdaypast, 'date_sort');
    6767    $passed = '';
    6868    foreach ($birthdaypast as $key => $user) {
    69       if ($user['birthday_newer'] != $birthdaypast[getPrevKey($key, $birthdaypast)]['birthday_newer'] || count($birthdaypast) == 1 || getPrevKey($key, $birthdaypast) == "") {
     69      if ($user['birthday_newer'] != $birthdaypast[getPrevKey($key, $birthdaypast)]['birthday_newer'] || count($birthdaypast) == 1) {
    7070        $passed .= "<th>".date('M', mktime(0,0,0,$user['birthday_newer'],1))."</th>\n";
    7171      }
  • wp-birthday-users/trunk/wp-birthday-users.php

    r565465 r565489  
    6464  }
    6565  if ($birthdaypast != NULL) {
    66     usort($birthdaypast, 'date_sort');
     66    uasort($birthdaypast, 'date_sort');
    6767    $passed = '';
    6868    foreach ($birthdaypast as $key => $user) {
    69       if ($user['birthday_newer'] != $birthdaypast[getPrevKey($key, $birthdaypast)]['birthday_newer'] || count($birthdaypast) == 1 || getPrevKey($key, $birthdaypast) == "") {
     69      if ($user['birthday_newer'] != $birthdaypast[getPrevKey($key, $birthdaypast)]['birthday_newer'] || count($birthdaypast) == 1) {
    7070        $passed .= "<th>".date('M', mktime(0,0,0,$user['birthday_newer'],1))."</th>\n";
    7171      }
Note: See TracChangeset for help on using the changeset viewer.