- small fixes for file uploader;

- added filter for include UM pages to conditional logic;
This commit is contained in:
nikitozzzzzzz
2018-08-07 12:38:19 +03:00
parent 06ca1cd775
commit 1a17095b24
8 changed files with 58 additions and 29 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ if ( ! class_exists( 'UM' ) ) {
* @method UM_Terms_Conditions_API Terms_Conditions_API()
* @method UM_Private_Content_API Private_Content_API()
* @method UM_User_Location_API User_Location_API()
* @method UM_GDPR_API GDPR_API()
* @method UM_Photos_API Photos_API()
*
*/
final class UM extends UM_Functions {
@@ -1158,7 +1158,7 @@ if ( ! class_exists( 'UM' ) ) {
/**
* @since 2.0.21
*
* @return um\core\Files
* @return um\core\Uploader
*/
function uploader() {
if ( empty( $this->classes['uploader'] ) ) {