|
@@ 4249-4250 (lines=2) @@
|
| 4246 |
|
} |
| 4247 |
|
} |
| 4248 |
|
|
| 4249 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_edit_' . $this->pod ) && ! current_user_can( 'pods_edit_others_' . $this->pod ) ) { |
| 4250 |
|
$actions_disabled['edit'] = 'edit'; |
| 4251 |
|
} |
| 4252 |
|
|
| 4253 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
|
@@ 4253-4254 (lines=2) @@
|
| 4250 |
|
$actions_disabled['edit'] = 'edit'; |
| 4251 |
|
} |
| 4252 |
|
|
| 4253 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
| 4254 |
|
$actions_disabled['delete'] = 'delete'; |
| 4255 |
|
} |
| 4256 |
|
|
| 4257 |
|
if ( ! current_user_can( 'pods_reorder_' . $this->pod ) ) { |