WordPress.org

Make WordPress Core

Changeset 8478


Ignore:
Timestamp:
07/28/2008 11:39:15 PM (10 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.