| @@ 109-111 (lines=3) @@ | ||
| 106 | } |
|
| 107 | ||
| 108 | // Backwards compatibily from 0.5 to 0.6 |
|
| 109 | if ( ! isset( $tab['items'] ) && isset( $tab['metaboxes'] ) ) { |
|
| 110 | $tab['items'] = $tab['metaboxes']; |
|
| 111 | } |
|
| 112 | ||
| 113 | if ( isset( $tab['items'] ) ) { |
|
| 114 | foreach ( $tab['items'] as $metabox_id_fallback => $metabox_id ) { |
|
| @@ 102-104 (lines=3) @@ | ||
| 99 | } |
|
| 100 | ||
| 101 | // Backwards compatibily from 0.5 to 0.6 |
|
| 102 | if ( ! isset( $tab['items'] ) && isset( $tab['metaboxes'] ) ) { |
|
| 103 | $tab['items'] = $tab['metaboxes']; |
|
| 104 | } |
|
| 105 | ||
| 106 | if ( $tab['title'] == '' ) { |
|
| 107 | $tab['title'] = __( 'Choose title', 'tabify-edit-screen' ); |
|