Skip to content

Commit

Permalink
Added 'view post' link in manual link screen.
Browse files Browse the repository at this point in the history
Related #47
  • Loading branch information
barrykooij committed Dec 30, 2014
1 parent 5212f94 commit d199380
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions classes/class-link-related-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,11 @@ public function column_title( $item ) {
$_GET['rp4wp_parent'],
$item['ID']
),
'view' => sprintf(
'<a href="%s" target="_blank">%s</a>',
get_permalink( $item['ID'] ),
__( 'View Post' )
)
);

return sprintf( '%1$s %2$s', $item['title'], $this->row_actions( $actions ) );
Expand Down

0 comments on commit d199380

Please sign in to comment.