All Meta Tags - Version 4.1.1

Version Description

  • Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 All Meta Tags
Version 4.1.1
Comparing to
See all releases

Code changes from version 4.1 to 4.1.1

Files changed (4) hide show
  1. all-meta-tags.php +2 -2
  2. inc/php/page.php +2 -2
  3. inc/php/version.php +7 -1
  4. readme.txt +4 -1
all-meta-tags.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custom Meta Tags to WordPress website's header.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
- * Version: 4.1
9
  * License: GPL3
10
  * Text Domain: all-meta-tags
11
  * Domain Path: /languages/
@@ -66,7 +66,7 @@ defined( 'ALLMT_SLUG' ) or define( 'ALLMT_SLUG', 'all-meta-tags' );
66
  defined( 'ALLMT_PREFIX' ) or define( 'ALLMT_PREFIX', 'allmetatags' );
67
  defined( 'ALLMT_SETTINGS' ) or define( 'ALLMT_SETTINGS', 'allmetatags' );
68
  defined( 'ALLMT_NAME' ) or define( 'ALLMT_NAME', 'All Meta Tags' );
69
- defined( 'ALLMT_VERSION' ) or define( 'ALLMT_VERSION', get_file_data( __FILE__, array( 'Version' ) ) );
70
 
71
  /**
72
  * Load the plugin modules
5
  * Description: Easily and safely add your custom Meta Tags to WordPress website's header.
6
  * Author: Arthur Gareginyan
7
  * Author URI: http://www.arthurgareginyan.com
8
+ * Version: 4.1.1
9
  * License: GPL3
10
  * Text Domain: all-meta-tags
11
  * Domain Path: /languages/
66
  defined( 'ALLMT_PREFIX' ) or define( 'ALLMT_PREFIX', 'allmetatags' );
67
  defined( 'ALLMT_SETTINGS' ) or define( 'ALLMT_SETTINGS', 'allmetatags' );
68
  defined( 'ALLMT_NAME' ) or define( 'ALLMT_NAME', 'All Meta Tags' );
69
+ defined( 'ALLMT_VERSION' ) or define( 'ALLMT_VERSION', '4.1.1' );
70
 
71
  /**
72
  * Load the plugin modules
inc/php/page.php CHANGED
@@ -15,8 +15,8 @@ defined( 'ABSPATH' ) or die( "Restricted access!" );
15
  function allmetatags_render_submenu_page() {
16
 
17
  // Call messages
18
- allmetatags_hello_message();
19
- allmetatags_error_message();
20
 
21
  // Layout of page
22
  ?>
15
  function allmetatags_render_submenu_page() {
16
 
17
  // Call messages
18
+ //allmetatags_hello_message();
19
+ //allmetatags_error_message();
20
 
21
  // Layout of page
22
  ?>
inc/php/version.php CHANGED
@@ -71,4 +71,10 @@ function allmetatags_plugin_version_number() {
71
  }
72
 
73
  }
74
- allmetatags_plugin_version_number();
 
 
 
 
 
 
71
  }
72
 
73
  }
74
+ //allmetatags_plugin_version_number();
75
+
76
+ // TEMPORARY FIX
77
+ function allmetatags_plugin_temp_fix() {
78
+ delete_option( ALLMT_SETTINGS . '_service_info' );
79
+ }
80
+ allmetatags_plugin_temp_fix();
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: meta, tag,tags, custom, simple, plugin, twitter, facebook, g+, google, goo
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
- Stable tag: 4.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -187,6 +187,9 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
187
 
188
  == Changelog ==
189
 
 
 
 
190
  = 4.1 =
191
  * Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
192
  * Value of the "_VERSION" constant replaced with information from the plugin header data.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8A88KC7TFF6CS
5
  Requires at least: 3.9
6
  Tested up to: 4.7
7
+ Stable tag: 4.1.1
8
  License: GPL3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
187
 
188
  == Changelog ==
189
 
190
+ = 4.1.1 =
191
+ * Fixed the bug due to which the the "Warning: Constants may only evaluate to scalar values in " warnings are displayed.
192
+
193
  = 4.1 =
194
  * Added new constants: "_SLUG", "_PREFIX", "_SETTINGS" and "_NAME".
195
  * Value of the "_VERSION" constant replaced with information from the plugin header data.