WordPress.org

Make WordPress Core

Changeset 8479


Ignore:
Timestamp:
07/28/08 23:39:37 (7 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-includes/link-template.php

    r8381 r8479  
    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 
Note: See TracChangeset for help on using the changeset viewer.