Skip to content

Commit a82fbb6

Browse files
committed
Update version number
1 parent a5647f0 commit a82fbb6

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

readme.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
=== Scripted.com Writer Marketplace ===
22
Contributors: rbucks
3-
Donate link:
3+
Donate link:
44
Tags: writing, blog posts, twitter, tweet, hire blogger, hire writer, custom content, scripted.com, expert writer, scripted, freelance writer
55
Requires at least: 3.3
66
Tested up to: 4.9.1
7-
Stable tag: 1.9.1
7+
Stable tag: 2.2.0
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

@@ -20,7 +20,7 @@ Founded in 2011, Scripted.com is a leading marketplace for original, high-qualit
2020
2. Activate the plugin through the 'Plugins' menu in WordPress.
2121
3. Create an account at Scripted.com by going here: https://www.scripted.com/business/register
2222
4. View and copy your organization key and access token here: https://www.scripted.com/business/account/api
23-
5. Go to your Scripted settings (see screenshot) and enter it in the Scripted settings page.
23+
5. Go to your Scripted settings (see screenshot) and enter it in the Scripted settings page.
2424

2525
== Frequently asked questions ==
2626

@@ -37,4 +37,4 @@ See how Scripted works here: [http://scripted.com/how-it-works/](https://www.scr
3737

3838

3939

40-
== Upgrade notice ==
40+
== Upgrade notice ==

scripted.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,42 @@
44
Plugin URI: https://Scripted.com/
55
Description: Get great writers and manage your Scripted account from WordPress!
66
Author: Scripted.com
7-
Version: 1.9
7+
Version: 2.2.0
88
Author URI: https://Scripted.com/
99
*/
1010

1111
class WP_Scripted {
12-
12+
1313
function WP_Scripted() {
1414
add_action( 'plugins_loaded', array( $this, 'init' ), 8 );
15-
16-
}
15+
16+
}
1717
function init() {
1818
$this->includes();
1919
}
20-
function includes() {
20+
function includes() {
2121
define( 'SCRIPTED_FILE_PATH', dirname( __FILE__ ) );
2222
define( 'SCRIPTED_FILE_URL', __FILE__ );
2323
define( 'SCRIPTED_ICON', plugins_url('images/favicon.ico',SCRIPTED_FILE_URL) );
2424
define( 'SCRIPTED_LOGO', plugins_url('images/logo.png',SCRIPTED_FILE_URL) );
2525
define( 'SCRIPTED_END_POINT', 'https://api.scripted.com' );
26-
27-
26+
27+
2828
require_once( SCRIPTED_FILE_PATH . '/admin/settings.php' );
2929
require_once( SCRIPTED_FILE_PATH . '/admin/jobs.php' );
30-
30+
3131
}
3232
function scripteActivePlugin() {
3333
if (!get_option( '_scripted_api_key' )) {
3434
add_option( '_scripted_api_key', '', '', 'no' );
35-
}
35+
}
3636
if (!get_option( '_scripted_business_id' )) {
3737
add_option( '_scripted_business_id', '', '', 'no' );
38-
}
38+
}
3939
}
4040
public function scripted_deactivePlugin() {
41-
delete_option( '_scripted_api_key' );
42-
delete_option( '_scripted_business_id' );
41+
delete_option( '_scripted_api_key' );
42+
delete_option( '_scripted_business_id' );
4343
}
4444
}
4545

0 commit comments

Comments
 (0)