Changeset 3382846
- Timestamp:
- 10/22/2025 05:48:46 PM (5 months ago)
- Location:
- heic-support/trunk
- Files:
-
- 8 added
- 2 edited
-
heic-support.php (modified) (5 diffs)
-
languages (added)
-
languages/heic-support-de.po (added)
-
languages/heic-support-de_DE.po (added)
-
languages/heic-support-en-GB.po (added)
-
languages/heic-support-ja.po (added)
-
languages/heic-support-ru.po (added)
-
languages/heic-support-sv.po (added)
-
languages/heic-support-zh-TW.po (added)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
heic-support/trunk/heic-support.php
r3160147 r3382846 1 1 <?php 2 /**3 * HEIC Support4 *5 * @author Corey Salzano <[email protected]>6 * @package HEIC_Support7 */8 9 defined( 'ABSPATH' ) || exit;10 11 2 /** 12 3 * Plugin Name: HEIC Support … … 15 6 * Author: Breakfast 16 7 * Author URI: https://breakfastco.xyz/ 17 * Version: 2.1. 38 * Version: 2.1.4 18 9 * Text-domain: heic-support 19 10 * 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 20 16 */ 17 18 defined( 'ABSPATH' ) || exit; 21 19 22 20 if ( ! class_exists( 'Heic_Support_Plugin' ) ) { … … 60 58 add_filter( 'wp_generate_attachment_metadata', array( $this, 'populate_meta' ), 10, 2 ); 61 59 60 // Run our conversion test when users visit wp-admin/options-media.php. 61 add_action( 'admin_init', array( $this, 'test_run' ), 9 ); 62 62 63 // Adds settings to the dashboard at Settings → Media. 63 64 add_action( 'admin_init', array( $this, 'add_settings' ) ); … … 68 69 // Deletes the test image when the plugin is uninstalled. 69 70 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' ) );73 71 } 74 72 … … 458 456 * can be retrieved. 459 457 * 460 * @ param string $hook_suffix The current admin page.461 * @return void462 */463 public function test_run( $hook_suffix ) {458 * @return void 459 */ 460 public function test_run() { 461 global $pagenow; 464 462 // Is this page wp-admin/options-media.php? 465 if ( 'options-media.php' !== $ hook_suffix) {463 if ( 'options-media.php' !== $pagenow ) { 466 464 // No. 467 465 return; -
heic-support/trunk/readme.txt
r3160147 r3382846 4 4 Tags: heic, webp, iphone 5 5 Requires at least: 5.9 6 Tested up to: 6. 6.27 Stable tag: 2.1. 36 Tested up to: 6.8.3 7 Stable tag: 2.1.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 == 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. 33 37 34 38 = 2.1.3 = … … 68 72 == Upgrade Notice == 69 73 74 = 2.1.4 = 75 Makes sure the test runs before the settings output is generated. Changes the tested up to version to 6.8.3. 76 70 77 = 2.1.3 = 71 78 Changes the tested up to version to 6.6.2.
Note: See TracChangeset
for help on using the changeset viewer.