Changeset 5527

Show
Ignore:
Timestamp:
05/23/07 15:45:28 (1 year ago)
Author:
rob1n
Message:

Filter max upload file size for import form. Props Donncha. fixes #4320

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/admin-functions.php

    r5523 r5527  
    20082008    if (strpos($size, 'g') !== false) 
    20092009        $bytes = $size * 1024 * 1024 * 1024; 
     2010    $size = apply_filters( 'import_upload_size_limit', $size ); 
    20102011?> 
    20112012<form enctype="multipart/form-data" id="import-upload-form" method="post" action="<?php echo attribute_escape($action) ?>">