Changeset 1975028
- Timestamp:
- 11/15/2018 04:17:46 PM (7 years ago)
- Location:
- copify/trunk
- Files:
-
- 4 edited
-
Lib/CopifyWordpress.php (modified) (2 diffs)
-
Test/Lib/CopifyWordpressTest.php (modified) (2 diffs)
-
copify.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
copify/trunk/Lib/CopifyWordpress.php
r1733528 r1975028 12 12 * Plugin version 13 13 */ 14 protected $version = '1.2. 3';14 protected $version = '1.2.4'; 15 15 16 16 /** … … 802 802 $expectedToken = sha1($CopifyLoginDetails['CopifyEmail'] . $CopifyLoginDetails['CopifyApiKey']); 803 803 if ($expectedToken != $token) { 804 throw new Exception('Permission denied ', 403);804 throw new Exception('Permission denied: API Key is not set correctly.', 403); 805 805 } 806 806 // Version check only -
copify/trunk/Test/Lib/CopifyWordpressTest.php
r1733528 r1975028 64 64 $this->CopifyWordpress->expects($this->once()) 65 65 ->method('outputJson') 66 ->with(array('message' => 'Permission denied '));66 ->with(array('message' => 'Permission denied: API Key is not set correctly.')); 67 67 $this->CopifyWordpress->expects($this->once()) 68 68 ->method('setheader') … … 305 305 $this->CopifyWordpress = $this->getMock('CopifyWordpress', array('wordpress', 'outputJson', 'setheader')); 306 306 $version = $this->CopifyWordpress->getVersion(); 307 $this->assertEquals('1.2. 3', $version);307 $this->assertEquals('1.2.4', $version); 308 308 $mockVal = array( 309 309 'CopifyEmail' => 'foo@bar.com', -
copify/trunk/copify.php
r1733528 r1975028 4 4 Plugin URI: https://github.com/copify/copify-wordpress 5 5 Description: Automatically publish unique, relevant content every week from Copify's team of professional writers. 6 Version: 1.2. 36 Version: 1.2.4 7 7 Author: Rob McVey 8 8 Author URI: http://uk.copify.com/ -
copify/trunk/readme.txt
r1733528 r1975028 1 1 === Copify === 2 2 3 Version: 1.2. 33 Version: 1.2.4 4 4 Contributors: robmcvey 5 5 Tags: blog writers, automatic blogging, post writers, auto blogging, content, copywriting, copywriters, blogging, writers, writing, seo 6 6 Requires at least: 3.2.0 7 Tested up to: 4.7.07 Tested up to: 5.0.0 8 8 Stable tag: trunk 9 9 Github Stable tag: master … … 39 39 40 40 == Changelog == 41 42 = 1.2.4 = 43 * More verbose errors 44 * Tested up to WordPress 5.0 41 45 42 46 = 1.2.3 =
Note: See TracChangeset
for help on using the changeset viewer.