WordPress.org

Make WordPress Core

Changeset 15085


Ignore:
Timestamp:
06/01/10 00:26:49 (4 years ago)
Author:
markjaquith
Message:

Fix the Author links from Edit Pages screen. props duck_. fixes #13665

File:
1 edited

Legend:

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

    r15032 r15085  
    14331433        case 'author': 
    14341434        ?> 
    1435         <td <?php echo $attributes ?>><a href="edit.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
     1435        <td <?php echo $attributes ?>><a href="edit.php?post_type=<?php echo $post->post_type; ?>&amp;author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
    14361436        <?php 
    14371437        break; 
     
    16231623    case 'author': 
    16241624        ?> 
    1625         <td <?php echo $attributes ?>><a href="edit-pages.php?author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
     1625        <td <?php echo $attributes ?>><a href="edit.php?post_type=<?php echo $post_type; ?>&amp;author=<?php the_author_meta('ID'); ?>"><?php the_author() ?></a></td> 
    16261626        <?php 
    16271627        break; 
Note: See TracChangeset for help on using the changeset viewer.