Skip to content

Commit

Permalink
Merge pull request #110 from itthinx/tested-4.12.0-6.0
Browse files Browse the repository at this point in the history
Tested 4.12.0 6.0
  • Loading branch information
itthinx authored Feb 8, 2022
2 parents 1f4ee89 + 478982a commit 34ceef7
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 25 deletions.
26 changes: 13 additions & 13 deletions COPYRIGHT.txt
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@

The Affiliates WordPress Plugin
Copyright 2010 - 2021 "kento" (Karim Rahimpur) www.itthinx.com

Copyright 2010 - 2022 "kento" (Karim Rahimpur) www.itthinx.com

The files COPYRIGHT.txt and LICENSE.txt as well as ALL NOTICES IN THE
HEADERS OF ALL FILES MUST BE KEPT INTACT.

GPL-licensed

Unless otherwise stated, all code in this plugin is licensed under
the GPL License:

All code is part of this plugin, hereinafter referred to as "program".

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.


Visit http://www.itthinx.com/ for help, general info and fun.

Plugin page: http://www.itthinx.com/plugins/affiliates

Official and trusted premium versions are available here only:

Affiliates Pro : http://www.itthinx.com/shop/affiliates-pro
Affiliates Enterprise : http://www.itthinx.com/shop/affiliates-enterprise
6 changes: 3 additions & 3 deletions affiliates.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* affiliates.php
*
* Copyright (c) 2010-2021 "kento" Karim Rahimpur www.itthinx.com
* Copyright (c) 2010-2022 "kento" Karim Rahimpur www.itthinx.com
*
* This code is released under the GNU General Public License.
* See COPYRIGHT.txt and LICENSE.txt.
Expand All @@ -21,7 +21,7 @@
* Plugin Name: Affiliates
* Plugin URI: http://www.itthinx.com/plugins/affiliates
* Description: The Affiliates plugin provides the right tools to maintain a partner referral program.
* Version: 4.11.0
* Version: 4.12.0
* Author: itthinx
* Author URI: http://www.itthinx.com
* Donate-Link: http://www.itthinx.com
Expand All @@ -35,7 +35,7 @@
}

if ( !defined( 'AFFILIATES_CORE_VERSION' ) ) {
define( 'AFFILIATES_CORE_VERSION', '4.11.0' );
define( 'AFFILIATES_CORE_VERSION', '4.12.0' );
define( 'AFFILIATES_PLUGIN_NAME', 'affiliates' );
define( 'AFFILIATES_FILE', __FILE__ );
define( 'AFFILIATES_PLUGIN_BASENAME', plugin_basename( AFFILIATES_FILE ) );
Expand Down
6 changes: 6 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
== Affiliates - Changelog ==

= 4.12.0 =
* WordPress 6.0 compatible.
* Requires at least WordPress 5.6.
* Fixed a PHP Notice with WordPress 6 and updated our add_menu_page to use an integer for the plugin's menu position.
* Removed uses of the deprecated wp_cache_reset() function.

= 4.11.0 =
* WordPress 5.9 compatible.
* Requires at least WordPress 5.5.
Expand Down
6 changes: 1 addition & 5 deletions lib/core/wp-init.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ function affiliates_activate( $network_wide = false ) {
$blog_ids = affiliates_get_blogs();
foreach ( $blog_ids as $blog_id ) {
switch_to_blog( $blog_id );
wp_cache_reset();
affiliates_setup();
restore_current_blog();
}
Expand All @@ -242,7 +241,6 @@ function affiliates_wpmu_new_blog( $blog_id, $user_id ) {
if ( is_multisite() ) {
if ( affiliates_is_sitewide_plugin() ) {
switch_to_blog( $blog_id );
wp_cache_reset();
affiliates_setup();
restore_current_blog();
}
Expand All @@ -259,7 +257,6 @@ function affiliates_delete_blog( $blog_id, $drop = false ) {
if ( is_multisite() ) {
if ( affiliates_is_sitewide_plugin() ) {
switch_to_blog( $blog_id );
wp_cache_reset();
affiliates_cleanup( $drop );
restore_current_blog();
}
Expand Down Expand Up @@ -771,7 +768,6 @@ function affiliates_deactivate( $network_wide = false ) {
$blog_ids = affiliates_get_blogs();
foreach ( $blog_ids as $blog_id ) {
switch_to_blog( $blog_id );
wp_cache_reset();
affiliates_cleanup( true );
restore_current_blog();
}
Expand Down Expand Up @@ -1780,7 +1776,7 @@ function affiliates_admin_menu() {
'affiliates-admin',
'affiliates_admin',
AFFILIATES_PLUGIN_URL . '/images/affiliates.png',
'58.187'
58
);
$pages[] = $page;
add_action( 'admin_print_styles-' . $page, 'affiliates_admin_print_styles' );
Expand Down
8 changes: 4 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
Contributors: itthinx, proaktion
Donate link: https://www.itthinx.com/shop/
Tags: affiliate, affiliates, affiliate marketing, referral, growth marketing, ads, AddToAny, AddThis, advertising, affiliate plugin, affiliate tool, contact form, contact form 7, downloads, e-commerce, Ecwid, Events Manager, Jigoshop, lead, link, marketing, money, partner, Pay per Click, PayPal, PPC, referral links, referrer, sales, shopping cart, track, transaction, WooCommerce
Requires at least: 5.5.0
Tested up to: 5.9
Requires at least: 5.6.0
Tested up to: 6.0
Requires PHP: 5.6.0
Stable tag: 4.11.0
Stable tag: 4.12.0
License: GPLv3

The Affiliates system provides the most powerful growth-oriented tools to run a successful Affiliate Marketing Program.
Expand Down Expand Up @@ -183,7 +183,7 @@ Ukranian by Michael Yunat from [GetVoIP](http://getvoip.com)

More detailed instructions are available on the [Documentation](http://docs.itthinx.com/document/affiliates/) pages.

1. Upload or extract the `affiliates` folder to your site's `/wp-content/plugins/` directory. Or you could use the *Add new* option found in the *Plugins* menu in WordPress.
1. Upload or extract the `affiliates` folder to your site's `/wp-content/plugins/` directory. Or you could use the *Add new* option found in the *Plugins* menu in WordPress.
2. Enable the plugin from the *Plugins* menu in WordPress.
3. A new *Affiliates* menu will appear in WordPress, this is where you manage your affiliates and keep track of visits and referrals.
4. Go to _Affiliates > Settings > Pages_ and click the *Generate* button. This will add a new page to your site with a default Affiliate Area that you can then edit if needed.
Expand Down

0 comments on commit 34ceef7

Please sign in to comment.