# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: trunk\wp-admin\includes
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
|
| 302 | 302 | break; |
| 303 | 303 | |
| 304 | 304 | case 'parent': |
| 305 | | if ( $post->post_parent > 0 ) { |
| 306 | | if ( get_post( $post->post_parent ) ) { |
| 307 | | $title =_draft_or_post_title( $post->post_parent ); |
| 308 | | } |
| | 305 | if ( $post->post_parent > 0 && get_post( $post->post_parent ) ) { |
| | 306 | $title =_draft_or_post_title( $post->post_parent ); |
| 309 | 307 | ?> |
| 310 | | <td <?php echo $attributes ?>><strong> |
| 311 | | <?php if( current_user_can( 'edit_post', $post->post_parent ) ) { ?> |
| 312 | | <a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"> |
| 313 | | <?php echo $title ?></a><?php |
| 314 | | } else { |
| | 308 | <td <?php echo $attributes ?>> |
| | 309 | <strong><?php |
| | 310 | |
| | 311 | if ( current_user_can( 'edit_post', $post->post_parent ) ) { ?> |
| | 312 | <a href="<?php echo get_edit_post_link( $post->post_parent ); ?>"><?php echo $title ?></a><?php |
| | 313 | } else { |
| 315 | 314 | echo $title; |
| 316 | | } ?></strong>, |
| 317 | | <?php echo get_the_time( __( 'Y/m/d' ) ); ?> |
| | 315 | } |
| | 316 | |
| | 317 | ?></strong>,<?php echo get_the_time( __( 'Y/m/d' ) ); ?> |
| 318 | 318 | </td> |
| 319 | 319 | <?php |
| 320 | 320 | } else { |