wpmdb_post_max_upper_size

wpmdb_post_max_upper_size

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_post_max_upper_size') is found 1 times:

  • /class/Common/Util/Util.php line 108
            if ($suhosin_request_limit && $suhosin_post_limit) {
                $suhosin_limit = min(wp_convert_hr_to_bytes($suhosin_request_limit), wp_convert_hr_to_bytes($suhosin_post_limit));
            }
    
            $post_max_upper_size = apply_filters('wpmdb_post_max_upper_size', 26214400);
    
            // we have to account for HTTP headers and other bloating, here we minus 1kb for bloat
            $calculated_bottleneck = min(($this->get_post_max_size() - 1024), $post_max_upper_size);
    
            if (0 >= $calculated_bottleneck) {
                $calculated_bottleneck = $post_max_upper_size;