|
@@ 785-795 (lines=11) @@
|
| 782 |
|
$options['where'] = array( 'manage' => $deprecated_options['where'] ); |
| 783 |
|
} |
| 784 |
|
} |
| 785 |
|
if ( isset( $deprecated_options['edit_where'] ) ) { |
| 786 |
|
/* |
| 787 |
|
if ( isset( $options[ 'where' ] ) ) |
| 788 |
|
$options[ 'where' ][ 'edit' ] = $deprecated_options[ 'edit_where' ]; |
| 789 |
|
else |
| 790 |
|
$options[ 'where' ] = array( 'edit' => $deprecated_options[ 'edit_where' ] );*/ |
| 791 |
|
|
| 792 |
|
if ( isset( $options['restrict'] ) ) { |
| 793 |
|
$options['restrict']['edit'] = (array) $deprecated_options['edit_where']; |
| 794 |
|
} else { |
| 795 |
|
$options['restrict'] = array( 'edit' => (array) $deprecated_options['edit_where'] ); |
| 796 |
|
} |
| 797 |
|
} |
| 798 |
|
if ( isset( $deprecated_options['duplicate_where'] ) ) { |
|
@@ 798-808 (lines=11) @@
|
| 795 |
|
$options['restrict'] = array( 'edit' => (array) $deprecated_options['edit_where'] ); |
| 796 |
|
} |
| 797 |
|
} |
| 798 |
|
if ( isset( $deprecated_options['duplicate_where'] ) ) { |
| 799 |
|
/* |
| 800 |
|
if ( isset( $options[ 'where' ] ) ) |
| 801 |
|
$options[ 'where' ][ 'duplicate' ] = $deprecated_options[ 'duplicate_where' ]; |
| 802 |
|
else |
| 803 |
|
$options[ 'where' ] = array( 'duplicate' => $deprecated_options[ 'duplicate_where' ] );*/ |
| 804 |
|
|
| 805 |
|
if ( isset( $options['restrict'] ) ) { |
| 806 |
|
$options['restrict']['duplicate'] = (array) $deprecated_options['duplicate_where']; |
| 807 |
|
} else { |
| 808 |
|
$options['restrict'] = array( 'duplicate' => (array) $deprecated_options['duplicate_where'] ); |
| 809 |
|
} |
| 810 |
|
} |
| 811 |
|
if ( isset( $deprecated_options['delete_where'] ) ) { |
|
@@ 811-821 (lines=11) @@
|
| 808 |
|
$options['restrict'] = array( 'duplicate' => (array) $deprecated_options['duplicate_where'] ); |
| 809 |
|
} |
| 810 |
|
} |
| 811 |
|
if ( isset( $deprecated_options['delete_where'] ) ) { |
| 812 |
|
/* |
| 813 |
|
if ( isset( $options[ 'where' ] ) ) |
| 814 |
|
$options[ 'where' ][ 'delete' ] = $deprecated_options[ 'delete_where' ]; |
| 815 |
|
else |
| 816 |
|
$options[ 'where' ] = array( 'delete' => $deprecated_options[ 'delete_where' ] );*/ |
| 817 |
|
|
| 818 |
|
if ( isset( $options['restrict'] ) ) { |
| 819 |
|
$options['restrict']['delete'] = (array) $deprecated_options['delete_where']; |
| 820 |
|
} else { |
| 821 |
|
$options['restrict'] = array( 'delete' => (array) $deprecated_options['delete_where'] ); |
| 822 |
|
} |
| 823 |
|
} |
| 824 |
|
if ( isset( $deprecated_options['reorder_where'] ) ) { |