Version Description
- New: Improved mechanism for refreshing website stats. You should have fresh information every 4 hours without refreshing now
- Fix: Categories now showing properly in Manage posts
- Fix: Website stats now ignore uptime monitoring pings
Download this release
Release Info
Developer | freediver |
Plugin | ManageWP Worker |
Version | 3.9.19 |
Comparing to | |
See all releases |
Code changes from version 3.9.18 to 3.9.19
- backup.class.php +47 -8
- comment.class.php +5 -3
- core.class.php +3 -0
- init.php +8 -6
- installer.class.php +3 -1
- link.class.php +3 -1
- plugins/cleanup/cleanup.php +3 -1
- plugins/extra_html_example/extra_html_example.php +3 -1
- plugins/search/search.php +3 -1
- post.class.php +3 -1
- readme.txt +5 -243
- stats.class.php +6 -2
- user.class.php +3 -1
- version +1 -1
- widget.class.php +3 -0
backup.class.php
CHANGED
@@ -9,6 +9,10 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
|
|
|
|
|
|
|
|
12 |
define('MWP_BACKUP_DIR', WP_CONTENT_DIR . '/managewp/backups');
|
13 |
define('MWP_DB_DIR', MWP_BACKUP_DIR . '/mwp_db');
|
14 |
|
@@ -87,6 +91,34 @@ class MMB_Backup extends MMB_Core
|
|
87 |
$this->tasks = get_option('mwp_backup_tasks');
|
88 |
}
|
89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
function get_backup_settings()
|
91 |
{
|
92 |
$backup_settings = get_option('mwp_backup_tasks');
|
@@ -281,8 +313,7 @@ class MMB_Backup extends MMB_Core
|
|
281 |
extract($args); //extract settings
|
282 |
|
283 |
//Try increase memory limit and execution time
|
284 |
-
|
285 |
-
@set_time_limit(600); //ten minutes
|
286 |
|
287 |
|
288 |
|
@@ -843,9 +874,8 @@ class MMB_Backup extends MMB_Core
|
|
843 |
}
|
844 |
|
845 |
extract($args);
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
$unlink_file = true; //Delete file after restore
|
850 |
|
851 |
//Detect source
|
@@ -1300,6 +1330,7 @@ class MMB_Backup extends MMB_Core
|
|
1300 |
|
1301 |
function check_backup_compat()
|
1302 |
{
|
|
|
1303 |
$reqs = array();
|
1304 |
if (strpos($_SERVER['DOCUMENT_ROOT'], '/') === 0) {
|
1305 |
$reqs['Server OS']['status'] = 'Linux (or compatible)';
|
@@ -1367,6 +1398,15 @@ class MMB_Backup extends MMB_Core
|
|
1367 |
$reqs['Memory limit']['status'] = $mem_limit ? $mem_limit : 'unknown';
|
1368 |
$reqs['Memory limit']['pass'] = true;
|
1369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1370 |
|
1371 |
return $reqs;
|
1372 |
}
|
@@ -2042,9 +2082,8 @@ class MMB_Backup extends MMB_Core
|
|
2042 |
|
2043 |
function remote_backup_now($args)
|
2044 |
{
|
2045 |
-
|
2046 |
-
|
2047 |
-
|
2048 |
if (!empty($args))
|
2049 |
extract($args);
|
2050 |
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "backup.class.php"):
|
13 |
+
echo "Sorry but you cannot browse this file directly!";
|
14 |
+
exit;
|
15 |
+
endif;
|
16 |
define('MWP_BACKUP_DIR', WP_CONTENT_DIR . '/managewp/backups');
|
17 |
define('MWP_DB_DIR', MWP_BACKUP_DIR . '/mwp_db');
|
18 |
|
91 |
$this->tasks = get_option('mwp_backup_tasks');
|
92 |
}
|
93 |
|
94 |
+
function set_memory()
|
95 |
+
{
|
96 |
+
$changed = array('execution_time' => 0, 'memory_limit' => 0);
|
97 |
+
|
98 |
+
$memory_limit = trim(ini_get('memory_limit'));
|
99 |
+
$last = strtolower(substr($memory_limit, -1));
|
100 |
+
|
101 |
+
if($last == 'g')
|
102 |
+
$memory_limit = ((int) $memory_limit)*1024;
|
103 |
+
else if($last == 'm')
|
104 |
+
$memory_limit = (int) $memory_limit;
|
105 |
+
if($last == 'k')
|
106 |
+
$memory_limit = ((int) $memory_limit)/1024;
|
107 |
+
|
108 |
+
if ( $memory_limit < 384 ) {
|
109 |
+
@ini_set('memory_limit', '384M');
|
110 |
+
$changed['memory_limit'] = 1;
|
111 |
+
}
|
112 |
+
|
113 |
+
if ( (int) @ini_get('max_execution_time') < 600 ) {
|
114 |
+
@set_time_limit(600); //ten minutes
|
115 |
+
$changed['execution_time'] = 1;
|
116 |
+
}
|
117 |
+
|
118 |
+
return $changed;
|
119 |
+
|
120 |
+
}
|
121 |
+
|
122 |
function get_backup_settings()
|
123 |
{
|
124 |
$backup_settings = get_option('mwp_backup_tasks');
|
313 |
extract($args); //extract settings
|
314 |
|
315 |
//Try increase memory limit and execution time
|
316 |
+
$this->set_memory();
|
|
|
317 |
|
318 |
|
319 |
|
874 |
}
|
875 |
|
876 |
extract($args);
|
877 |
+
$this->set_memory();
|
878 |
+
|
|
|
879 |
$unlink_file = true; //Delete file after restore
|
880 |
|
881 |
//Detect source
|
1330 |
|
1331 |
function check_backup_compat()
|
1332 |
{
|
1333 |
+
|
1334 |
$reqs = array();
|
1335 |
if (strpos($_SERVER['DOCUMENT_ROOT'], '/') === 0) {
|
1336 |
$reqs['Server OS']['status'] = 'Linux (or compatible)';
|
1398 |
$reqs['Memory limit']['status'] = $mem_limit ? $mem_limit : 'unknown';
|
1399 |
$reqs['Memory limit']['pass'] = true;
|
1400 |
|
1401 |
+
$changed = $this->set_memory();
|
1402 |
+
if($changed['execution_time']){
|
1403 |
+
$exec_time = ini_get('max_execution_time');
|
1404 |
+
$reqs['Execution time']['status'] .= $exec_time ? ' (will try '.$exec_time . 's)' : ' (unknown)';
|
1405 |
+
}
|
1406 |
+
if($changed['memory_limit']){
|
1407 |
+
$mem_limit = ini_get('memory_limit');
|
1408 |
+
$reqs['Memory limit']['status'] .= $mem_limit ? ' (will try '.$mem_limit.')' : ' (unknown)';
|
1409 |
+
}
|
1410 |
|
1411 |
return $reqs;
|
1412 |
}
|
2082 |
|
2083 |
function remote_backup_now($args)
|
2084 |
{
|
2085 |
+
$this->set_memory();
|
2086 |
+
|
|
|
2087 |
if (!empty($args))
|
2088 |
extract($args);
|
2089 |
|
comment.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
class MMB_Comment extends MMB_Core
|
14 |
{
|
15 |
function __construct()
|
@@ -32,8 +34,8 @@ class MMB_Comment extends MMB_Core
|
|
32 |
$status_sql = 'spam';
|
33 |
elseif ( 'trash' == $status )
|
34 |
$status_sql = 'trash';
|
35 |
-
$sql = "update ".$wpdb->prefix."comments set comment_approved = '
|
36 |
-
$success = $wpdb->query($sql);
|
37 |
|
38 |
|
39 |
return $success;
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "comment.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_Comment extends MMB_Core
|
16 |
{
|
17 |
function __construct()
|
34 |
$status_sql = 'spam';
|
35 |
elseif ( 'trash' == $status )
|
36 |
$status_sql = 'trash';
|
37 |
+
$sql = "update ".$wpdb->prefix."comments set comment_approved = '%s' where comment_ID = '%s'";
|
38 |
+
$success = $wpdb->query($wpdb->prepare($sql, array($status_sql, $comment_id)));
|
39 |
|
40 |
|
41 |
return $success;
|
core.class.php
CHANGED
@@ -9,6 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
|
|
|
|
|
|
12 |
class MMB_Core extends MMB_Helper
|
13 |
{
|
14 |
var $name;
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "core.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_Core extends MMB_Helper
|
16 |
{
|
17 |
var $name;
|
init.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: ManageWP - Worker
|
|
4 |
Plugin URI: http://managewp.com/
|
5 |
Description: Manage all your blogs from one dashboard. Visit <a href="http://managewp.com">ManageWP.com</a> to sign up.
|
6 |
Author: Prelovac Media
|
7 |
-
Version: 3.9.
|
8 |
Author URI: http://www.prelovac.com
|
9 |
*/
|
10 |
|
@@ -18,9 +18,11 @@ Author URI: http://www.prelovac.com
|
|
18 |
* Copyright (c) 2011 Prelovac Media
|
19 |
* www.prelovac.com
|
20 |
**************************************************************/
|
21 |
-
|
|
|
|
|
22 |
if(!defined('MMB_WORKER_VERSION'))
|
23 |
-
define('MMB_WORKER_VERSION', '3.9.
|
24 |
|
25 |
if ( !defined('MMB_XFRAME_COOKIE')){
|
26 |
$siteurl = function_exists( 'get_site_option' ) ? get_site_option( 'siteurl' ) : get_option( 'siteurl' );
|
@@ -214,8 +216,7 @@ if( !function_exists ( 'mmb_response' )) {
|
|
214 |
|
215 |
|
216 |
if( !function_exists ( 'mmb_add_site' )) {
|
217 |
-
function mmb_add_site($params)
|
218 |
-
{
|
219 |
global $mmb_core;
|
220 |
$num = extract($params);
|
221 |
|
@@ -933,6 +934,7 @@ if( !function_exists('mmb_more_reccurences') ){
|
|
933 |
$schedules['fiveminutes'] = array('interval' => 300, 'display' => 'Once every five minutes');
|
934 |
$schedules['tenminutes'] = array('interval' => 600, 'display' => 'Once every ten minutes');
|
935 |
$schedules['sixhours'] = array('interval' => 21600, 'display' => 'Every six hours');
|
|
|
936 |
|
937 |
return $schedules;
|
938 |
}
|
@@ -957,7 +959,7 @@ if( !function_exists('mwp_check_backup_tasks') ){
|
|
957 |
|
958 |
|
959 |
if (!wp_next_scheduled('mwp_datasend')) {
|
960 |
-
wp_schedule_event( time(), '
|
961 |
}
|
962 |
add_action('mwp_datasend', 'mwp_datasend');
|
963 |
|
4 |
Plugin URI: http://managewp.com/
|
5 |
Description: Manage all your blogs from one dashboard. Visit <a href="http://managewp.com">ManageWP.com</a> to sign up.
|
6 |
Author: Prelovac Media
|
7 |
+
Version: 3.9.19
|
8 |
Author URI: http://www.prelovac.com
|
9 |
*/
|
10 |
|
18 |
* Copyright (c) 2011 Prelovac Media
|
19 |
* www.prelovac.com
|
20 |
**************************************************************/
|
21 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "init.php"):
|
22 |
+
exit;
|
23 |
+
endif;
|
24 |
if(!defined('MMB_WORKER_VERSION'))
|
25 |
+
define('MMB_WORKER_VERSION', '3.9.19');
|
26 |
|
27 |
if ( !defined('MMB_XFRAME_COOKIE')){
|
28 |
$siteurl = function_exists( 'get_site_option' ) ? get_site_option( 'siteurl' ) : get_option( 'siteurl' );
|
216 |
|
217 |
|
218 |
if( !function_exists ( 'mmb_add_site' )) {
|
219 |
+
function mmb_add_site($params) {
|
|
|
220 |
global $mmb_core;
|
221 |
$num = extract($params);
|
222 |
|
934 |
$schedules['fiveminutes'] = array('interval' => 300, 'display' => 'Once every five minutes');
|
935 |
$schedules['tenminutes'] = array('interval' => 600, 'display' => 'Once every ten minutes');
|
936 |
$schedules['sixhours'] = array('interval' => 21600, 'display' => 'Every six hours');
|
937 |
+
$schedules['fourhours'] = array('interval' => 14400, 'display' => 'Every six hours');
|
938 |
|
939 |
return $schedules;
|
940 |
}
|
959 |
|
960 |
|
961 |
if (!wp_next_scheduled('mwp_datasend')) {
|
962 |
+
wp_schedule_event( time(), 'fourhours', 'mwp_datasend' );
|
963 |
}
|
964 |
add_action('mwp_datasend', 'mwp_datasend');
|
965 |
|
installer.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
class MMB_Installer extends MMB_Core
|
14 |
{
|
15 |
function __construct()
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "installer.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_Installer extends MMB_Core
|
16 |
{
|
17 |
function __construct()
|
link.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
class MMB_Link extends MMB_Core
|
14 |
{
|
15 |
function __construct()
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "link.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_Link extends MMB_Core
|
16 |
{
|
17 |
function __construct()
|
plugins/cleanup/cleanup.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
add_filter('mmb_stats_filter', 'mmb_get_extended_info');
|
14 |
|
15 |
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "cleanup.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
add_filter('mmb_stats_filter', 'mmb_get_extended_info');
|
16 |
|
17 |
|
plugins/extra_html_example/extra_html_example.php
CHANGED
@@ -1,5 +1,7 @@
|
|
1 |
<?php
|
2 |
-
|
|
|
|
|
3 |
// add filter for the stats structure
|
4 |
add_filter('mmb_stats_filter', mmb_extra_html_example);
|
5 |
|
1 |
<?php
|
2 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "extra_html_example.php"):
|
3 |
+
exit;
|
4 |
+
endif;
|
5 |
// add filter for the stats structure
|
6 |
add_filter('mmb_stats_filter', mmb_extra_html_example);
|
7 |
|
plugins/search/search.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
mmb_add_action('search_posts_by_term', 'search_posts_by_term');
|
14 |
|
15 |
function search_posts_by_term($params = false){
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "search.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
mmb_add_action('search_posts_by_term', 'search_posts_by_term');
|
16 |
|
17 |
function search_posts_by_term($params = false){
|
post.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
class MMB_Post extends MMB_Core
|
14 |
{
|
15 |
function __construct()
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "post.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_Post extends MMB_Core
|
16 |
{
|
17 |
function __construct()
|
readme.txt
CHANGED
@@ -1,10 +1,9 @@
|
|
1 |
-
<<<<<<< HEAD
|
2 |
=== ManageWP Worker ===
|
3 |
Contributors: freediver
|
4 |
Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
|
5 |
Tags: admin, administration, amazon, api, authentication, automatic, dashboard, dropbox, events, integration, manage, multsite, notification, performance, s3, security, seo, stats, tracking, managewp
|
6 |
Requires at least: 3.0
|
7 |
-
Tested up to: 3.
|
8 |
Stable tag: trunk
|
9 |
|
10 |
ManageWP Worker plugin allows you to remotely manage your WordPress sites from one dashboard.
|
@@ -35,246 +34,10 @@ Check out [ManageWP.com](http://managewp.com/ "Manage Multiple Blogs").
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
-
= 3.9.
|
39 |
-
* New:
|
40 |
-
*
|
41 |
-
*
|
42 |
-
* New: Upload and save your premium plugins/themes in your personal repository for quick installation
|
43 |
-
* New: Run code snippets now get a repository. Save your snippets and share them with other users
|
44 |
-
* New: SEO reports can now be sorted. Export as CSV and PDF reports.
|
45 |
-
* New: Manage Blogroll links
|
46 |
-
* New: Clean post revisions now has an option to save last x revisions when cleaning
|
47 |
-
* New: Bulk delete na posts/pages/links
|
48 |
-
* Fix: Amazon S3 backups failing
|
49 |
-
|
50 |
-
= 3.9.17 =
|
51 |
-
* New: Add your favorite sites to the Favorites bar (just drag&drop them to the small heart on the top)
|
52 |
-
* New: Entirely new website menu loaded with features and tools
|
53 |
-
* New: Manage Posts and Pages across all sites in a more efficient way
|
54 |
-
* New: Support for all WPMU.org premium plugin updates
|
55 |
-
* New: Complete Dropbox integration through Oauth which allows us to restore/delete Dropbox backups directly
|
56 |
-
* New: We have the user guide as PDF now. [Download] (http://managewp.com/files/ManageWP_User_Guide.zip)
|
57 |
-
|
58 |
-
|
59 |
-
= 3.9.16 =
|
60 |
-
* New: Option to "Run now" backup tasks
|
61 |
-
* New: Traffic alerts functionality
|
62 |
-
* New: Support for Genesis premium theme updates
|
63 |
-
* Fix: In some circutmsances .htaccess was not correctly zipped in the backup archive
|
64 |
-
|
65 |
-
= 3.9.15 =
|
66 |
-
* New: Full range of SEO Statistics now trackable for your websites (Google Page Rank and Page Speed, Backlinks and 20+ more)
|
67 |
-
* New: Google keyword rank tracking with history
|
68 |
-
* New: Uptime monitoring (5 min interval with email/SMS notification)
|
69 |
-
* New: Insights into server PHP error logs right in your dashboard
|
70 |
-
* New: Remote maintenance mode for your websites
|
71 |
-
* Fix: A bug when a completed backup was reported as failed
|
72 |
-
|
73 |
-
= 3.9.14 =
|
74 |
-
* Two factor authentication
|
75 |
-
* Run code tool
|
76 |
-
* Quick access to security check and broken link tools
|
77 |
-
* More accurate pageview statistics
|
78 |
-
* You can now opt to completely hide the Worker plugin from the list of plugins (part of Worker branding features)
|
79 |
-
* We improved the backups for folks running Windows servers
|
80 |
-
* Amazon S3 directory name now "ManageWP" by default
|
81 |
-
* Read more on ManageWP.com http://managewp.com/update-two-factor-authentication-run-code-tool-sucuri-security-check-more-accurate-pageview-statistics
|
82 |
-
|
83 |
-
= 3.9.13 =
|
84 |
-
* Added bucket location for Amazon S3 backups
|
85 |
-
* Better backup feature for larger sites
|
86 |
-
* Added Disable compression to further help with larger sites
|
87 |
-
* Backing up wp-admin, wp-includes and wp-content by default now, other folders can be included manually
|
88 |
-
|
89 |
-
= 3.9.12 =
|
90 |
-
* Minor bug fixes
|
91 |
-
* Backup, clone, favorites functionality improved
|
92 |
-
|
93 |
-
= 3.9.10 =
|
94 |
-
* Supporting updates for more premium plugins/themes
|
95 |
-
* Backup notifications (users can now get notices when the backup succeeds or fails)
|
96 |
-
* Support for WordPress 3.3
|
97 |
-
* Worker Branding (useful for web agencies, add your own Name/Description)
|
98 |
-
* Manage Groups screen
|
99 |
-
* Specify wp-admin path if your site uses a custom one
|
100 |
-
* Amazon S3 backups support for mixed case bucket names
|
101 |
-
* Bulk Add Links has additional options
|
102 |
-
* Better Multisite support
|
103 |
-
* Option to set the number of items for Google Analytics
|
104 |
-
* ManageWP backup folder changed to wp-content/managewp/backups
|
105 |
-
|
106 |
-
= 3.9.9 =
|
107 |
-
* New widget on the dashboard - Backup status
|
108 |
-
* New screen for managing plugins and themes (activate, deactivate, delete, add to favorites, install) across all sites
|
109 |
-
* New screen for managing users (change role or password, delete user) across all sites
|
110 |
-
* Option to overwrite old plugins and themes during bulk installation
|
111 |
-
* Your website admin now loads faster in ManageWP
|
112 |
-
* Added API for premium theme and plugin updates
|
113 |
-
|
114 |
-
= 3.9.8 =
|
115 |
-
* Conversion goals integration
|
116 |
-
* Update notifications
|
117 |
-
* Enhanced security for your account
|
118 |
-
* Better backups
|
119 |
-
* Better update interface
|
120 |
-
* [Full changelog](http://managewp.com/update-goals-and-adsense-analytics-integration-update-notifications-login-by-ip-better-backups "Full changelog")
|
121 |
-
|
122 |
-
= 3.9.7 =
|
123 |
-
* Fixed problem with cron schedules
|
124 |
-
|
125 |
-
= 3.9.6 =
|
126 |
-
* Improved dashboard performance
|
127 |
-
* Fixed bug with W3TC, we hope it is fully comptabile now
|
128 |
-
* Improved backup feature
|
129 |
-
* Various other fixes and improvements
|
130 |
-
|
131 |
-
= 3.9.5 =
|
132 |
-
* Now supporting scheduled backups to Amazon S3 and Dropbox
|
133 |
-
* Revamped cloning procedure
|
134 |
-
* You can now have sites in different colors
|
135 |
-
* W3 Total Cache comptability improved
|
136 |
-
|
137 |
-
= 3.9.3 =
|
138 |
-
* Included support for WordPress 3.2 partial updates
|
139 |
-
|
140 |
-
= 3.9.2 =
|
141 |
-
* Fixed problem with full backups
|
142 |
-
* Fixed problem with wordpress dev version upgrades
|
143 |
-
|
144 |
-
= 3.9.1 =
|
145 |
-
* Support for sub-users (limited access users)
|
146 |
-
* Bulk add user
|
147 |
-
* 'Select all' feature for bulk posting
|
148 |
-
* Featured image support for bulk posting
|
149 |
-
* Reload button on the dashboard (on the top of the Right now widget) will now refresh information about available updates
|
150 |
-
* Fixed a problem with the import tool
|
151 |
-
* Fixed a problem when remote dashboard would not work for some servers
|
152 |
-
|
153 |
-
= 3.9.0 =
|
154 |
-
* New feature: Up to 50% faster dashboard loading
|
155 |
-
* New feature: You can now ignore WordPress/plugin/theme updates
|
156 |
-
* New feature: Setting 'Show favicon' for websites in the dashboad
|
157 |
-
* New feature: Full backups now include WordPress and other folders in the root of the site
|
158 |
-
* Fixed: Bug with W3 TotalCache object cache causing weird behaviour in the dashboard
|
159 |
-
* Fixed: All groups now show when adding a site
|
160 |
-
|
161 |
-
= 3.8.8 =
|
162 |
-
* New feature: Bulk add links to blogroll
|
163 |
-
* New feature: Manual backups to email address
|
164 |
-
* New feature: Backup requirements check (under �Manage Backups�)
|
165 |
-
* New feature: Popup menu for groups allowing to show dashboard for that group only
|
166 |
-
* New feature: Favorite list for plugins and themes for later quick installation to multiple blogs
|
167 |
-
* New feature: Invite friends
|
168 |
-
* Fixed: problem with backups and write permissions when upload dir was wrongly set
|
169 |
-
* Fixed: problem adding sites where WordPress is installed in a folder
|
170 |
-
* Fixed: 408 error message problem when adding site
|
171 |
-
* Fixed: site time out problems when adding site
|
172 |
-
* Fixed: problems with some WP plugins (WP Sentinel)
|
173 |
-
* Fixed: problems with upgrade notifications
|
174 |
-
|
175 |
-
= 3.8.7 =
|
176 |
-
* Fixed 408 error when adding sites
|
177 |
-
* Added support for IDN domains
|
178 |
-
* Fixed bug with WordPress updates
|
179 |
-
* Added comment moderation to the dashboard
|
180 |
-
* Added quick links for sites (menu appears on hover)
|
181 |
-
|
182 |
-
|
183 |
-
= 3.8.6 =
|
184 |
-
* Added seach websites feature
|
185 |
-
* Enhanced dashboard actions (spam comments, post revisions, table overhead)
|
186 |
-
* Added developer [API] (http://managewp.com/api "ManageWP API")
|
187 |
-
* Improved Migrate/Clone site feature
|
188 |
-
|
189 |
-
= 3.8.4 =
|
190 |
-
* Fixed remote dashboard problems for sites with redirects
|
191 |
-
* Fixed IE7 issues in the dashboard
|
192 |
-
|
193 |
-
= 3.8.3 =
|
194 |
-
* Fixed problem with capabilities
|
195 |
-
|
196 |
-
= 3.8.2 =
|
197 |
-
* New interface
|
198 |
-
* SSL security protocol
|
199 |
-
* No passwords required
|
200 |
-
* Improved clone/backup
|
201 |
-
|
202 |
-
|
203 |
-
= 3.6.3 =
|
204 |
-
* Initial public release
|
205 |
-
|
206 |
-
== Installation ==
|
207 |
-
|
208 |
-
1. Upload the plugin folder to your /wp-content/plugins/ folder
|
209 |
-
2. Go to the Plugins page and activate ManageWP Worker
|
210 |
-
3. Visit [ManageWP.com](http://managewp.com/ "Manage Multiple Blogs"), sign up and add your site
|
211 |
-
|
212 |
-
Alternately
|
213 |
-
|
214 |
-
1. Visit [ManageWP.com](http://managewp.com/ "Manage Multiple Blogs"), sign up and add your site
|
215 |
-
2. ManageWP will warn you the worker plugin is not installed and offer a link for quick installation
|
216 |
-
|
217 |
-
== Screenshots ==
|
218 |
-
|
219 |
-
1. ManageWP dashboard with available upgrades, site statistics and management functions
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
== License ==
|
224 |
-
|
225 |
-
This file is part of ManageWP Worker.
|
226 |
-
|
227 |
-
ManageWP Worker 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.
|
228 |
-
|
229 |
-
ManageWP Worker 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.
|
230 |
-
|
231 |
-
You should have received a copy of the GNU General Public License along with ManageWP Worker. If not, see <http://www.gnu.org/licenses/>.
|
232 |
-
|
233 |
-
|
234 |
-
== Frequently Asked Questions ==
|
235 |
-
|
236 |
-
= I have problems adding my site =
|
237 |
-
|
238 |
-
Make sure you use the latest version of the worker plugin on the site you are trying to add. If you do, sometimes deactivating and activating it again will help. If you still have problems, [contact us](http://managewp.com/contact "ManageWP Contact").
|
239 |
-
|
240 |
-
= I have problems installing new plugins or upgrading WordPress through ManageWP =
|
241 |
-
|
242 |
-
=======
|
243 |
-
=== ManageWP Worker ===
|
244 |
-
Contributors: freediver
|
245 |
-
Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
|
246 |
-
Tags: admin, administration, amazon, api, authentication, automatic, dashboard, dropbox, events, integration, manage, multsite, notification, performance, s3, security, seo, stats, tracking, managewp
|
247 |
-
Requires at least: 3.0
|
248 |
-
Tested up to: 3.3.1
|
249 |
-
Stable tag: trunk
|
250 |
-
|
251 |
-
ManageWP Worker plugin allows you to remotely manage your WordPress sites from one dashboard.
|
252 |
-
|
253 |
-
== Description ==
|
254 |
-
|
255 |
-
[ManageWP](http://managewp.com/ "Manage Multiple Blogs") is a revolutionary plugin that helps users manage multiple WordPress blogs from one dashboard.
|
256 |
-
|
257 |
-
Main features:
|
258 |
-
|
259 |
-
* Secure and fast solution for managing your WordPress sites
|
260 |
-
* One click upgrades for WordPress, plugin and themes across all your sites
|
261 |
-
* Schedule automatic backups of your websites (Amazon S3 and Dropbox supported)
|
262 |
-
* One click to access WP admin of any site
|
263 |
-
* Install WordPress, clone or migrate a website to another domain
|
264 |
-
* Bulk install themes and plugins to multiple sites at once
|
265 |
-
* Add sub-users (writers, staff..) to your account
|
266 |
-
* Bulk publish posts to multiple sites at once
|
267 |
-
* SEO Statistics, track your keyword rankings
|
268 |
-
* Uptime monitoring
|
269 |
-
* Much, much more...
|
270 |
-
|
271 |
-
Check out the [ManageWP Tour video](http://vimeo.com/22099014).
|
272 |
-
|
273 |
-
http://vimeo.com/22099014
|
274 |
-
|
275 |
-
Check out [ManageWP.com](http://managewp.com/ "Manage Multiple Blogs").
|
276 |
-
|
277 |
-
== Changelog ==
|
278 |
|
279 |
= 3.9.18 =
|
280 |
* New: Pagelines themes added to the list of partners
|
@@ -480,5 +243,4 @@ Make sure you use the latest version of the worker plugin on the site you are tr
|
|
480 |
|
481 |
= I have problems installing new plugins or upgrading WordPress through ManageWP =
|
482 |
|
483 |
-
>>>>>>> c714220db0d07713702e27fab761916ceaa95762
|
484 |
ManageWP Worker relies on properly set file permissions on your server. See the [user guide](http://managewp.com/user-guide#ftp "ManageWP user guide") for more tips.
|
|
|
1 |
=== ManageWP Worker ===
|
2 |
Contributors: freediver
|
3 |
Donate link: https://www.networkforgood.org/donation/MakeDonation.aspx?ORGID2=520781390
|
4 |
Tags: admin, administration, amazon, api, authentication, automatic, dashboard, dropbox, events, integration, manage, multsite, notification, performance, s3, security, seo, stats, tracking, managewp
|
5 |
Requires at least: 3.0
|
6 |
+
Tested up to: 3.4
|
7 |
Stable tag: trunk
|
8 |
|
9 |
ManageWP Worker plugin allows you to remotely manage your WordPress sites from one dashboard.
|
34 |
|
35 |
== Changelog ==
|
36 |
|
37 |
+
= 3.9.19 =
|
38 |
+
* New: Improved mechanism for refreshing website stats. You should have fresh information every 4 hours without refreshing now
|
39 |
+
* Fix: Categories now showing properly in Manage posts
|
40 |
+
* Fix: Website stats now ignore uptime monitoring pings
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
|
42 |
= 3.9.18 =
|
43 |
* New: Pagelines themes added to the list of partners
|
243 |
|
244 |
= I have problems installing new plugins or upgrading WordPress through ManageWP =
|
245 |
|
|
|
246 |
ManageWP Worker relies on properly set file permissions on your server. See the [user guide](http://managewp.com/user-guide#ftp "ManageWP user guide") for more tips.
|
stats.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
|
14 |
class MMB_Stats extends MMB_Core
|
15 |
{
|
@@ -505,7 +507,9 @@ class MMB_Stats extends MMB_Core
|
|
505 |
function set_hit_count($fix_count = false)
|
506 |
{
|
507 |
global $mmb_core;
|
508 |
-
|
|
|
|
|
509 |
|
510 |
$date = date('Y-m-d');
|
511 |
$user_hit_count = (array) get_option('user_hit_count');
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "stats.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
|
16 |
class MMB_Stats extends MMB_Core
|
17 |
{
|
507 |
function set_hit_count($fix_count = false)
|
508 |
{
|
509 |
global $mmb_core;
|
510 |
+
$uptime_robot = array("74.86.158.106", "74.86.179.130", "74.86.179.131", "46.137.190.132", "122.248.234.23", "74.86.158.107"); //don't let uptime robot to affect visit count
|
511 |
+
|
512 |
+
if ($fix_count || (!is_admin() && !MMB_Stats::is_bot() && !isset($_GET['doing_wp_cron']) && !in_array($_SERVER['REMOTE_ADDR'],$uptime_robot)) ) {
|
513 |
|
514 |
$date = date('Y-m-d');
|
515 |
$user_hit_count = (array) get_option('user_hit_count');
|
user.class.php
CHANGED
@@ -9,7 +9,9 @@
|
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
-
|
|
|
|
|
13 |
class MMB_User extends MMB_Core
|
14 |
{
|
15 |
function __construct()
|
9 |
* Copyright (c) 2011 Prelovac Media
|
10 |
* www.prelovac.com
|
11 |
**************************************************************/
|
12 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "user.class.php"):
|
13 |
+
exit;
|
14 |
+
endif;
|
15 |
class MMB_User extends MMB_Core
|
16 |
{
|
17 |
function __construct()
|
version
CHANGED
@@ -1 +1 @@
|
|
1 |
-
3.9.
|
1 |
+
3.9.19
|
widget.class.php
CHANGED
@@ -2,6 +2,9 @@
|
|
2 |
/**
|
3 |
* ManageWP_Widget Class
|
4 |
*/
|
|
|
|
|
|
|
5 |
class ManageWP_Widget extends WP_Widget {
|
6 |
|
7 |
|
2 |
/**
|
3 |
* ManageWP_Widget Class
|
4 |
*/
|
5 |
+
if(basename($_SERVER['SCRIPT_FILENAME']) == "widget.class.php"):
|
6 |
+
exit;
|
7 |
+
endif;
|
8 |
class ManageWP_Widget extends WP_Widget {
|
9 |
|
10 |
|