Version Description
Download this release
Release Info
Developer | devowl |
Plugin | Real Media Library: Media Library Folder & File Manager |
Version | 4.17.10 |
Comparing to | |
See all releases |
Code changes from version 4.17.9 to 4.17.10
- CHANGELOG.md +11 -0
- inc/base/others/cachebuster-lib.php +1 -1
- inc/base/others/cachebuster.php +1 -1
- inc/comp/WPML.php +3 -2
- 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/utils/CHANGELOG.md +11 -0
- vendor/devowl-wp/utils/package.json +1 -1
- vendor/devowl-wp/utils/src/Service.php +1 -1
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 |
## 4.17.9 (2022-01-31)
|
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.17.10 (2022-02-11)
|
7 |
+
|
8 |
+
|
9 |
+
### fix
|
10 |
+
|
11 |
+
* count was incorrect when WPML is used (CU-1y28j1k)
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
## 4.17.9 (2022-01-31)
|
18 |
|
19 |
|
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 Feb 11 2022 14:21:02 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 Feb 11 2022 14:21:02 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',
|
inc/comp/WPML.php
CHANGED
@@ -181,9 +181,10 @@ class WPML implements \MatthiasWeb\RealMediaLibrary\overrides\interfce\comp\IOve
|
|
181 |
}
|
182 |
// Create UPDATE query
|
183 |
// phpcs:disable WordPress.DB.PreparedSQL
|
184 |
-
$sqlStatement = "UPDATE {$table_name_icl} AS tn SET " . \join(',', $setters) . " WHERE {$where}";
|
185 |
$sqlStatement =
|
186 |
-
"UPDATE {$table_name_icl} AS tn\n INNER JOIN (\n SELECT rmlic.fid
|
|
|
|
|
187 |
$wpdb->prefix .
|
188 |
"icl_translations wpmlt\n ON wpmlt.element_id = rmlpostscnt.attachment\n AND wpmlt.element_type = 'post_attachment'\n GROUP BY rmlic.fid\n ) curr\n ON curr.fid = tn.fid\n SET " .
|
189 |
\join(',', $setters) .
|
181 |
}
|
182 |
// Create UPDATE query
|
183 |
// phpcs:disable WordPress.DB.PreparedSQL
|
|
|
184 |
$sqlStatement =
|
185 |
+
"UPDATE {$table_name_icl} AS tn\n INNER JOIN (\n SELECT rmlic.fid, " .
|
186 |
+
\join(',', $readers) .
|
187 |
+
"\n FROM {$table_name_icl} rmlic\n LEFT JOIN {$table_name_posts} rmlpostscnt\n ON rmlpostscnt.fid = rmlic.fid\n LEFT JOIN " .
|
188 |
$wpdb->prefix .
|
189 |
"icl_translations wpmlt\n ON wpmlt.element_id = rmlpostscnt.attachment\n AND wpmlt.element_type = 'post_attachment'\n GROUP BY rmlic.fid\n ) curr\n ON curr.fid = tn.fid\n SET " .
|
190 |
\join(',', $setters) .
|
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.17.
|
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.17.10
|
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 ComposerAutoloaderInit49ce4ff4281c45c3c942945ee46a4904::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' => '8a158b855c2653c7f3b63ea33891019add421008', 'name' => '__root__'), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '8a158b855c2653c7f3b63ea33891019add421008'), 'devowl-wp/freemium' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => 'f46163e56a6be9eace5a48ecd0c5c8d1680219a6'), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => '8f35c9a3c7cc4a086422c95356b890212cbb8c65'), 'devowl-wp/utils' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => '3b2eee5934e5ce0d94cdb5f4736259d448fe8531'), 'matthiasweb/wordpress-plugin-updater' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => 'c801fd86c4cf97f3b0c59d653c5e7bce99cebb73')));
|
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 ComposerAutoloaderInit20456466edeaad54da06d46ce5498958
|
|
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 ComposerAutoloaderInit20456466edeaad54da06d46ce5498958
|
|
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 ComposerAutoloaderInit49ce4ff4281c45c3c942945ee46a4904
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit49ce4ff4281c45c3c942945ee46a4904', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit49ce4ff4281c45c3c942945ee46a4904', '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\ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904::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\ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904::$files;
|
46 |
} else {
|
47 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
48 |
}
|
49 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
50 |
+
composerRequire49ce4ff4281c45c3c942945ee46a4904($fileIdentifier, $file);
|
51 |
}
|
52 |
|
53 |
return $loader;
|
54 |
}
|
55 |
}
|
56 |
|
57 |
+
function composerRequire49ce4ff4281c45c3c942945ee46a4904($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 |
'b45694f813fe096b704a1908536cfec0' => __DIR__ . '/..' . '/devowl-wp/real-utils/src/autoload.php',
|
@@ -144,9 +144,9 @@ class ComposerStaticInit20456466edeaad54da06d46ce5498958
|
|
144 |
public static function getInitializer(ClassLoader $loader)
|
145 |
{
|
146 |
return \Closure::bind(function () use ($loader) {
|
147 |
-
$loader->prefixLengthsPsr4 =
|
148 |
-
$loader->prefixDirsPsr4 =
|
149 |
-
$loader->classMap =
|
150 |
|
151 |
}, null, ClassLoader::class);
|
152 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'b45694f813fe096b704a1908536cfec0' => __DIR__ . '/..' . '/devowl-wp/real-utils/src/autoload.php',
|
144 |
public static function getInitializer(ClassLoader $loader)
|
145 |
{
|
146 |
return \Closure::bind(function () use ($loader) {
|
147 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904::$prefixLengthsPsr4;
|
148 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904::$prefixDirsPsr4;
|
149 |
+
$loader->classMap = ComposerStaticInit49ce4ff4281c45c3c942945ee46a4904::$classMap;
|
150 |
|
151 |
}, null, ClassLoader::class);
|
152 |
}
|
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' => '8a158b855c2653c7f3b63ea33891019add421008', 'name' => '__root__'), 'versions' => array('__root__' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => '8a158b855c2653c7f3b63ea33891019add421008'), 'devowl-wp/freemium' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => 'f46163e56a6be9eace5a48ecd0c5c8d1680219a6'), 'devowl-wp/real-utils' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => '8f35c9a3c7cc4a086422c95356b890212cbb8c65'), 'devowl-wp/utils' => array('pretty_version' => 'dev-build/composer-installedversions', 'version' => 'dev-build/composer-installedversions', 'aliases' => array(), 'reference' => '3b2eee5934e5ce0d94cdb5f4736259d448fe8531'), 'matthiasweb/wordpress-plugin-updater' => array('pretty_version' => 'dev-master', 'version' => 'dev-master', 'aliases' => array(), 'reference' => 'c801fd86c4cf97f3b0c59d653c5e7bce99cebb73')));
|
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.5 (2022-01-31)
|
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.6 (2022-02-11)
|
7 |
+
|
8 |
+
|
9 |
+
### style
|
10 |
+
|
11 |
+
* sometimes the WP REST API notice was shown in plugin settings pages (WP External Links)
|
12 |
+
|
13 |
+
|
14 |
+
|
15 |
+
|
16 |
+
|
17 |
## 1.12.5 (2022-01-31)
|
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.6",
|
4 |
"description": "Utility functionality for all your WordPress plugins.",
|
5 |
"author": "devowl",
|
6 |
"homepage": "https://devowl.io",
|
vendor/devowl-wp/utils/src/Service.php
CHANGED
@@ -73,7 +73,7 @@ class Service {
|
|
73 |
$GLOBALS[self::NOTICE_CORRUPT_REST_API_ID] = \true;
|
74 |
$securityPlugins = $this->getSecurityPlugins();
|
75 |
echo \sprintf(
|
76 |
-
'<div id="notice-corrupt-rest-api" class="hidden notice notice-warning"><p>%s</p><ul></ul><p>%s</p></div>',
|
77 |
\sprintf(
|
78 |
// translators:
|
79 |
__(
|
73 |
$GLOBALS[self::NOTICE_CORRUPT_REST_API_ID] = \true;
|
74 |
$securityPlugins = $this->getSecurityPlugins();
|
75 |
echo \sprintf(
|
76 |
+
'<div id="notice-corrupt-rest-api" class="hidden notice notice-warning" style="display:none;"><p>%s</p><ul></ul><p>%s</p></div>',
|
77 |
\sprintf(
|
78 |
// translators:
|
79 |
__(
|