WordPress.org

Make WordPress Core

Changeset 11322


Ignore:
Timestamp:
05/14/09 01:52:42 (6 years ago)
Author:
ryan
Message:

Use the_author_meta(). Props sivel. see #9393

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r11314 r11322  
    15211521        case 'author': 
    15221522        ?> 
    1523         <td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td> 
     1523        <td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
    15241524        <?php 
    15251525        break; 
     
    17021702    case 'author': 
    17031703        ?> 
    1704         <td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td> 
     1704        <td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
    17051705        <?php 
    17061706        break; 
Note: See TracChangeset for help on using the changeset viewer.