Make WordPress Core

Ticket #10579: link-template.patch

File link-template.patch, 406 bytes (added by prettyboymp, 17 years ago)

Suggested fix

  • link-template.php

     
    701701                break;
    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';
    707707                break;