| @@ -6,9 +6,9 @@ | ||
| 6 | 6 | * Author: wpLingua Translation Service |
| 7 | 7 | * Author URI: https://wplingua.com/ |
| 8 | 8 | * Text Domain: wplingua |
| 9 | 9 | * Domain Path: /languages/ |
| 10 | - * Version: 2.16.2 | |
| 10 | + * Version: 2.16.7 | |
| 11 | 11 | * Requires PHP: 7.4 |
| 12 | 12 | * License: GPL v2 or later |
| 13 | 13 | * License URI: https://www.gnu.org/licenses/gpl-2.0.html |
| 14 | 14 | */ |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | // Define wpLingua constants |
| 24 | 24 | define( 'WPLNG_API_URL', 'https://api.wplingua.com' ); |
| 25 | 25 | define( 'WPLNG_API_VERSION', '3.0' ); |
| 26 | 26 | define( 'WPLNG_API_SSLVERIFY', true ); |
| 27 | -define( 'WPLNG_PLUGIN_VERSION', '2.16.2' ); | |
| 27 | +define( 'WPLNG_PLUGIN_VERSION', '2.16.7' ); | |
| 28 | 28 | define( 'WPLNG_PLUGIN_FILE', plugin_basename( __FILE__ ) ); |
| 29 | 29 | define( 'WPLNG_PLUGIN_DIR', __DIR__ ); |
| 30 | 30 | define( 'WPLNG_CACHE_DIR', WP_CONTENT_DIR . '/wplingua-cache' ); |
| 31 | 31 | define( 'WPLNG_PHP_MIN_VERSION', '7.4' ); |
| @@ -209,8 +209,11 @@ | ||
| 209 | 209 | |
| 210 | 210 | // Add edit link on page and post list |
| 211 | 211 | add_filter( 'page_row_actions', 'wplng_row_edit_translation_link', 10, 2 ); |
| 212 | 212 | add_filter( 'post_row_actions', 'wplng_row_edit_translation_link', 10, 2 ); |
| 213 | + | |
| 214 | + // Notice for obtaining the PRO version | |
| 215 | + // add_action( 'admin_notices', 'wplng_admin_notice_get_pro_version', 1 ); | |
| 213 | 216 | |
| 214 | 217 | /** |
| 215 | 218 | * wplng_translation : CPT, taxo, meta |
| 216 | 219 | */ |