PluginProbe
Polylang / 2.0.12
Polylang v2.0.12
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | settings/view-tab-strings.php +6 -17 2.72.0.12 View file →
@@ -1,32 +1,21 @@
1 1 <?php
2 2
3 3 /**
4 - * Displays the strings translations tab in Polylang settings
4 + * displays the strings translations tab in Polylang settings
5 5 */
6 6
7 7 if ( ! defined( 'ABSPATH' ) ) {
8 - exit; // Don't access directly
8 + exit; // don't access directly
9 9 };
10 10 ?>
11 11 <div class="form-wrap">
12 12 <form id="string-translation" method="post" action="<?php echo esc_url( add_query_arg( 'noheader', 'true' ) ); ?>">
13 - <input type="hidden" name="pll_action" value="string-translation" />
14 - <?php
13 + <input type="hidden" name="pll_action" value="string-translation" /><?php
15 14 $string_table->search_box( __( 'Search translations', 'polylang' ), 'translations' );
16 15 wp_nonce_field( 'string-translation', '_wpnonce_string-translation' );
17 16 $string_table->display();
18 - printf( '<br /><label><input name="clean" type="checkbox" value="1" /> %s</label>', esc_html__( 'Clean strings translation database', 'polylang' ) );
19 - ?>
20 - <p><?php esc_html_e( 'Use this to remove unused strings from database, for example after a plugin has been uninstalled.', 'polylang' ); ?></p>
21 - <?php
22 - submit_button(); // Since WP 3.1
23 - ?>
17 + printf( '<br /><label><input name="clean" type="checkbox" value="1" /> %s</label>', esc_html__( 'Clean strings translation database', 'polylang' ) ); ?>
18 + <p><?php esc_html_e( 'Use this to remove unused strings from database, for example after a plugin has been uninstalled.', 'polylang' );?></p><?php
19 + submit_button(); // since WP 3.1 ?>
24 20 </form>
25 - <div class="metabox-holder">
26 - <?php
27 - wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
28 - do_meta_boxes( 'languages_page_mlang_strings', 'bottom', array() );
29 - ?>
30 - </div>
31 -
32 21 </div>