| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | */ |
| 18 | 18 | function wplng_option_page_register() { |
| 19 | 19 | |
| 20 | 20 | // Check if DB size is compatible with wpLingua |
| 21 | - if ( wplng_count_public_content() > 2500 | |
| 21 | + if ( wplng_count_public_content() > 8000 | |
| 22 | 22 | && ! empty( wplng_get_translation_count() ) |
| 23 | 23 | && ! empty( wplng_get_slug_count() ) |
| 24 | 24 | ) { |
| 25 | 25 | wplng_register_part_incompatible_db(); |
| @@ -110,12 +110,17 @@ | ||
| 110 | 110 | endif; |
| 111 | 111 | |
| 112 | 112 | // Display the main option page content |
| 113 | 113 | ?> |
| 114 | - <h1 class="wplng-option-page-title"><span class="dashicons dashicons-translation"></span> <?php esc_html_e( 'wpLingua - Register API key', 'wplingua' ); ?></h1> | |
| 115 | 114 | |
| 116 | 115 | <div class="wrap"> |
| 116 | + | |
| 117 | + <header id="wplng-option-page-header"> | |
| 118 | + <h1 class="wplng-option-page-title"><span class="dashicons dashicons-translation"></span> <?php esc_html_e( 'wpLingua - Register API key', 'wplingua' ); ?></h1> | |
| 119 | + </header> | |
| 120 | + | |
| 117 | 121 | <hr class="wp-header-end"> |
| 122 | + | |
| 118 | 123 | <form method="post" action="options.php"> |
| 119 | 124 | <?php |
| 120 | 125 | // Output settings fields and sections for the plugin |
| 121 | 126 | settings_fields( 'wplng_settings' ); |