WordPress.org

Make WordPress Core

Changeset 7773


Ignore:
Timestamp:
04/22/2008 09:23:57 PM (10 years ago)
Author:
ryan
Message:

Silence ini_get warnings. fixes #6787 for 2.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/wp-includes/script-loader.php

    r7711 r7773  
    9292        $this->localize( 'swfupload-handlers', 'swfuploadL10n', array(
    9393                'queue_limit_exceeded' => __('You have attempted to queue too many files.'),
    94                 'file_exceeds_size_limit' => sprintf(__('This file is too big. Your php.ini upload_max_filesize is %s.'), ini_get('upload_max_filesize')),
     94                'file_exceeds_size_limit' => sprintf(__('This file is too big. Your php.ini upload_max_filesize is %s.'), @ini_get('upload_max_filesize')),
    9595                'zero_byte_file' => __('This file is empty. Please try another.'),
    9696                'invalid_filetype' => __('This file type is not allowed. Please try another.'),
Note: See TracChangeset for help on using the changeset viewer.