Ticket #7424: 7424.diff

File 7424.diff, 0.5 kB (added by mdawaffe, 4 months ago)
  • wp-includes/link-template.php

    old new  
    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 = '' ) {