Permalink
Browse files

Merge pull request #27 from DTLT/master

Fix permissions to erase/resyndicate and trash. Props timmmmyboy
  • Loading branch information...
radgeek committed May 14, 2015
2 parents 2f05ca7 + 784c1d3 commit 564c0b1f4511e1f8f36f7275af3e339c7543750e
Showing with 1 addition and 1 deletion.
  1. +1 −1 feedwordpress.php
View
@@ -1642,7 +1642,7 @@ public function redirect_retired () {
} /* FeedWordPress::redirect_retired () */
public function row_actions ($actions, $post) {
if (is_syndicated($post->ID)) :
if (is_syndicated($post->ID) && current_user_can('edit_post', $post->ID)) :
$link = get_delete_post_link($post->ID, '', true);
$eraseLink = MyPHP::url($link, array("fwp_post_delete" => "nuke"));

0 comments on commit 564c0b1

Please sign in to comment.