diff --git a/assets/settings_page.js b/assets/settings_page.js index 2cea293..ae4ae36 100644 --- a/assets/settings_page.js +++ b/assets/settings_page.js @@ -22,7 +22,7 @@ jQuery(document).ready(function(){ }); // init delete button - jQuery('#jv_settings a.delete_variable').live('click', function(){ + jQuery('#jv_settings a.delete_variable').on('click', function(){ if( confirm( text_just_variables.confirm_delete ) ){ jQuery(this).parents('tr:first').remove(); } diff --git a/just-variables.php b/just-variables.php index a89f9ea..8339839 100644 --- a/just-variables.php +++ b/just-variables.php @@ -6,7 +6,7 @@ Tags: theme, variables, template, text data Author: JustCoded / Alex Prokopenko Author URI: http://justcoded.com/ -Version: 1.2.2 +Version: 1.2.3 */ define('JV_ROOT', dirname(__FILE__)); @@ -29,12 +29,12 @@ function pa($mixed, $stop = false) { add_action('plugins_loaded', 'jv_init'); function jv_init(){ if( !is_admin() ) return; - + /** * load translations */ load_plugin_textdomain( JV_TEXTDOMAIN, false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' ); - + // add admin page add_action( 'admin_menu', 'jv_admin_menu' ); } @@ -53,7 +53,7 @@ function jv_get_variable_value( $var ){ if( !empty($values[$var]) ){ return $values[$var]; } - + return NULL; } diff --git a/just-variables.theme.php b/just-variables.theme.php index 1e88329..ab31d40 100644 --- a/just-variables.theme.php +++ b/just-variables.theme.php @@ -40,7 +40,6 @@ function jv_theme_variables_register_settins(){ function jv_theme_vars_admin_page(){ ?>
-

diff --git a/readme.txt b/readme.txt index 5ceb7cc..644f57f 100644 --- a/readme.txt +++ b/readme.txt @@ -6,7 +6,7 @@ Author: JustCoded / Alex Prokopenko Author URI: http://justcoded.com/ Tags: theme, variables, template, text data Requires at least: 3.4 -Tested up to: 4.5.2 +Tested up to: 5.5 Donate link: http://justcoded.com/just-labs/just-wordpress-theme-variables-plugin/#donate License: GNU General Public License v2 Stable tag: trunk @@ -49,6 +49,8 @@ To upgrade remove the old plugin folder. After than follow the installation step A: If you have inserted a template function from this plugin to your templates, then you probably get error about missing functions. You will need to clean up your template files from function calls. == Changelog == +* Version 1.2.3: + * Bug fix: Removed deprecated function screen_icon() and updated issue with jQuery Migrate * Version 1.2.2: * Bug fix: Updated deprecated function get_current_theme() * Version 1.2.1: