Make WordPress Core

Ticket #7424: 7424.diff

File 7424.diff, 556 bytes (added by mdawaffe, 17 years ago)
  • wp-includes/link-template.php

     
    479479                break;
    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
    485485function edit_post_link( $link = 'Edit This', $before = '', $after = '' ) {