WordPress.org

Make WordPress Core

Ticket #10074: 10074.patch

File 10074.patch, 1.3 KB (added by johnbillion, 5 years ago)
  • wp-admin/includes/template.php

     
    16541654                $attributes = 'class="post-title page-title column-title"' . $style; 
    16551655                $edit_link = get_edit_post_link( $page->ID ); 
    16561656                ?> 
    1657                 <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_post', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr(sprintf(__('Edit &#8220;%s&#8221;'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . esc_html($parent_name) : ''; ?></strong> 
     1657                <td <?php echo $attributes ?>><strong><?php if ( current_user_can( 'edit_page', $page->ID ) ) { ?><a class="row-title" href="<?php echo $edit_link; ?>" title="<?php echo esc_attr(sprintf(__('Edit &#8220;%s&#8221;'), $title)); ?>"><?php echo $pad; echo $title ?></a><?php } else { echo $pad; echo $title; }; _post_states($page); echo isset($parent_name) ? ' | ' . __('Parent Page: ') . esc_html($parent_name) : ''; ?></strong> 
    16581658                <?php 
    16591659                $actions = array(); 
    16601660                if ( current_user_can('edit_page', $page->ID) ) {