Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r11687 r11751  
    769769    global $comment, $post;
    770770
    771     if ( $post->post_type == 'attachment' ) {
    772     } elseif ( $post->post_type == 'page' ) {
     771    if ( $post->post_type == 'page' ) {
    773772        if ( !current_user_can( 'edit_page', $post->ID ) )
    774773            return;
Note: See TracChangeset for help on using the changeset viewer.