Plugin Directory

Changeset 3382846


Ignore:
Timestamp:
10/22/2025 05:48:46 PM (5 months ago)
Author:
salzano
Message:

Adding version 2.1.4

Location:
heic-support/trunk
Files:
8 added
2 edited

Legend:

Unmodified
Added
Removed
  • heic-support/trunk/heic-support.php

    r3160147 r3382846  
    11<?php
    2 /**
    3  * HEIC Support
    4  *
    5  * @author Corey Salzano <[email protected]>
    6  * @package HEIC_Support
    7  */
    8 
    9 defined( 'ABSPATH' ) || exit;
    10 
    112/**
    123 * Plugin Name: HEIC Support
     
    156 * Author: Breakfast
    167 * Author URI: https://breakfastco.xyz/
    17  * Version: 2.1.3
     8 * Version: 2.1.4
    189 * Text-domain: heic-support
    1910 * License: GPLv2
     11 * GitHub Plugin URI: https://github.com/csalzano/heic-support
     12 * Primary Branch: main
     13 *
     14 * @author Corey Salzano <[email protected]>
     15 * @package HEIC_Support
    2016 */
     17
     18defined( 'ABSPATH' ) || exit;
    2119
    2220if ( ! class_exists( 'Heic_Support_Plugin' ) ) {
     
    6058            add_filter( 'wp_generate_attachment_metadata', array( $this, 'populate_meta' ), 10, 2 );
    6159
     60            // Run our conversion test when users visit wp-admin/options-media.php.
     61            add_action( 'admin_init', array( $this, 'test_run' ), 9 );
     62
    6263            // Adds settings to the dashboard at Settings → Media.
    6364            add_action( 'admin_init', array( $this, 'add_settings' ) );
     
    6869            // Deletes the test image when the plugin is uninstalled.
    6970            register_uninstall_hook( __FILE__, array( __CLASS__, 'uninstall' ) );
    70 
    71             // Run our conversion test when users visit wp-admin/options-media.php.
    72             add_action( 'admin_enqueue_scripts', array( $this, 'test_run' ) );
    7371        }
    7472
     
    458456         * can be retrieved.
    459457         *
    460          * @param  string $hook_suffix The current admin page.
    461          * @return void
    462          */
    463         public function test_run( $hook_suffix ) {
     458         * @return void
     459         */
     460        public function test_run() {
     461            global $pagenow;
    464462            // Is this page wp-admin/options-media.php?
    465             if ( 'options-media.php' !== $hook_suffix ) {
     463            if ( 'options-media.php' !== $pagenow ) {
    466464                // No.
    467465                return;
  • heic-support/trunk/readme.txt

    r3160147 r3382846  
    44Tags: heic, webp, iphone
    55Requires at least: 5.9
    6 Tested up to: 6.6.2
    7 Stable tag: 2.1.3
     6Tested up to: 6.8.3
     7Stable tag: 2.1.4
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    3131
    3232== Changelog ==
     33
     34= 2.1.4 =
     35* [Fixed] Makes sure the test runs before the settings output is generated.
     36* [Changed] Changes the tested up to version to 6.8.3.
    3337
    3438= 2.1.3 =
     
    6872== Upgrade Notice ==
    6973
     74= 2.1.4 =
     75Makes sure the test runs before the settings output is generated. Changes the tested up to version to 6.8.3.
     76
    7077= 2.1.3 =
    7178Changes the tested up to version to 6.6.2.
Note: See TracChangeset for help on using the changeset viewer.