← All changes
|
includes/_functions/class-wpbc-action-scheduler-compatibility.php
+1
-1
10.10.2
→
11.9
View file →
| @@ -63,9 +63,9 @@ | ||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | $wp_max_limit = WP_MAX_MEMORY_LIMIT; |
| 66 | 66 | $wp_max_limit_int = self::convert_hr_to_bytes( $wp_max_limit ); |
| 67 | - $filtered_limit = apply_filters( 'admin_memory_limit', $wp_max_limit ); | |
| 67 | + $filtered_limit = apply_filters( 'admin_memory_limit', $wp_max_limit ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound | |
| 68 | 68 | $filtered_limit_int = self::convert_hr_to_bytes( $filtered_limit ); |
| 69 | 69 | |
| 70 | 70 | if ( -1 === $filtered_limit_int || ( $filtered_limit_int > $wp_max_limit_int && $filtered_limit_int > $current_limit_int ) ) { |
| 71 | 71 | if ( false !== @ini_set( 'memory_limit', $filtered_limit ) ) { // phpcs:ignore WordPress.PHP.NoSilencedErrors.Discouraged, Squiz.PHP.DiscouragedFunctions.Discouraged |