Changeset 8478

Show
Ignore:
Timestamp:
07/28/08 23:39:15 (4 months ago)
Author:
ryan
Message:

Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/link-template.php

    r8380 r8478  
    480480    endswitch; 
    481481     
    482     return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID ); 
     482    return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID, $context ); 
    483483} 
    484484