Changeset 1777043
- Timestamp:
- 11/28/2017 03:34:58 PM (8 years ago)
- Location:
- authors/trunk
- Files:
-
- 2 edited
-
authors.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
authors/trunk/authors.php
r1771926 r1777043 4 4 Plugin URI: http://blog.fleischer.hu/wordpress/authors/ 5 5 Description: Authors Widget shows the list or cloud of the authors, with the number of posts, link to RSS feed next to their name, avatar. It is useful in a multi-author blog, where you want to have the list in the sidemenu. 6 Version: 2.4. 76 Version: 2.4.8 7 7 Author: Gavriel Fleischer 8 8 Author URI: http://blog.fleischer.hu/author/gavriel/ … … 527 527 $val = trim($val, '"\''); 528 528 $user = get_user_by( 'login', $val ); 529 $include[$key] = $user->ID; 529 if (!$user) { 530 $user = get_user_by( 'slug', $val ); 531 } 532 if ($user) { 533 $include[$key] = $user->ID; 534 } 530 535 } 531 536 } … … 537 542 $val = trim($val, '"\''); 538 543 $user = get_user_by( 'login', $val ); 544 if (!$user) { 545 $user = get_user_by( 'slug', $val ); 546 } 539 547 if ($user) { 540 548 $exclude[$key] = $user->ID; -
authors/trunk/readme.txt
r1771926 r1777043 88 88 89 89 == Changelog == 90 91 = 2.4.8 = 92 * Include, Exclude can be: ID, slug, login 90 93 91 94 = 2.4.7 =
Note: See TracChangeset
for help on using the changeset viewer.