Make WordPress Core

Changeset 11795


Ignore:
Timestamp:
08/10/2009 04:33:42 PM (16 years ago)
Author:
ryan
Message:

Apply get_edit_post_link filter. Props prettyboymp. fixes #10579

File:
1 edited

Legend:

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

    r11777 r11795  
    702702    default :
    703703        if ( !current_user_can( 'edit_post', $post->ID ) )
    704             return;
     704            return apply_filters( 'get_edit_post_link', '', $post->ID, $context );;
    705705        $file = 'post';
    706706        $var  = 'post';
Note: See TracChangeset for help on using the changeset viewer.