v1.2.1
This commit is contained in:
parent
3bb9ed33e1
commit
b9029e62fe
14 changed files with 1750 additions and 946 deletions
|
|
@ -1,23 +1,23 @@
|
|||
<?php
|
||||
/**
|
||||
* Plugin Name: OpenGraph (by ROBOTSTXT)
|
||||
* Plugin URI: https://git.robotstxt.es/ROBOTSTXT/robotstxt-og
|
||||
* Plugin URI: https://www.robotstxt.software/plugins/robotstxt-og/
|
||||
* Description: Intelligent Open Graph image fallback for social media crawlers. Automatically detects and serves compatible image formats (JPEG/PNG) when modern formats (AVIF/WebP) are used as featured images.
|
||||
* Version: 1.2.0
|
||||
* Version: 1.2.1
|
||||
* Requires at least: 4.9.8
|
||||
* Requires PHP: 8.0
|
||||
* Author: ROBOTSTXT
|
||||
* Author URI: https://www.robotstxt.es/
|
||||
* Author URI: https://www.robotstxt.software/
|
||||
* License: GPL v3 or later
|
||||
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
||||
* Text Domain: robotstxt-og
|
||||
* Domain Path: /languages
|
||||
* Network: true
|
||||
* Gitea Plugin URI: ROBOTSTXT/robotstxt-og
|
||||
* Contributors: javiercasares, robotstxt
|
||||
* Update URI: https://www.robotstxt.software/plugins/robotstxt-og/
|
||||
* Contributors: robotstxt, javiercasares
|
||||
*
|
||||
* @package ROBOTSTXT_OG
|
||||
* @version 1.2.0
|
||||
* @version 1.2.1
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) {
|
||||
|
|
@ -25,15 +25,11 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|||
}
|
||||
|
||||
// Define plugin constants.
|
||||
define( 'ROBOTSTXT_OG_VERSION', '1.2.0' );
|
||||
define( 'ROBOTSTXT_OG_VERSION', '1.2.1' );
|
||||
define( 'ROBOTSTXT_OG_PATH', plugin_dir_path( __FILE__ ) );
|
||||
define( 'ROBOTSTXT_OG_URL', plugin_dir_url( __FILE__ ) );
|
||||
define( 'ROBOTSTXT_OG_BASENAME', plugin_basename( __FILE__ ) );
|
||||
|
||||
// Initialize the updater system.
|
||||
require_once ROBOTSTXT_OG_PATH . 'robotstxt-updater.php';
|
||||
Robotstxt_Updater::init( __FILE__ );
|
||||
|
||||
// Load the main plugin class.
|
||||
require_once ROBOTSTXT_OG_PATH . 'includes/class-robotstxt-og-image-fallback.php';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue