mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed PHP errors
This commit is contained in:
@@ -100,18 +100,19 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( empty( get_query_var( 'um_form' ) ) ) {
|
||||
$query_form = get_query_var( 'um_form' );
|
||||
if ( empty( $query_form ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$form_id = get_query_var( 'um_form' );
|
||||
|
||||
if ( empty( get_query_var( 'um_field' ) ) ) {
|
||||
$query_field = get_query_var( 'um_field' );
|
||||
if ( empty( $query_field ) ) {
|
||||
return false;
|
||||
}
|
||||
$field_key = urldecode( get_query_var( 'um_field' ) );
|
||||
|
||||
if ( empty( get_query_var( 'um_user' ) ) ) {
|
||||
$query_user = get_query_var( 'um_user' );
|
||||
if ( empty( $query_user ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -121,9 +122,9 @@ if ( ! class_exists( 'um\core\Files' ) ) {
|
||||
if ( empty( $user ) || is_wp_error( $user ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( empty( get_query_var( 'um_verify' ) ) ||
|
||||
! wp_verify_nonce( get_query_var( 'um_verify' ), $user_id . $form_id . 'um-download-nonce' ) ) {
|
||||
$query_verify = get_query_var( 'um_verify' );
|
||||
if ( empty( $query_verify ) ||
|
||||
! wp_verify_nonce( $query_verify, $user_id . $form_id . 'um-download-nonce' ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Ultimate Member\n"
|
||||
"POT-Creation-Date: 2018-10-02 13:01+0300\n"
|
||||
"PO-Revision-Date: 2018-10-02 13:01+0300\n"
|
||||
"POT-Creation-Date: 2018-10-02 21:48+0300\n"
|
||||
"PO-Revision-Date: 2018-10-02 21:48+0300\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"Language: en_US\n"
|
||||
@@ -6325,35 +6325,35 @@ msgstr ""
|
||||
msgid "This user has not added any information to their profile yet."
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:239
|
||||
#: includes/core/class-files.php:240
|
||||
msgid "Invalid parameters"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:244
|
||||
#: includes/core/class-files.php:245
|
||||
msgid "Invalid coordinates"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:249
|
||||
#: includes/core/class-files.php:250
|
||||
msgid "Invalid file ownership"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:302
|
||||
#: includes/core/class-files.php:303
|
||||
msgid "Invalid nonce"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:322 includes/core/class-files.php:407
|
||||
#: includes/core/class-files.php:323 includes/core/class-files.php:408
|
||||
msgid "A theme or plugin compatibility issue"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:950
|
||||
#: includes/core/class-files.php:951
|
||||
msgid "Ultimate Member: Not a valid temp file"
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:1078
|
||||
#: includes/core/class-files.php:1079
|
||||
msgid "Invalid user ID: "
|
||||
msgstr ""
|
||||
|
||||
#: includes/core/class-files.php:1087 includes/core/class-files.php:1115
|
||||
#: includes/core/class-files.php:1088 includes/core/class-files.php:1116
|
||||
msgid "Unauthorized to do this attempt."
|
||||
msgstr ""
|
||||
|
||||
|
||||
@@ -133,6 +133,11 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
|
||||
|
||||
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
|
||||
|
||||
= 2.0.27: October 2, 2018 =
|
||||
|
||||
* Bugfixes:
|
||||
- Fixed files class
|
||||
|
||||
= 2.0.26: October 2, 2018 =
|
||||
|
||||
* Enhancements:
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
Plugin Name: Ultimate Member
|
||||
Plugin URI: http://ultimatemember.com/
|
||||
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
|
||||
Version: 2.0.26
|
||||
Version: 2.0.27
|
||||
Author: Ultimate Member
|
||||
Author URI: http://ultimatemember.com/
|
||||
Text Domain: ultimate-member
|
||||
|
||||
Reference in New Issue
Block a user