Version Description
Download this release
Release Info
Developer | devowl |
Plugin | Real Media Library: Media Library Folder & File Manager |
Version | 4.18.4 |
Comparing to | |
See all releases |
Code changes from version 4.18.3 to 4.18.4
- CHANGELOG.md +16 -0
- README.txt +2 -2
- inc/base/others/cachebuster-lib.php +1 -1
- inc/base/others/cachebuster.php +1 -1
- index.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/InstalledVersions.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.php +1 -1
- vendor/devowl-wp/real-product-manager-wp-client/CHANGELOG.md +13 -0
- vendor/devowl-wp/real-product-manager-wp-client/package.json +1 -1
- vendor/devowl-wp/real-product-manager-wp-client/src/PluginUpdate.php +2 -3
- vendor/devowl-wp/real-product-manager-wp-client/src/Utils.php +13 -14
- vendor/devowl-wp/real-product-manager-wp-client/src/license/License.php +7 -1
- vendor/devowl-wp/utils/CHANGELOG.md +11 -0
- vendor/devowl-wp/utils/package.json +1 -1
- vendor/devowl-wp/utils/src/Assets.php +1 -1
CHANGELOG.md
CHANGED
@@ -3,6 +3,22 @@
|
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
## 4.18.3 (2022-04-20)
|
7 |
|
8 |
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
6 |
+
## 4.18.4 (2022-04-29)
|
7 |
+
|
8 |
+
|
9 |
+
### chore
|
10 |
+
|
11 |
+
* update changelog URL (CU-2chdb51)
|
12 |
+
|
13 |
+
|
14 |
+
### docs
|
15 |
+
|
16 |
+
* new contributors for WordPress plugins
|
17 |
+
|
18 |
+
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
## 4.18.3 (2022-04-20)
|
23 |
|
24 |
|
README.txt
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
=== WordPress Real Media Library: Media Library Folder & File Manager ===
|
2 |
-
Contributors: devowl, mguenter, jankarres
|
3 |
Tags: wordpress media library folders, media library folders, file manager, media folder, media library folder, media library category, media library categories, media category, subfolders, file manager, directories, folder, folders, organize, media library, enhanced Media, enhanced media library, media management, media directory, folder manager, wordpress, media library wizard, folders manager, media library folder, media folders, media directories, media categories, wordpress media library folders, wordpress media folder, wordpress media folders, wordpress media library
|
4 |
Stable tag: trunk
|
5 |
Requires at least: 5.2
|
@@ -232,7 +232,7 @@ We offer a [knowledge base and fast support](https://devowl.io/support/) on our
|
|
232 |
|
233 |
== Changelog ==
|
234 |
|
235 |
-
You can view the changelog and release notes [here](https://devowlio.gitbook.io/changelogs/plugins/real-media-library).
|
236 |
|
237 |
Real Media Library 4.14.1 or older had an XSS vulnerability. It could be exploited by logged in WordPress users with permissions to upload files, create folders and edit folders. We strongly recommend to install updates to 4.14.2 or newer!
|
238 |
|
1 |
=== WordPress Real Media Library: Media Library Folder & File Manager ===
|
2 |
+
Contributors: devowl, mguenter, jankarres, mrguenter
|
3 |
Tags: wordpress media library folders, media library folders, file manager, media folder, media library folder, media library category, media library categories, media category, subfolders, file manager, directories, folder, folders, organize, media library, enhanced Media, enhanced media library, media management, media directory, folder manager, wordpress, media library wizard, folders manager, media library folder, media folders, media directories, media categories, wordpress media library folders, wordpress media folder, wordpress media folders, wordpress media library
|
4 |
Stable tag: trunk
|
5 |
Requires at least: 5.2
|
232 |
|
233 |
== Changelog ==
|
234 |
|
235 |
+
You can view the changelog and release notes [here](https://devowlio.gitbook.io/changelogs/wordpress-plugins/real-media-library).
|
236 |
|
237 |
Real Media Library 4.14.1 or older had an XSS vulnerability. It could be exploited by logged in WordPress users with permissions to upload files, create folders and edit folders. We strongly recommend to install updates to 4.14.2 or newer!
|
238 |
|
inc/base/others/cachebuster-lib.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* This file was automatically generated (
|
3 |
return [
|
4 |
'es6-shim' => '0.35.6',
|
5 |
'es7-shim' => '6.0.0',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Fri Apr 29 2022 08:46:00 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'es6-shim' => '0.35.6',
|
5 |
'es7-shim' => '6.0.0',
|
inc/base/others/cachebuster.php
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
<?php
|
2 |
-
/* This file was automatically generated (
|
3 |
return [
|
4 |
'src/public/dist/rml_gutenberg.lite.js' => '3d37a223a96263169ae2b80a657401a6',
|
5 |
'src/public/dist/rml_gutenberg.pro.js' => '092861083b3d0f93be211d69a05f4ecd',
|
1 |
<?php
|
2 |
+
/* This file was automatically generated (Fri Apr 29 2022 08:46:00 GMT+0000 (Coordinated Universal Time)). */
|
3 |
return [
|
4 |
'src/public/dist/rml_gutenberg.lite.js' => '3d37a223a96263169ae2b80a657401a6',
|
5 |
'src/public/dist/rml_gutenberg.pro.js' => '092861083b3d0f93be211d69a05f4ecd',
|
index.php
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
* Description: Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy!
|
9 |
* Author: devowl.io
|
10 |
* Author URI: https://devowl.io
|
11 |
-
* Version: 4.18.
|
12 |
* Text Domain: real-media-library
|
13 |
* Domain Path: /languages
|
14 |
*/
|
8 |
* Description: Organize uploaded media in folders, collections and galleries: A file manager for WordPress. Media management made easy!
|
9 |
* Author: devowl.io
|
10 |
* Author URI: https://devowl.io
|
11 |
+
* Version: 4.18.4
|
12 |
* Text Domain: real-media-library
|
13 |
* Domain Path: /languages
|
14 |
*/
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit8239fe93ec9e71f92a1791357c8374df::getLoader();
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -5,7 +5,7 @@ namespace MatthiasWeb\RealMediaLibrary\Vendor\Composer;
|
|
5 |
use MatthiasWeb\RealMediaLibrary\Vendor\Composer\Semver\VersionParser;
|
6 |
class InstalledVersions
|
7 |
{
|
8 |
-
private static $installed = array('root' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '
|
9 |
public static function getInstalledPackages()
|
10 |
{
|
11 |
return \array_keys(self::$installed['versions']);
|
5 |
use MatthiasWeb\RealMediaLibrary\Vendor\Composer\Semver\VersionParser;
|
6 |
class InstalledVersions
|
7 |
{
|
8 |
+
private static $installed = array('root' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '63e21c78b43f7c10fbd44ecf81a3be484f2b7404', 'name' => '__root__'), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '63e21c78b43f7c10fbd44ecf81a3be484f2b7404'), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => 'a6f7fa5938b077d07d390d5a6729e1b48e0c178b'), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '20cb702cfdf8371d48750463c30f8551c1753410'), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '48f380da0e61910f07cecb52dc58cf8e24b8f5e1'), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '4f4a98962be8e2e5a3404e76233f744ca5346477'), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(0 => '9999999-dev'), 'reference' => '56c78cc6da7b071e58ec4a4cc04f2a2dcae05a13')));
|
9 |
public static function getInstalledPackages()
|
10 |
{
|
11 |
return \array_keys(self::$installed['versions']);
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit58fa02aa4b5a92311a29c0edb14943fd
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$classMap = require __DIR__ . '/autoload_classmap.php';
|
36 |
if ($classMap) {
|
@@ -42,19 +42,19 @@ class ComposerAutoloaderInit58fa02aa4b5a92311a29c0edb14943fd
|
|
42 |
$loader->register(true);
|
43 |
|
44 |
if ($useStaticLoader) {
|
45 |
-
$includeFiles = Composer\Autoload\
|
46 |
} else {
|
47 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
48 |
}
|
49 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
50 |
-
|
51 |
}
|
52 |
|
53 |
return $loader;
|
54 |
}
|
55 |
}
|
56 |
|
57 |
-
function
|
58 |
{
|
59 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
60 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit8239fe93ec9e71f92a1791357c8374df
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit8239fe93ec9e71f92a1791357c8374df', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit8239fe93ec9e71f92a1791357c8374df', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit8239fe93ec9e71f92a1791357c8374df::getInitializer($loader));
|
34 |
} else {
|
35 |
$classMap = require __DIR__ . '/autoload_classmap.php';
|
36 |
if ($classMap) {
|
42 |
$loader->register(true);
|
43 |
|
44 |
if ($useStaticLoader) {
|
45 |
+
$includeFiles = Composer\Autoload\ComposerStaticInit8239fe93ec9e71f92a1791357c8374df::$files;
|
46 |
} else {
|
47 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
48 |
}
|
49 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
50 |
+
composerRequire8239fe93ec9e71f92a1791357c8374df($fileIdentifier, $file);
|
51 |
}
|
52 |
|
53 |
return $loader;
|
54 |
}
|
55 |
}
|
56 |
|
57 |
+
function composerRequire8239fe93ec9e71f92a1791357c8374df($fileIdentifier, $file)
|
58 |
{
|
59 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
60 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'49a1299791c25c6fd83542c6fedacddd' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v4p11.php',
|
@@ -179,9 +179,9 @@ class ComposerStaticInit58fa02aa4b5a92311a29c0edb14943fd
|
|
179 |
public static function getInitializer(ClassLoader $loader)
|
180 |
{
|
181 |
return \Closure::bind(function () use ($loader) {
|
182 |
-
$loader->prefixLengthsPsr4 =
|
183 |
-
$loader->prefixDirsPsr4 =
|
184 |
-
$loader->classMap =
|
185 |
|
186 |
}, null, ClassLoader::class);
|
187 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit8239fe93ec9e71f92a1791357c8374df
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'49a1299791c25c6fd83542c6fedacddd' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v4p11.php',
|
179 |
public static function getInitializer(ClassLoader $loader)
|
180 |
{
|
181 |
return \Closure::bind(function () use ($loader) {
|
182 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit8239fe93ec9e71f92a1791357c8374df::$prefixLengthsPsr4;
|
183 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit8239fe93ec9e71f92a1791357c8374df::$prefixDirsPsr4;
|
184 |
+
$loader->classMap = ComposerStaticInit8239fe93ec9e71f92a1791357c8374df::$classMap;
|
185 |
|
186 |
}, null, ClassLoader::class);
|
187 |
}
|
vendor/composer/installed.php
CHANGED
@@ -2,4 +2,4 @@
|
|
2 |
|
3 |
namespace MatthiasWeb\RealMediaLibrary\Vendor;
|
4 |
|
5 |
-
return array('root' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '
|
2 |
|
3 |
namespace MatthiasWeb\RealMediaLibrary\Vendor;
|
4 |
|
5 |
+
return array('root' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '63e21c78b43f7c10fbd44ecf81a3be484f2b7404', 'name' => '__root__'), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '63e21c78b43f7c10fbd44ecf81a3be484f2b7404'), 'devowl-wp/freemium' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => 'a6f7fa5938b077d07d390d5a6729e1b48e0c178b'), 'devowl-wp/real-product-manager-wp-client' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '20cb702cfdf8371d48750463c30f8551c1753410'), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '48f380da0e61910f07cecb52dc58cf8e24b8f5e1'), 'devowl-wp/utils' => array('pretty_version' => 'dev-wordpress', 'version' => 'dev-wordpress', 'aliases' => array(), 'reference' => '4f4a98962be8e2e5a3404e76233f744ca5346477'), 'yahnis-elsts/plugin-update-checker' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(0 => '9999999-dev'), 'reference' => '56c78cc6da7b071e58ec4a4cc04f2a2dcae05a13')));
|
vendor/devowl-wp/real-product-manager-wp-client/CHANGELOG.md
CHANGED
@@ -3,6 +3,19 @@
|
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
## 1.12.3 (2022-04-20)
|
7 |
|
8 |
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
6 |
+
## 1.12.4 (2022-04-29)
|
7 |
+
|
8 |
+
|
9 |
+
### fix
|
10 |
+
|
11 |
+
* patch hostname correctly when syncing with remote within multisite (CU-2chc0vt)
|
12 |
+
* respect connected thematic hosts also for invalidating the license for new found host (CU-2de0bqb)
|
13 |
+
* support multisites with more than 100 subsites (CU-2de4am1)
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
+
|
18 |
+
|
19 |
## 1.12.3 (2022-04-20)
|
20 |
|
21 |
|
vendor/devowl-wp/real-product-manager-wp-client/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "@devowl-wp/real-product-manager-wp-client",
|
3 |
-
"version": "1.12.
|
4 |
"description": "A WordPress client for Real Product Manager",
|
5 |
"author": "DevOwl",
|
6 |
"homepage": "https://devowl.io",
|
1 |
{
|
2 |
"name": "@devowl-wp/real-product-manager-wp-client",
|
3 |
+
"version": "1.12.4",
|
4 |
"description": "A WordPress client for Real Product Manager",
|
5 |
"author": "DevOwl",
|
6 |
"homepage": "https://devowl.io",
|
vendor/devowl-wp/real-product-manager-wp-client/src/PluginUpdate.php
CHANGED
@@ -155,10 +155,9 @@ class PluginUpdate {
|
|
155 |
// Multisite (all blog IDs)
|
156 |
$blogIds = [];
|
157 |
if (\function_exists('get_sites') && \class_exists('WP_Site_Query')) {
|
158 |
-
$sites = get_sites();
|
159 |
foreach ($sites as $site) {
|
160 |
-
$
|
161 |
-
$blogId = \intval($os->blog_id);
|
162 |
// The blog is only relevant, if the plugin is active
|
163 |
switch_to_blog($blogId);
|
164 |
if (is_plugin_active($basename)) {
|
155 |
// Multisite (all blog IDs)
|
156 |
$blogIds = [];
|
157 |
if (\function_exists('get_sites') && \class_exists('WP_Site_Query')) {
|
158 |
+
$sites = get_sites(['number' => 0, 'fields' => 'ids']);
|
159 |
foreach ($sites as $site) {
|
160 |
+
$blogId = \intval($site);
|
|
|
161 |
// The blog is only relevant, if the plugin is active
|
162 |
switch_to_blog($blogId);
|
163 |
if (is_plugin_active($basename)) {
|
vendor/devowl-wp/real-product-manager-wp-client/src/Utils.php
CHANGED
@@ -61,7 +61,18 @@ class Utils {
|
|
61 |
$url = \preg_replace('/^www\\./', '', $url);
|
62 |
// Remove default ports (https://regex101.com/r/eyxvPE/1)
|
63 |
$url = \preg_replace('/:(80|443)$/', '', $url);
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
}
|
66 |
/**
|
67 |
* To avoid issues with multisites without own domains, we need to map blog ids
|
@@ -77,19 +88,7 @@ class Utils {
|
|
77 |
if ($isMu) {
|
78 |
switch_to_blog($blogId);
|
79 |
}
|
80 |
-
$host =
|
81 |
-
/**
|
82 |
-
* Connect a sub site within your multisite with the main host. This is useful e.g. you are
|
83 |
-
* running a multisite site per language: de.example.com, en.example.com, ... . This leads to
|
84 |
-
* one license bundled for multiple sites.
|
85 |
-
*
|
86 |
-
* @hook DevOwl/RealProductManager/HostMap/ConnectThematic
|
87 |
-
* @param {string} $host
|
88 |
-
* @param {int} $blogId
|
89 |
-
* @since 1.7.9
|
90 |
-
* @return {string}
|
91 |
-
*/
|
92 |
-
$host = apply_filters('DevOwl/RealProductManager/HostMap/ConnectThematic', $host, $blogId);
|
93 |
$hostnames['blog'][$blogId] = $host;
|
94 |
$hostnames['host'][$host][] = $blogId;
|
95 |
if ($isMu) {
|
61 |
$url = \preg_replace('/^www\\./', '', $url);
|
62 |
// Remove default ports (https://regex101.com/r/eyxvPE/1)
|
63 |
$url = \preg_replace('/:(80|443)$/', '', $url);
|
64 |
+
/**
|
65 |
+
* Connect a sub site within your multisite with the main host. This is useful e.g. you are
|
66 |
+
* running a multisite site per language: de.example.com, en.example.com, ... . This leads to
|
67 |
+
* one license bundled for multiple sites.
|
68 |
+
*
|
69 |
+
* @hook DevOwl/RealProductManager/HostMap/ConnectThematic
|
70 |
+
* @param {string} $host
|
71 |
+
* @param {int} $blogId
|
72 |
+
* @since 1.7.9
|
73 |
+
* @return {string}
|
74 |
+
*/
|
75 |
+
return apply_filters('DevOwl/RealProductManager/HostMap/ConnectThematic', $url, get_current_blog_id());
|
76 |
}
|
77 |
/**
|
78 |
* To avoid issues with multisites without own domains, we need to map blog ids
|
88 |
if ($isMu) {
|
89 |
switch_to_blog($blogId);
|
90 |
}
|
91 |
+
$host = self::getCurrentHostname();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
$hostnames['blog'][$blogId] = $host;
|
93 |
$hostnames['host'][$host][] = $blogId;
|
94 |
if ($isMu) {
|
vendor/devowl-wp/real-product-manager-wp-client/src/license/License.php
CHANGED
@@ -149,7 +149,9 @@ class License {
|
|
149 |
['blog' => $this->getBlogId(), 'slug' => $this->getSlug()]
|
150 |
);
|
151 |
}
|
|
|
152 |
$response = $this->getClient()->patch($code, $this->getUuid());
|
|
|
153 |
$this->validateRemoteResponse($response);
|
154 |
return $response;
|
155 |
}
|
@@ -353,7 +355,11 @@ class License {
|
|
353 |
*/
|
354 |
public function getBlogName() {
|
355 |
$this->switch();
|
356 |
-
$result = \sprintf(
|
|
|
|
|
|
|
|
|
357 |
$this->restore();
|
358 |
return $result;
|
359 |
}
|
149 |
['blog' => $this->getBlogId(), 'slug' => $this->getSlug()]
|
150 |
);
|
151 |
}
|
152 |
+
$this->switch();
|
153 |
$response = $this->getClient()->patch($code, $this->getUuid());
|
154 |
+
$this->restore();
|
155 |
$this->validateRemoteResponse($response);
|
156 |
return $response;
|
157 |
}
|
355 |
*/
|
356 |
public function getBlogName() {
|
357 |
$this->switch();
|
358 |
+
$result = \sprintf(
|
359 |
+
'%s (%s)',
|
360 |
+
get_bloginfo('name'),
|
361 |
+
\MatthiasWeb\RealMediaLibrary\Vendor\DevOwl\RealProductManagerWpClient\Utils::getCurrentHostname()
|
362 |
+
);
|
363 |
$this->restore();
|
364 |
return $result;
|
365 |
}
|
vendor/devowl-wp/utils/CHANGELOG.md
CHANGED
@@ -3,6 +3,17 @@
|
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
## 1.12.9 (2022-04-20)
|
7 |
|
8 |
|
3 |
All notable changes to this project will be documented in this file.
|
4 |
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5 |
|
6 |
+
## 1.12.10 (2022-04-29)
|
7 |
+
|
8 |
+
|
9 |
+
### fix
|
10 |
+
|
11 |
+
* link preload's need to be self-closing (CU-2cwz5v4)
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
## 1.12.9 (2022-04-20)
|
18 |
|
19 |
|
vendor/devowl-wp/utils/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"name": "@devowl-wp/utils",
|
3 |
-
"version": "1.12.
|
4 |
"description": "Utility functionality for all your WordPress plugins.",
|
5 |
"author": "devowl",
|
6 |
"homepage": "https://devowl.io",
|
1 |
{
|
2 |
"name": "@devowl-wp/utils",
|
3 |
+
"version": "1.12.10",
|
4 |
"description": "Utility functionality for all your WordPress plugins.",
|
5 |
"author": "devowl",
|
6 |
"homepage": "https://devowl.io",
|
vendor/devowl-wp/utils/src/Assets.php
CHANGED
@@ -208,7 +208,7 @@ trait Assets {
|
|
208 |
}
|
209 |
$src = apply_filters('script_loader_src', $src, $handle);
|
210 |
\printf(
|
211 |
-
'<link rel="preload" href="%s" as="%s"
|
212 |
',
|
213 |
esc_url($src),
|
214 |
$type
|
208 |
}
|
209 |
$src = apply_filters('script_loader_src', $src, $handle);
|
210 |
\printf(
|
211 |
+
'<link rel="preload" href="%s" as="%s" />
|
212 |
',
|
213 |
esc_url($src),
|
214 |
$type
|