diff --git a/README.md b/README.md index 7ed0d1c..080c6cb 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ **Donate link:** https://www.paypal.me/BrainstormForce **Tags:** schema markup, structured data, rich snippets, schema.org, schema **Requires at least:** 3.7 -**Tested up to:** 6.6 -**Stable tag:** 1.6.12 +**Tested up to:** 6.7 +**Stable tag:** 1.6.13 **License:** GPLv2 or later **License URI:** http://www.gnu.org/licenses/gpl-2.0.html Boost CTR. Improve SEO & Rankings. Supports most of the content type. Works perfectly with Google, Bing, Yahoo & Facebook. @@ -80,6 +80,10 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et ## Changelog ## +### 1.6.13 ### +- Improvement: Compatibility with WordPress 6.7. +- Improvement: Updated the video uploadDate field to use the d-m-y format. + ### 1.6.12 ### - Improvement: Added Product Image field in Review Schema. - Improvement: Updated plugin metadata tags to improve search optimization. diff --git a/functions.php b/functions.php index 168f8a6..203e4ce 100644 --- a/functions.php +++ b/functions.php @@ -881,7 +881,7 @@ function display_rich_snippet( $content ) { try { // Create a DateTime object from the $video_date string. $datetime = new DateTime( $video_date, new DateTimeZone( $timezone ) ); // Set the timezone to the server's timezone. - $uploadDate = $datetime->format( 'Y-m-d\TH:i:sP' ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase + $uploadDate = $datetime->format( 'd-m-Y\TH:i:sP' ); // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase } catch ( Exception $e ) { // Translators: %s is the error message from the exception. echo esc_html( sprintf( __( 'Error creating DateTime object: %s', 'all-in-one-schemaorg-rich-snippets' ), esc_html( $e->getMessage() ) ) ); diff --git a/index.php b/index.php index 815f23b..d71e76b 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,7 @@ * Author: Brainstorm Force * Author URI: https://www.brainstormforce.com * Description: Welcome to the Schema - All In One Schema Rich Snippets! You can now easily add schema markup on various * pages and posts of your website. Implement schema types such as Review, Events, Recipes, Article, Products, Services * *etc. - * Version: 1.6.12 + * Version: 1.6.13 * Text Domain: rich-snippets * License: GPL2 * @@ -68,7 +68,7 @@ public function define_constants() { define( 'AIOSRS_PRO_BASE', plugin_basename( AIOSRS_PRO_FILE ) ); define( 'AIOSRS_PRO_DIR', plugin_dir_path( AIOSRS_PRO_FILE ) ); define( 'AIOSRS_PRO_URI', plugins_url( '/', AIOSRS_PRO_FILE ) ); - define( 'AIOSRS_PRO_VER', '1.6.12' ); + define( 'AIOSRS_PRO_VER', '1.6.13' ); } /** diff --git a/languages/all-in-one-schemaorg-rich-snippets.pot b/languages/all-in-one-schemaorg-rich-snippets.pot index c6062d8..7d013ee 100644 --- a/languages/all-in-one-schemaorg-rich-snippets.pot +++ b/languages/all-in-one-schemaorg-rich-snippets.pot @@ -2,10 +2,10 @@ # This file is distributed under the GPL2. msgid "" msgstr "" -"Project-Id-Version: Schema - All In One Schema Rich Snippets 1.6.12\n" +"Project-Id-Version: Schema - All In One Schema Rich Snippets 1.6.13\n" "Report-Msgid-Bugs-To: " "https://wordpress.org/support/plugin/all-in-one-schemaorg-rich-snippets\n" -"POT-Creation-Date: 2024-10-21 05:48:14+00:00\n" +"POT-Creation-Date: 2024-11-19 04:26:41+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -1484,14 +1484,6 @@ msgstr "" msgid "Provider telephone number" msgstr "" -#: vendor/wp-cli/wp-cli/php/utils-wp.php:247 -msgid "Inactive Widgets" -msgstr "" - -#: vendor/wp-cli/wp-cli/php/utils-wp.php:250 -msgid "Drag widgets here to remove them from the sidebar but keep their settings." -msgstr "" - #. Plugin Name of the plugin/theme msgid "Schema - All In One Schema Rich Snippets" msgstr "" diff --git a/package-lock.json b/package-lock.json index f45bd4d..855315c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "all-in-one-schemaorg-rich-snippets", - "version": "1.6.12", + "version": "1.6.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "all-in-one-schemaorg-rich-snippets", - "version": "1.6.12", + "version": "1.6.13", "devDependencies": { "grunt": "^1.6.1", "grunt-cli": "^1.5.0", @@ -204,12 +204,12 @@ } }, "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", + "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", "dev": true, "dependencies": { - "fill-range": "^7.0.1" + "fill-range": "^7.1.1" }, "engines": { "node": ">=8" @@ -426,9 +426,9 @@ "dev": true }, "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", + "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", "dev": true, "dependencies": { "to-regex-range": "^5.0.1" @@ -1320,13 +1320,13 @@ } }, "node_modules/micromatch": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.4.tgz", - "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==", + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", + "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, "dependencies": { - "braces": "^3.0.1", - "picomatch": "^2.2.3" + "braces": "^3.0.3", + "picomatch": "^2.3.1" }, "engines": { "node": ">=8.6" @@ -1547,9 +1547,9 @@ } }, "node_modules/picomatch": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz", - "integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "dev": true, "engines": { "node": ">=8.6" diff --git a/package.json b/package.json index 30ac4e6..7b6e183 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "all-in-one-schemaorg-rich-snippets", - "version": "1.6.12", + "version": "1.6.13", "main": "Gruntfile.js", "author": "Brainstorm Force", "devDependencies": { diff --git a/readme.txt b/readme.txt index 6c2be01..3a28547 100644 --- a/readme.txt +++ b/readme.txt @@ -3,8 +3,8 @@ Contributors: brainstormforce Donate link: https://www.paypal.me/BrainstormForce Tags: schema markup, structured data, rich snippets, schema.org, schema Requires at least: 3.7 -Tested up to: 6.6 -Stable tag: 1.6.12 +Tested up to: 6.7 +Stable tag: 1.6.13 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Boost CTR. Improve SEO & Rankings. Supports most of the content type. Works perfectly with Google, Bing, Yahoo & Facebook. @@ -80,6 +80,10 @@ Review, Event, People, Product, Recipe, Software Application, Video, Articles et == Changelog == += 1.6.13 = +- Improvement: Compatibility with WordPress 6.7. +- Improvement: Updated the video uploadDate field to use the d-m-y format. + = 1.6.12 = - Improvement: Added Product Image field in Review Schema. - Improvement: Updated plugin metadata tags to improve search optimization.