Head and Footer Scripts Inserter - Version 4.45

Version Description

  • Aug 10, 2020 =
  • Maintenance: Ensure compatibility with upcoming WordPress 5.5.
  • Enhancement: Remove the second ask for an upgrade on the "Plugins" page and change the color of some links to the right emotional colors. (Thanks to Abdulla Hussain)
Download this release

Release Info

Developer Arthur Gareginyan
Plugin Icon 128x128 Head and Footer Scripts Inserter
Version 4.45
Comparing to
See all releases

Code changes from version 4.44 to 4.45

header-and-footer-scripts-inserter.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
- * Version: 4.44
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
5
  * Description: Easily and safely add your custom HTML code (plus JavaScript, CSS, etc.) to your WordPress website, directly out of the WordPress Admin Area, without the need to have an external editor.
6
  * Author: Space X-Chimp
7
  * Author URI: https://www.spacexchimp.com
8
+ * Version: 4.45
9
  * License: GPL3
10
  * Text Domain: header-and-footer-scripts-inserter
11
  * Domain Path: /languages/
inc/php/core.php CHANGED
@@ -38,7 +38,7 @@ function spacexchimp_p006_settings_link( $links ) {
38
  // Declare variables
39
  $url_upgrade = "https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html";
40
  $text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
41
- $link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><b style="color:red;">' . $text_upgrade . '</b></a>';
42
 
43
  array_unshift( $links, $link_upgrade );
44
 
@@ -59,15 +59,10 @@ function spacexchimp_p006_plugin_row_meta( $links, $file ) {
59
  // Declare variables
60
  $url_donate = "https://www.spacexchimp.com/donate.html";
61
  $text_donate = __( 'Donate', $plugin['text'] );
62
- $link_donate = '<a href="' . $url_donate . '" target="_blank"><span class="dashicons dashicons-heart"></span> ' . $text_donate . '</a>';
63
-
64
- $url_upgrade = "https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html";
65
- $text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
66
- $link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><span class="dashicons dashicons-star-filled"></span> ' . $text_upgrade . '</a>';
67
 
68
  $new_links = array(
69
- 'donate' => $link_donate,
70
- 'upgrage' => $link_upgrade
71
  );
72
 
73
  $links = array_merge( $links, $new_links );
38
  // Declare variables
39
  $url_upgrade = "https://www.spacexchimp.com/plugins/header-and-footer-scripts-inserter-pro.html";
40
  $text_upgrade = __( 'Upgrade to PRO', $plugin['text'] );
41
+ $link_upgrade = '<a href="' . $url_upgrade . '" target="_blank"><b style="color:#0f9f44;">' . $text_upgrade . '</b></a>';
42
 
43
  array_unshift( $links, $link_upgrade );
44
 
59
  // Declare variables
60
  $url_donate = "https://www.spacexchimp.com/donate.html";
61
  $text_donate = __( 'Donate', $plugin['text'] );
62
+ $link_donate = '<a href="' . $url_donate . '" target="_blank"><span class="dashicons dashicons-heart" style="color:pink;"></span> ' . $text_donate . '</a>';
 
 
 
 
63
 
64
  $new_links = array(
65
+ 'donate' => $link_donate
 
66
  );
67
 
68
  $links = array_merge( $links, $new_links );
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: Arthur Gareginyan
3
  Tags: inject code, inject scripts, inject javascript, inject js, inject html, inject css, insert code, insert scripts, insert javascript, insert js, insert html, insert css, inject custom code, inject custom scripts, inject custom snippet, insert custom code, insert custom scripts, insert custom snippet, html, javascript, js, css, code, custom code, script, scripts, custom scripts, meta, meta tags, head, header, head section, head area, footer, footer section, footer area
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 4.9
6
- Tested up to: 5.4
7
  Requires PHP: 5.6
8
- Stable tag: 4.44
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -224,6 +224,10 @@ Commercial licensing (e.g. for projects that can’t use an open-source license)
224
 
225
  == Changelog ==
226
 
 
 
 
 
227
  = 4.44 - Mar 20, 2020 =
228
  * Maintenance: Ensure compatibility with upcoming WordPress 5.4.
229
  * Maintenance: Minimum WordPress version requirement is set to 4.9. Support for WordPress 4.8 and below has been discontinued.
3
  Tags: inject code, inject scripts, inject javascript, inject js, inject html, inject css, insert code, insert scripts, insert javascript, insert js, insert html, insert css, inject custom code, inject custom scripts, inject custom snippet, insert custom code, insert custom scripts, insert custom snippet, html, javascript, js, css, code, custom code, script, scripts, custom scripts, meta, meta tags, head, header, head section, head area, footer, footer section, footer area
4
  Donate link: https://www.spacexchimp.com/donate.html
5
  Requires at least: 4.9
6
+ Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 4.45
9
  License: GPL3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
224
 
225
  == Changelog ==
226
 
227
+ = 4.45 - Aug 10, 2020 =
228
+ * Maintenance: Ensure compatibility with upcoming WordPress 5.5.
229
+ * Enhancement: Remove the second ask for an upgrade on the "Plugins" page and change the color of some links to the right emotional colors. (Thanks to Abdulla Hussain)
230
+
231
  = 4.44 - Mar 20, 2020 =
232
  * Maintenance: Ensure compatibility with upcoming WordPress 5.4.
233
  * Maintenance: Minimum WordPress version requirement is set to 4.9. Support for WordPress 4.8 and below has been discontinued.