• Plugin Name: All-in-One Event Calendar by Timely
    Version: 1.10.9-standard

    Hello,
    this plugin is decreasing my php.ini settings.

    I put in my php.ini: memory_limit = 400M, because I need it.
    But when this plugin is actived, in line 12 of all-in-one-event-calendar.php file, has a code:

    @ini_set( 'memory_limit', '256M' );

    So, it is decreasing my default value.

    I think it’s necessary use it:

    $memory_limit = intval(ini_get('memory_limit'));
    if ($memory_limit < 256) @ini_set('memory_limit', '256M');

    Um forte abraço do Brasil – Amazonas – Manaus
    Desculpe pelo inglês fraco.

    https://wordpress.org/plugins/all-in-one-event-calendar/

Viewing 1 replies (of 1 total)
  • Thread Starter GuTheR

    (@guther)

    Or… is better use this:

    $memory_limit = intval(ini_get('memory_limit'));
    if ($memory_limit < 256) @ini_set( 'memory_limit', apply_filters( 'image_memory_limit', WP_MAX_MEMORY_LIMIT ) );
Viewing 1 replies (of 1 total)

The topic ‘memory_limit decreasing my php.ini’ is closed to new replies.