|
@@ 1007-1017 (lines=11) @@
|
| 1004 |
|
$options->validate( 'actions_custom', $this->actions_custom, 'array_merge' ); |
| 1005 |
|
|
| 1006 |
|
if ( !empty( $options->actions_disabled ) ) { |
| 1007 |
|
if ( !empty( $options->actions_bulk ) ) { |
| 1008 |
|
$actions_bulk = $options->actions_bulk; |
| 1009 |
|
|
| 1010 |
|
foreach ( $actions_bulk as $action => $action_opt ) { |
| 1011 |
|
if ( in_array( $action, $options->actions_disabled ) ) { |
| 1012 |
|
unset( $actions_bulk[ $action ] ); |
| 1013 |
|
} |
| 1014 |
|
} |
| 1015 |
|
|
| 1016 |
|
$options->actions_bulk = $actions_bulk; |
| 1017 |
|
} |
| 1018 |
|
|
| 1019 |
|
if ( !empty( $options->actions_custom ) ) { |
| 1020 |
|
$actions_custom = $options->actions_custom; |
|
@@ 1019-1029 (lines=11) @@
|
| 1016 |
|
$options->actions_bulk = $actions_bulk; |
| 1017 |
|
} |
| 1018 |
|
|
| 1019 |
|
if ( !empty( $options->actions_custom ) ) { |
| 1020 |
|
$actions_custom = $options->actions_custom; |
| 1021 |
|
|
| 1022 |
|
foreach ( $actions_custom as $action => $action_opt ) { |
| 1023 |
|
if ( in_array( $action, $options->actions_disabled ) ) { |
| 1024 |
|
unset( $actions_custom[ $action ] ); |
| 1025 |
|
} |
| 1026 |
|
} |
| 1027 |
|
|
| 1028 |
|
$options->actions_custom = $actions_custom; |
| 1029 |
|
} |
| 1030 |
|
} |
| 1031 |
|
|
| 1032 |
|
$options->validate( 'extra', $this->extra, 'array_merge' ); |