Changeset 2937299
- Timestamp:
- 07/11/2023 08:33:17 PM (21 months ago)
- Location:
- yabe-webfont
- Files:
-
- 14 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
yabe-webfont/tags/1.0.48/constant.php
r2932379 r2937299 26 26 * @var string 27 27 */ 28 public const VERSION = '1.0.4 7';28 public const VERSION = '1.0.48'; 29 29 /** 30 30 * @var int 31 31 */ 32 public const VERSION_ID = 1004 7;32 public const VERSION_ID = 10048; 33 33 /** 34 34 * @var int … … 42 42 * @var int 43 43 */ 44 public const RELEASE_VERSION = 4 7;44 public const RELEASE_VERSION = 48; 45 45 /** 46 46 * @var string -
yabe-webfont/tags/1.0.48/readme.txt
r2932379 r2937299 5 5 Requires at least: 6.0 6 6 Tested up to: 6.2 7 Stable tag: 1.0.4 77 Stable tag: 1.0.48 8 8 Requires PHP: 7.4 9 9 License: GPLv3 … … 76 76 77 77 78 = 1.0.48 = 79 * **Improve**: Ensure the uploaded font files are now stored in the `wp-content/uploads/yabe-webfont` folder. 80 78 81 = 1.0.47 = 79 82 * **Improve**: Uploaded font files are now stored in the `wp-content/uploads/yabe-webfont` folder instead of the `wp-content/uploads/yyyy/mm` folder. -
yabe-webfont/tags/1.0.48/src/Admin/AdminPage.php
r2928341 r2937299 24 24 \add_filter('wp_check_filetype_and_ext', static fn($data, $file, $filename, $mimes) => Upload::disable_real_mime_check($data, $file, $filename, $mimes), 10, 4); 25 25 \add_filter('upload_mimes', static fn($mime_types) => Upload::upload_mimes($mime_types), 1000001); 26 \add_filter('upload_dir', fn($uploads) => $this->upload_dir($uploads), 1000001); 26 27 \add_action('admin_menu', fn() => $this->add_admin_menu()); 27 28 if (Config::get('misc.hide_media_library', \false)) { … … 89 90 return \sprintf(\__('Thank you for using <b>Yabe Webfont</b>! Join us on the <a href="%s" target="_blank">Facebook Group</a>.', 'yabe-webfont'), 'https://www.facebook.com/groups/1142662969627943'); 90 91 } 92 private function upload_dir($uploads) 93 { 94 if (!isset($_POST['yabe_webfont_font_upload'])) { 95 return $uploads; 96 } 97 return Upload::wpse_custom_upload_dir($uploads); 98 } 91 99 } -
yabe-webfont/tags/1.0.48/vendor/autoload.php
r2932379 r2937299 19 19 } 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 return ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72::getLoader();21 return ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387::getLoader(); -
yabe-webfont/tags/1.0.48/vendor/composer/autoload_real.php
r2932379 r2937299 4 4 5 5 // autoload_real.php @generated by Composer 6 class ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c726 class ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387 7 7 { 8 8 private static $loader; … … 22 22 } 23 23 require __DIR__ . '/platform_check.php'; 24 \spl_autoload_register(array('_YabeWebfont\\ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72', 'loadClassLoader'), \true, \true);24 \spl_autoload_register(array('_YabeWebfont\\ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387', 'loadClassLoader'), \true, \true); 25 25 self::$loader = $loader = new \_YabeWebfont\Composer\Autoload\ClassLoader(\dirname(__DIR__)); 26 \spl_autoload_unregister(array('_YabeWebfont\\ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72', 'loadClassLoader'));26 \spl_autoload_unregister(array('_YabeWebfont\\ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387', 'loadClassLoader')); 27 27 require __DIR__ . '/autoload_static.php'; 28 \call_user_func(\_YabeWebfont\Composer\Autoload\ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::getInitializer($loader));28 \call_user_func(\_YabeWebfont\Composer\Autoload\ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::getInitializer($loader)); 29 29 $loader->setClassMapAuthoritative(\true); 30 30 $loader->register(\true); 31 $filesToLoad = \_YabeWebfont\Composer\Autoload\ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$files;31 $filesToLoad = \_YabeWebfont\Composer\Autoload\ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$files; 32 32 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 33 33 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
yabe-webfont/tags/1.0.48/vendor/composer/autoload_static.php
r2932379 r2937299 4 4 namespace _YabeWebfont\Composer\Autoload; 5 5 6 class ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c726 class ComposerStaticInit5320dd4ac59a710446fe426d4f18d387 7 7 { 8 8 public static $files = array('a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', 'fa9c7a129d9efc034fd91b08d4905857' => __DIR__ . '/../..' . '/constant.php'); … … 13 13 { 14 14 return \Closure::bind(function () use($loader) { 15 $loader->prefixLengthsPsr4 = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$prefixLengthsPsr4;16 $loader->prefixDirsPsr4 = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$prefixDirsPsr4;17 $loader->classMap = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$classMap;15 $loader->prefixLengthsPsr4 = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$prefixLengthsPsr4; 16 $loader->prefixDirsPsr4 = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$prefixDirsPsr4; 17 $loader->classMap = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$classMap; 18 18 }, null, ClassLoader::class); 19 19 } -
yabe-webfont/tags/1.0.48/yabe-webfont.php
r2932379 r2937299 8 8 * Plugin URI: https://webfont.yabe.land 9 9 * Description: Self-host Google Fonts and the dedicated custom fonts manager for WordPress with seamless visual/page builders integration. 10 * Version: 1.0.4 710 * Version: 1.0.48 11 11 * Requires at least: 6.0 12 12 * Requires PHP: 7.4 -
yabe-webfont/trunk/constant.php
r2932379 r2937299 26 26 * @var string 27 27 */ 28 public const VERSION = '1.0.4 7';28 public const VERSION = '1.0.48'; 29 29 /** 30 30 * @var int 31 31 */ 32 public const VERSION_ID = 1004 7;32 public const VERSION_ID = 10048; 33 33 /** 34 34 * @var int … … 42 42 * @var int 43 43 */ 44 public const RELEASE_VERSION = 4 7;44 public const RELEASE_VERSION = 48; 45 45 /** 46 46 * @var string -
yabe-webfont/trunk/readme.txt
r2932379 r2937299 5 5 Requires at least: 6.0 6 6 Tested up to: 6.2 7 Stable tag: 1.0.4 77 Stable tag: 1.0.48 8 8 Requires PHP: 7.4 9 9 License: GPLv3 … … 76 76 77 77 78 = 1.0.48 = 79 * **Improve**: Ensure the uploaded font files are now stored in the `wp-content/uploads/yabe-webfont` folder. 80 78 81 = 1.0.47 = 79 82 * **Improve**: Uploaded font files are now stored in the `wp-content/uploads/yabe-webfont` folder instead of the `wp-content/uploads/yyyy/mm` folder. -
yabe-webfont/trunk/src/Admin/AdminPage.php
r2928341 r2937299 24 24 \add_filter('wp_check_filetype_and_ext', static fn($data, $file, $filename, $mimes) => Upload::disable_real_mime_check($data, $file, $filename, $mimes), 10, 4); 25 25 \add_filter('upload_mimes', static fn($mime_types) => Upload::upload_mimes($mime_types), 1000001); 26 \add_filter('upload_dir', fn($uploads) => $this->upload_dir($uploads), 1000001); 26 27 \add_action('admin_menu', fn() => $this->add_admin_menu()); 27 28 if (Config::get('misc.hide_media_library', \false)) { … … 89 90 return \sprintf(\__('Thank you for using <b>Yabe Webfont</b>! Join us on the <a href="%s" target="_blank">Facebook Group</a>.', 'yabe-webfont'), 'https://www.facebook.com/groups/1142662969627943'); 90 91 } 92 private function upload_dir($uploads) 93 { 94 if (!isset($_POST['yabe_webfont_font_upload'])) { 95 return $uploads; 96 } 97 return Upload::wpse_custom_upload_dir($uploads); 98 } 91 99 } -
yabe-webfont/trunk/vendor/autoload.php
r2932379 r2937299 19 19 } 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 return ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72::getLoader();21 return ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387::getLoader(); -
yabe-webfont/trunk/vendor/composer/autoload_real.php
r2932379 r2937299 4 4 5 5 // autoload_real.php @generated by Composer 6 class ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c726 class ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387 7 7 { 8 8 private static $loader; … … 22 22 } 23 23 require __DIR__ . '/platform_check.php'; 24 \spl_autoload_register(array('_YabeWebfont\\ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72', 'loadClassLoader'), \true, \true);24 \spl_autoload_register(array('_YabeWebfont\\ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387', 'loadClassLoader'), \true, \true); 25 25 self::$loader = $loader = new \_YabeWebfont\Composer\Autoload\ClassLoader(\dirname(__DIR__)); 26 \spl_autoload_unregister(array('_YabeWebfont\\ComposerAutoloaderInit 49e09ab4ddcb00bf557bd452f55d8c72', 'loadClassLoader'));26 \spl_autoload_unregister(array('_YabeWebfont\\ComposerAutoloaderInit5320dd4ac59a710446fe426d4f18d387', 'loadClassLoader')); 27 27 require __DIR__ . '/autoload_static.php'; 28 \call_user_func(\_YabeWebfont\Composer\Autoload\ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::getInitializer($loader));28 \call_user_func(\_YabeWebfont\Composer\Autoload\ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::getInitializer($loader)); 29 29 $loader->setClassMapAuthoritative(\true); 30 30 $loader->register(\true); 31 $filesToLoad = \_YabeWebfont\Composer\Autoload\ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$files;31 $filesToLoad = \_YabeWebfont\Composer\Autoload\ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$files; 32 32 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 33 33 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
yabe-webfont/trunk/vendor/composer/autoload_static.php
r2932379 r2937299 4 4 namespace _YabeWebfont\Composer\Autoload; 5 5 6 class ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c726 class ComposerStaticInit5320dd4ac59a710446fe426d4f18d387 7 7 { 8 8 public static $files = array('a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', 'fa9c7a129d9efc034fd91b08d4905857' => __DIR__ . '/../..' . '/constant.php'); … … 13 13 { 14 14 return \Closure::bind(function () use($loader) { 15 $loader->prefixLengthsPsr4 = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$prefixLengthsPsr4;16 $loader->prefixDirsPsr4 = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$prefixDirsPsr4;17 $loader->classMap = ComposerStaticInit 49e09ab4ddcb00bf557bd452f55d8c72::$classMap;15 $loader->prefixLengthsPsr4 = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$prefixLengthsPsr4; 16 $loader->prefixDirsPsr4 = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$prefixDirsPsr4; 17 $loader->classMap = ComposerStaticInit5320dd4ac59a710446fe426d4f18d387::$classMap; 18 18 }, null, ClassLoader::class); 19 19 } -
yabe-webfont/trunk/yabe-webfont.php
r2932379 r2937299 8 8 * Plugin URI: https://webfont.yabe.land 9 9 * Description: Self-host Google Fonts and the dedicated custom fonts manager for WordPress with seamless visual/page builders integration. 10 * Version: 1.0.4 710 * Version: 1.0.48 11 11 * Requires at least: 6.0 12 12 * Requires PHP: 7.4
Note: See TracChangeset
for help on using the changeset viewer.