|
@@ 4295-4296 (lines=2) @@
|
| 4292 |
|
} |
| 4293 |
|
} |
| 4294 |
|
|
| 4295 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_edit_' . $this->pod ) && ! current_user_can( 'pods_edit_others_' . $this->pod ) ) { |
| 4296 |
|
$actions_disabled['edit'] = 'edit'; |
| 4297 |
|
} |
| 4298 |
|
|
| 4299 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
|
@@ 4299-4300 (lines=2) @@
|
| 4296 |
|
$actions_disabled['edit'] = 'edit'; |
| 4297 |
|
} |
| 4298 |
|
|
| 4299 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
| 4300 |
|
$actions_disabled['delete'] = 'delete'; |
| 4301 |
|
} |
| 4302 |
|
|
| 4303 |
|
if ( ! current_user_can( 'pods_reorder_' . $this->pod ) ) { |