@@ 724-734 (lines=11) @@ | ||
721 | else |
|
722 | $options[ 'where' ] = array( 'manage' => $deprecated_options[ 'where' ] ); |
|
723 | } |
|
724 | if ( isset( $deprecated_options[ 'edit_where' ] ) ) { |
|
725 | /*if ( isset( $options[ 'where' ] ) ) |
|
726 | $options[ 'where' ][ 'edit' ] = $deprecated_options[ 'edit_where' ]; |
|
727 | else |
|
728 | $options[ 'where' ] = array( 'edit' => $deprecated_options[ 'edit_where' ] );*/ |
|
729 | ||
730 | if ( isset( $options[ 'restrict' ] ) ) |
|
731 | $options[ 'restrict' ][ 'edit' ] = (array) $deprecated_options[ 'edit_where' ]; |
|
732 | else |
|
733 | $options[ 'restrict' ] = array( 'edit' => (array) $deprecated_options[ 'edit_where' ] ); |
|
734 | } |
|
735 | if ( isset( $deprecated_options[ 'duplicate_where' ] ) ) { |
|
736 | /*if ( isset( $options[ 'where' ] ) ) |
|
737 | $options[ 'where' ][ 'duplicate' ] = $deprecated_options[ 'duplicate_where' ]; |
|
@@ 735-745 (lines=11) @@ | ||
732 | else |
|
733 | $options[ 'restrict' ] = array( 'edit' => (array) $deprecated_options[ 'edit_where' ] ); |
|
734 | } |
|
735 | if ( isset( $deprecated_options[ 'duplicate_where' ] ) ) { |
|
736 | /*if ( isset( $options[ 'where' ] ) ) |
|
737 | $options[ 'where' ][ 'duplicate' ] = $deprecated_options[ 'duplicate_where' ]; |
|
738 | else |
|
739 | $options[ 'where' ] = array( 'duplicate' => $deprecated_options[ 'duplicate_where' ] );*/ |
|
740 | ||
741 | if ( isset( $options[ 'restrict' ] ) ) |
|
742 | $options[ 'restrict' ][ 'duplicate' ] = (array) $deprecated_options[ 'duplicate_where' ]; |
|
743 | else |
|
744 | $options[ 'restrict' ] = array( 'duplicate' => (array) $deprecated_options[ 'duplicate_where' ] ); |
|
745 | } |
|
746 | if ( isset( $deprecated_options[ 'delete_where' ] ) ) { |
|
747 | /*if ( isset( $options[ 'where' ] ) ) |
|
748 | $options[ 'where' ][ 'delete' ] = $deprecated_options[ 'delete_where' ]; |
|
@@ 746-756 (lines=11) @@ | ||
743 | else |
|
744 | $options[ 'restrict' ] = array( 'duplicate' => (array) $deprecated_options[ 'duplicate_where' ] ); |
|
745 | } |
|
746 | if ( isset( $deprecated_options[ 'delete_where' ] ) ) { |
|
747 | /*if ( isset( $options[ 'where' ] ) ) |
|
748 | $options[ 'where' ][ 'delete' ] = $deprecated_options[ 'delete_where' ]; |
|
749 | else |
|
750 | $options[ 'where' ] = array( 'delete' => $deprecated_options[ 'delete_where' ] );*/ |
|
751 | ||
752 | if ( isset( $options[ 'restrict' ] ) ) |
|
753 | $options[ 'restrict' ][ 'delete' ] = (array) $deprecated_options[ 'delete_where' ]; |
|
754 | else |
|
755 | $options[ 'restrict' ] = array( 'delete' => (array) $deprecated_options[ 'delete_where' ] ); |
|
756 | } |
|
757 | if ( isset( $deprecated_options[ 'reorder_where' ] ) ) { |
|
758 | if ( isset( $options[ 'where' ] ) ) |
|
759 | $options[ 'where' ][ 'reorder' ] = $deprecated_options[ 'reorder_where' ]; |