Version Description
Download this release
Release Info
Developer | GamerZ |
Plugin | WP-UserOnline |
Version | 2.88.0 |
Comparing to | |
See all releases |
Code changes from version 2.87.6 to 2.88.0
- admin.php +3 -3
- bots.php +1 -0
- readme.txt +7 -3
- wp-useronline.php +1 -1
admin.php
CHANGED
@@ -62,14 +62,14 @@ class UserOnline_Options extends scbAdminPage {
|
|
62 |
|
63 |
public function validate( $options, $old_data = array() ) {
|
64 |
$options['timeout'] = isset( $options['timeout'] ) ? absint( $options['timeout'] ) : 0;
|
65 |
-
$options['url'] = ! empty( $options['url'] ) ? trim( $options['url'] ) : '';
|
66 |
$options['names'] = ! empty( $options['names'] ) ? (int) $options['names'] : 0;
|
67 |
|
68 |
foreach ( $options['templates'] as $key => $template )
|
69 |
if ( is_array( $template ) )
|
70 |
-
$options['templates'][$key]['text'] = trim( $template['text'] );
|
71 |
else
|
72 |
-
$options['templates'][$key] = trim( $template );
|
73 |
|
74 |
return $options;
|
75 |
}
|
62 |
|
63 |
public function validate( $options, $old_data = array() ) {
|
64 |
$options['timeout'] = isset( $options['timeout'] ) ? absint( $options['timeout'] ) : 0;
|
65 |
+
$options['url'] = ! empty( $options['url'] ) ? esc_url_raw( trim( $options['url'] ) ) : '';
|
66 |
$options['names'] = ! empty( $options['names'] ) ? (int) $options['names'] : 0;
|
67 |
|
68 |
foreach ( $options['templates'] as $key => $template )
|
69 |
if ( is_array( $template ) )
|
70 |
+
$options['templates'][$key]['text'] = wp_kses_post( trim( $template['text'] ) );
|
71 |
else
|
72 |
+
$options['templates'][$key] = wp_kses_post( trim( $template ) );
|
73 |
|
74 |
return $options;
|
75 |
}
|
bots.php
CHANGED
@@ -114,6 +114,7 @@ function useronline_get_bots() {
|
|
114 |
'Syndic8' => 'syndic8',
|
115 |
'Technorati' => 'technorati',
|
116 |
'TelegramBot' => 'telegrambot',
|
|
|
117 |
'Thither' => 'thither',
|
118 |
'TraceMyFile' => 'tracemyfile',
|
119 |
'Trendsmap' => 'trendsmap',
|
114 |
'Syndic8' => 'syndic8',
|
115 |
'Technorati' => 'technorati',
|
116 |
'TelegramBot' => 'telegrambot',
|
117 |
+
'Tiny Tiny RSS' => 'tt-rss',
|
118 |
'Thither' => 'thither',
|
119 |
'TraceMyFile' => 'tracemyfile',
|
120 |
'Trendsmap' => 'trendsmap',
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
# WP-UserOnline
|
2 |
-
Contributors: GamerZ
|
3 |
Donate link: https://lesterchan.net/site/donation/
|
4 |
Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -88,6 +88,10 @@ Make sure your host is running PHP 5. The only foolproof way to do this is to ad
|
|
88 |
`var_dump(PHP_VERSION);`
|
89 |
|
90 |
## Changelog
|
|
|
|
|
|
|
|
|
91 |
### 2.85.6
|
92 |
* NEW: Bump to WordPress 5.6
|
93 |
* NEW: Added more bots
|
1 |
# WP-UserOnline
|
2 |
+
Contributors: GamerZ
|
3 |
Donate link: https://lesterchan.net/site/donation/
|
4 |
Tags: useronline, usersonline, wp-useronline, online, users, user, ajax, widget
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 6.0
|
7 |
+
Stable tag: 2.88.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
88 |
`var_dump(PHP_VERSION);`
|
89 |
|
90 |
## Changelog
|
91 |
+
### 2.88.0
|
92 |
+
* NEW: Bump to WordPress 6.0.
|
93 |
+
* FIXED: Fixed XSS. Props @steffinstanly.
|
94 |
+
|
95 |
### 2.85.6
|
96 |
* NEW: Bump to WordPress 5.6
|
97 |
* NEW: Added more bots
|
wp-useronline.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: WP-UserOnline
|
4 |
Plugin URI: https://lesterchan.net/portfolio/programming/php/
|
5 |
Description: Enable you to display how many users are online on your Wordpress site
|
6 |
-
Version: 2.
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: https://lesterchan.net
|
9 |
Text Domain: wp-useronline
|
3 |
Plugin Name: WP-UserOnline
|
4 |
Plugin URI: https://lesterchan.net/portfolio/programming/php/
|
5 |
Description: Enable you to display how many users are online on your Wordpress site
|
6 |
+
Version: 2.88.0
|
7 |
Author: Lester 'GaMerZ' Chan
|
8 |
Author URI: https://lesterchan.net
|
9 |
Text Domain: wp-useronline
|