Skip to content

Commit

Permalink
Release: (fae9033) Merge branch 'develop' into trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
dkotter committed Jan 5, 2023
1 parent e2fe7d3 commit 1711ecb
Show file tree
Hide file tree
Showing 9 changed files with 47 additions and 31 deletions.
6 changes: 3 additions & 3 deletions classifai.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://github.com/10up/classifai
* Update URI: https://classifaiplugin.com
* Description: Enhance your WordPress content with Artificial Intelligence and Machine Learning services.
* Version: 1.8.0
* Version: 1.8.1
* Author: 10up
* Author URI: https://10up.com
* License: GPLv2
Expand All @@ -21,12 +21,12 @@
register_activation_hook(
__FILE__,
function() {
if ( version_compare( PHP_VERSION, '7.2.0', '<' ) ) {
if ( version_compare( PHP_VERSION, '7.4.0', '<' ) ) {
wp_die(
sprintf(
wp_kses(
/* translators: PHP Update guide URL */
__( 'ClassifAI requires PHP version 7.2. <a href="%s">Click here</a> to learn how to update your PHP version.', 'classifai' ),
__( 'ClassifAI requires PHP version 7.4. <a href="%s">Click here</a> to learn how to update your PHP version.', 'classifai' ),
array(
'a' => array( 'href' => array() ),
)
Expand Down
2 changes: 1 addition & 1 deletion config.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* declared here instead of a Class.
*/

$plugin_version = '1.8.0';
$plugin_version = '1.8.1';

if ( file_exists( __DIR__ . '/.commit' ) ) {
$plugin_version .= '-' . file_get_contents( __DIR__ . '/.commit' );
Expand Down
10 changes: 5 additions & 5 deletions languages/classifai.pot
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Copyright (C) 2022 10up
# Copyright (C) 2023 10up
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: ClassifAI 1.8.0\n"
"Project-Id-Version: ClassifAI 1.8.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/classifai\n"
"POT-Creation-Date: 2022-09-30 09:56:45+00:00\n"
"POT-Creation-Date: 2023-01-05 17:38:25+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"X-Generator: node-wp-i18n 1.2.6\n"

#: classifai.php:29
#. translators: PHP Update guide URL
msgid ""
"ClassifAI requires PHP version 7.2. <a href=\"%s\">Click here</a> to learn "
"ClassifAI requires PHP version 7.4. <a href=\"%s\">Click here</a> to learn "
"how to update your PHP version."
msgstr ""

Expand Down
11 changes: 7 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
=== ClassifAI ===
Contributors: 10up
Tags: AI, Artifical Intelligence, ML, Machine Learning, Microsoft Azure, IBM Watson, Content Tagging, Classification, Smart Cropping, Alt Text
Requires at least: 5.6
Tested up to: 6.0
Requires PHP: 7.2
Stable tag: 1.8.0
Requires at least: 5.7
Tested up to: 6.1
Requires PHP: 7.4
Stable tag: 1.8.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -31,5 +31,8 @@ Enhance your WordPress content with Artificial Intelligence and Machine Learning

== Upgrade Notice ==

= 1.8.1 =
**Note that this release bumps the WordPress minimum from 5.6 to 5.7 and the PHP minimum from 7.2 to 7.4.**

= 1.8.0 =
**Note that this release bumps the PHP minimum from 7.0 to 7.2.**
19 changes: 16 additions & 3 deletions vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,23 @@
// autoload.php @generated by Composer

if (PHP_VERSION_ID < 50600) {
echo 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
exit(1);
if (!headers_sent()) {
header('HTTP/1.1 500 Internal Server Error');
}
$err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
if (!ini_get('display_errors')) {
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
fwrite(STDERR, $err);
} elseif (!headers_sent()) {
echo $err;
}
}
trigger_error(
$err,
E_USER_ERROR
);
}

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit06ec8fcd258c5ec429154d28d49707cc::getLoader();
return ComposerAutoloaderInit624f3ae57c1d1b165ed98d99c495494b::getLoader();
14 changes: 7 additions & 7 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit06ec8fcd258c5ec429154d28d49707cc
class ComposerAutoloaderInit624f3ae57c1d1b165ed98d99c495494b
{
private static $loader;

Expand All @@ -24,18 +24,18 @@ public static function getLoader()

require __DIR__ . '/platform_check.php';

spl_autoload_register(array('ComposerAutoloaderInit06ec8fcd258c5ec429154d28d49707cc', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit624f3ae57c1d1b165ed98d99c495494b', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit06ec8fcd258c5ec429154d28d49707cc', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit624f3ae57c1d1b165ed98d99c495494b', 'loadClassLoader'));

require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b::getInitializer($loader));

$loader->register(true);

$includeFiles = \Composer\Autoload\ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc::$files;
$includeFiles = \Composer\Autoload\ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b::$files;
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire06ec8fcd258c5ec429154d28d49707cc($fileIdentifier, $file);
composerRequire624f3ae57c1d1b165ed98d99c495494b($fileIdentifier, $file);
}

return $loader;
Expand All @@ -47,7 +47,7 @@ public static function getLoader()
* @param string $file
* @return void
*/
function composerRequire06ec8fcd258c5ec429154d28d49707cc($fileIdentifier, $file)
function composerRequire624f3ae57c1d1b165ed98d99c495494b($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc
class ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b
{
public static $files = array (
'7166494aeff09009178f278afd86c83f' => __DIR__ . '/..' . '/yahnis-elsts/plugin-update-checker/load-v4p13.php',
Expand Down Expand Up @@ -46,9 +46,9 @@ class ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit06ec8fcd258c5ec429154d28d49707cc::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit624f3ae57c1d1b165ed98d99c495494b::$classMap;

}, null, ClassLoader::class);
}
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '10up/classifai',
'pretty_version' => 'dev-trunk',
'version' => 'dev-trunk',
'reference' => 'bad12eda37c3f8d616fbe8870b51d34bae1a31f7',
'reference' => 'fae90331a31b0015bf12962d07d7eebcebcacbb6',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'10up/classifai' => array(
'pretty_version' => 'dev-trunk',
'version' => 'dev-trunk',
'reference' => 'bad12eda37c3f8d616fbe8870b51d34bae1a31f7',
'reference' => 'fae90331a31b0015bf12962d07d7eebcebcacbb6',
'type' => 'wordpress-plugin',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down
4 changes: 2 additions & 2 deletions vendor/composer/platform_check.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

$issues = array();

if (!(PHP_VERSION_ID >= 70200)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.2.0". You are running ' . PHP_VERSION . '.';
if (!(PHP_VERSION_ID >= 70400)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}

if ($issues) {
Expand Down

0 comments on commit 1711ecb

Please sign in to comment.