open editor in new window [ 746 views ]
The editor link generated by a function named edit_post_link
with the following command:
edit_post_link('Edit','',' |');
So this function generate a <a href=""></a>
structure.
There is no target attribute defined. We need to change this manually.
Open the ..wp-includes/link-template.php file and find this row:
$link = '<a class="post-edit-link" href="' . $url . '">' . $link . '</a>';
Just add the target attribute and done.
$link = '<a class="post-edit-link" href="' . $url . '" target="blank">' . $link . '</a>';