-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed redundant checkPurchasedItemUpdateAvailable() methods, that c…
…an be handled by the controller Removed redundant checkPurchasedItemUpdateAvailable() methods, that can be handled by the controller
- Loading branch information
Showing
11 changed files
with
59 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
|
||
**Tested up to:** 4.8 | ||
|
||
**Stable tag:** 1.0 | ||
**Stable tag:** 1.1 | ||
|
||
**License:** MIT License | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<?php | ||
/** | ||
* Envato Toolkit test intro file | ||
* | ||
* @note - This test works only if you have WordPress installed, and you can point to working WordPress install 'wp-blog-header.php' site | ||
* @package EnvatoToolkit Test | ||
* @author KestutisIT | ||
* @copyright KestutisIT | ||
* @license MIT License | ||
*/ | ||
|
||
// Enable or disable this test. If not testing at the moment - disable the test | ||
$testEnabled = TRUE; | ||
if(!$testEnabled) | ||
{ | ||
die('Test is disabled'); | ||
} | ||
|
||
// Require Php 5.4 or newer | ||
if (version_compare(phpversion(), '5.4.0', '<')) | ||
{ | ||
die('Php 5.4 or newer is required. Please upgrade your Php version first.'); | ||
} | ||
|
||
// Start a session | ||
// Note: Requires Php 5.4+ | ||
if(session_status() !== PHP_SESSION_ACTIVE) | ||
{ | ||
session_start(); | ||
} | ||
|
||
define('WP_USE_THEMES', FALSE); // This is a test class, so we don't need to load | ||
require_once('../wp-blog-header.php'); // Note: adapt to match your path | ||
require_once(ABSPATH . '/Libraries/EnvatoAPIManager.php'); | ||
|
||
// Load the test controller | ||
require_once('EnvatoAPIManagerTest.php'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters