| @@ -2,13 +2,13 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Displays the strings translations tab in Polylang settings |
| 4 | 4 | * |
| 5 | 5 | * @package Polylang |
| 6 | + * | |
| 7 | + * @var PLL_Table_String $string_table An object representing the translations list table. | |
| 6 | 8 | */ |
| 7 | 9 | |
| 8 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 9 | - exit; // Don't access directly | |
| 10 | -}; | |
| 10 | +defined( 'ABSPATH' ) || exit; | |
| 11 | 11 | ?> |
| 12 | 12 | <div class="form-wrap"> |
| 13 | 13 | <form id="string-translation" method="post" action="<?php echo esc_url( add_query_arg( 'noheader', 'true' ) ); ?>"> |
| 14 | 14 | <input type="hidden" name="pll_action" value="string-translation" /> |
| @@ -25,9 +25,9 @@ | ||
| 25 | 25 | </form> |
| 26 | 26 | <div class="metabox-holder"> |
| 27 | 27 | <?php |
| 28 | 28 | wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false ); |
| 29 | - do_meta_boxes( 'languages_page_mlang_strings', 'bottom', array() ); | |
| 29 | + do_meta_boxes( 'languages_page_mlang_strings', 'normal', array() ); | |
| 30 | 30 | ?> |
| 31 | 31 | </div> |
| 32 | 32 | |
| 33 | 33 | </div> |