rebase from live enviornment

This commit is contained in:
Rachit Bhargava
2024-01-09 22:14:20 -05:00
parent ff0b49a046
commit 3a22fcaa4a
15968 changed files with 2344674 additions and 45234 deletions

View File

@@ -0,0 +1,21 @@
<?php
defined( 'ABSPATH' ) || die( 'Cheatin uh?' );
if ( class_exists( 'WpeCommon' ) ) :
add_filter( 'imagify_unoptimized_attachment_limit', '_imagify_wpengine_unoptimized_attachment_limit' );
add_filter( 'imagify_count_saving_data_limit', '_imagify_wpengine_unoptimized_attachment_limit' );
/**
* Change the limit for the number of posts: WP Engine limits SQL queries size to 2048 octets (16384 characters).
*
* @since 1.4.7
* @since 1.6.7 Renamed (and deprecated) _imagify_wengine_unoptimized_attachment_limit() into _imagify_wpengine_unoptimized_attachment_limit().
* @author Jonathan Buttigieg
*
* @return int
*/
function _imagify_wpengine_unoptimized_attachment_limit() {
return 2500;
}
endif;