|
@@ 4311-4312 (lines=2) @@
|
| 4308 |
|
} |
| 4309 |
|
} |
| 4310 |
|
|
| 4311 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_edit_' . $this->pod ) && ! current_user_can( 'pods_edit_others_' . $this->pod ) ) { |
| 4312 |
|
$actions_disabled['edit'] = 'edit'; |
| 4313 |
|
} |
| 4314 |
|
|
| 4315 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
|
@@ 4315-4316 (lines=2) @@
|
| 4312 |
|
$actions_disabled['edit'] = 'edit'; |
| 4313 |
|
} |
| 4314 |
|
|
| 4315 |
|
if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) { |
| 4316 |
|
$actions_disabled['delete'] = 'delete'; |
| 4317 |
|
} |
| 4318 |
|
|
| 4319 |
|
if ( ! current_user_can( 'pods_reorder_' . $this->pod ) ) { |