Changes from branches/2.6/wp-includes/link-template.php at r8479 to trunk/wp-includes/link-template.php at r8334
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/link-template.php
r8479 r8334 480 480 endswitch; 481 481 482 return apply_filters( 'get_edit_post_link', admin_url("$file.php?{$action}$var=$post->ID"), $post->ID, $context);482 return apply_filters( 'get_edit_post_link', get_bloginfo( 'wpurl' ) . "/wp-admin/$file.php?{$action}$var=$post->ID", $post->ID ); 483 483 } 484 484 … … 510 510 } 511 511 512 $location = admin_url('comment.php?action=editcomment&c='). $comment->comment_ID;512 $location = get_bloginfo( 'wpurl' ) . '/wp-admin/comment.php?action=editcomment&c=' . $comment->comment_ID; 513 513 return apply_filters( 'get_edit_comment_link', $location ); 514 514 }
Note: See TracChangeset
for help on using the changeset viewer.