Changeset 12404
- Timestamp:
- 02/20/2023 01:21:36 AM (2 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/head.php
r12202 r12404 17 17 add_filter( 'wp_resource_hints', [ __CLASS__, 'wp_resource_hints' ], 10, 2 ); 18 18 add_action( 'wp_head', [ __CLASS__, 'json_ld_schema' ], 1 ); 19 add_action( 'wp_head', [ __CLASS__, 'disable_hreflang' ], 1 ); 20 } 21 22 /** 23 * Disable the hreflang tags from the parent theme. 24 */ 25 public static function disable_hreflang() { 26 remove_action( 'wp_head', 'WordPressdotorg\Theme\hreflang_link_attributes' ); 19 27 } 20 28 -
sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/uploads.php
r12234 r12404 111 111 /* After upload, after photo validates. */ 112 112 113 // Disable jpeg to webp convers tion.113 // Disable jpeg to webp conversion. 114 114 add_filter( 'wp_upload_image_mime_transforms', [ __CLASS__, 'disable_jpeg_to_webp' ] ); 115 115
Note: See TracChangeset
for help on using the changeset viewer.