Make WordPress Core


Ignore:
Timestamp:
05/23/2007 03:45:28 PM (17 years ago)
Author:
rob1n
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) ?>">
Note: See TracChangeset for help on using the changeset viewer.