All In One Favicon - Version 4.6

Version Description

(2017-04-08) = * Use __construct() for all class constructors.

Download this release

Release Info

Developer grimmdude
Plugin Icon 128x128 All In One Favicon
Version 4.6
Comparing to
See all releases

Code changes from version 4.5 to 4.6

all-in-one-favicon.php CHANGED
@@ -6,7 +6,7 @@
6
  * Plugin Name: All in one Favicon
7
  * Plugin URI: http://www.techotronic.de/plugins/all-in-one-favicon/
8
  * Description: All in one Favicon management. Easily add a Favicon to your site and the WordPress admin pages. Complete with upload functionality. Supports all three Favicon types (ico,png,gif)
9
- * Version: 4.5
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
6
  * Plugin Name: All in one Favicon
7
  * Plugin URI: http://www.techotronic.de/plugins/all-in-one-favicon/
8
  * Description: All in one Favicon management. Easily add a Favicon to your site and the WordPress admin pages. Complete with upload functionality. Supports all three Favicon types (ico,png,gif)
9
+ * Version: 4.6
10
  * Author: Arne Franken
11
  * Author URI: http://www.techotronic.de/
12
  * License: GPL
includes/aio-favicon-backend.php CHANGED
@@ -30,7 +30,7 @@ class AioFaviconBackend {
30
  * @return void
31
  */
32
  //public static function AioFaviconBackend($aioFaviconSettings) {
33
- function AioFaviconBackend($aioFaviconSettings, $aioFaviconDefaultSettings, $donationLoader,
34
  $faviconFrontendMap, $faviconBackendMap) {
35
 
36
  $this->aioFaviconSettings = $aioFaviconSettings;
30
  * @return void
31
  */
32
  //public static function AioFaviconBackend($aioFaviconSettings) {
33
+ function __construct($aioFaviconSettings, $aioFaviconDefaultSettings, $donationLoader,
34
  $faviconFrontendMap, $faviconBackendMap) {
35
 
36
  $this->aioFaviconSettings = $aioFaviconSettings;
includes/aio-favicon-frontend.php CHANGED
@@ -24,7 +24,7 @@ class AioFaviconFrontend {
24
  * @param array $aioFaviconSettings user settings
25
  */
26
  //public static function AioFaviconFrontend($aioFaviconSettings) {
27
- function AioFaviconFrontend($aioFaviconSettings) {
28
 
29
  $this->aioFaviconSettings = $aioFaviconSettings;
30
  $this->faviconRenderHelper = new FaviconRenderHelper($this->aioFaviconSettings,AIOFAVICON_FRONTEND);
24
  * @param array $aioFaviconSettings user settings
25
  */
26
  //public static function AioFaviconFrontend($aioFaviconSettings) {
27
+ function __construct($aioFaviconSettings) {
28
 
29
  $this->aioFaviconSettings = $aioFaviconSettings;
30
  $this->faviconRenderHelper = new FaviconRenderHelper($this->aioFaviconSettings,AIOFAVICON_FRONTEND);
includes/donationloader.php CHANGED
@@ -30,7 +30,7 @@ class AIOFaviconDonationLoader {
30
  *
31
  * @return void
32
  */
33
- function AIOFaviconDonationLoader() {
34
  //not logged in users can trigger the action
35
  //add_action( 'wp_ajax_nopriv_action', 'methodName' );
36
  //only logged in users can trigger the action
30
  *
31
  * @return void
32
  */
33
+ function __construct() {
34
  //not logged in users can trigger the action
35
  //add_action( 'wp_ajax_nopriv_action', 'methodName' );
36
  //only logged in users can trigger the action
includes/favicon-render-helper.php CHANGED
@@ -23,7 +23,7 @@ class FaviconRenderHelper {
23
  * @param String $aioFaviconType either 'frontend' or 'backend'
24
  */
25
  //public static function FaviconRenderHelper($aioFaviconSettings, $aioFaviconType) {
26
- function FaviconRenderHelper($aioFaviconSettings, $aioFaviconType) {
27
 
28
  $this->aioFaviconSettings = $aioFaviconSettings;
29
  $this->aioFaviconType = $aioFaviconType;
23
  * @param String $aioFaviconType either 'frontend' or 'backend'
24
  */
25
  //public static function FaviconRenderHelper($aioFaviconSettings, $aioFaviconType) {
26
+ function __construct($aioFaviconSettings, $aioFaviconType) {
27
 
28
  $this->aioFaviconSettings = $aioFaviconSettings;
29
  $this->aioFaviconType = $aioFaviconType;
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: techotronic
3
  Tags: theme, favicon, admin, blog, wordpress, image, images, graphic, graphics, icon, iphone, multisite
4
  Requires at least: 2.8
5
- Tested up to: 4.6.1
6
- Stable tag: 4.5
7
 
8
  Easily add a Favicon to your site and the WordPress admin pages. Complete with upload functionality. Supports all three Favicon types (ico,png,gif).
9
 
@@ -93,6 +93,9 @@ Go to the settings page and and upload your Favicon(s) or add the path/URL to al
93
 
94
  == Changelog ==
95
 
 
 
 
96
  = 4.5 (2016-11-06) =
97
  * Some style tweaks to the settings page.
98
  * Fix unexpected output on plugin activation.
2
  Contributors: techotronic
3
  Tags: theme, favicon, admin, blog, wordpress, image, images, graphic, graphics, icon, iphone, multisite
4
  Requires at least: 2.8
5
+ Tested up to: 4.7
6
+ Stable tag: 4.6
7
 
8
  Easily add a Favicon to your site and the WordPress admin pages. Complete with upload functionality. Supports all three Favicon types (ico,png,gif).
9
 
93
 
94
  == Changelog ==
95
 
96
+ = 4.6 (2017-04-08) =
97
+ * Use __construct() for all class constructors.
98
+
99
  = 4.5 (2016-11-06) =
100
  * Some style tweaks to the settings page.
101
  * Fix unexpected output on plugin activation.