Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.0/wp-admin/includes/media.php

    r17347 r16668  
    1010 * {@internal Missing Short Description}}
    1111 *
    12  * @since 2.5.0
     12 * @since unknown
    1313 *
    1414 * @return unknown
     
    2828 * {@internal Missing Short Description}}
    2929 *
    30  * @since 2.5.0
     30 * @since unknown
    3131 *
    3232 * @param unknown_type $tabs
     
    6060 * {@internal Missing Short Description}}
    6161 *
    62  * @since 2.5.0
     62 * @since unknown
    6363 */
    6464function the_media_upload_tabs() {
     
    9090 * {@internal Missing Short Description}}
    9191 *
    92  * @since 2.5.0
     92 * @since unknown
    9393 *
    9494 * @param unknown_type $id
     
    118118 * {@internal Missing Short Description}}
    119119 *
    120  * @since 2.6.0
     120 * @since unknown
    121121 *
    122122 * @param unknown_type $html
     
    141141    $width = $matches[1];
    142142
    143     $caption = str_replace( array( '>',    '<',    '"',      "'" ),
    144                             array( '&gt;', '&lt;', '&quot;', '&#039;' ),
    145                             $caption
    146                           );
    147 
    148143    $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html );
    149144    if ( empty($align) )
     
    160155 * {@internal Missing Short Description}}
    161156 *
    162  * @since 2.5.0
     157 * @since unknown
    163158 *
    164159 * @param unknown_type $html
     
    181176 * This handles the file upload POST itself, creating the attachment post.
    182177 *
    183  * @since 2.5.0
     178 * @since unknown
    184179 *
    185180 * @param string $file_id Index into the {@link $_FILES} array of the upload
     
    240235
    241236/**
    242  * This handles a sideloaded file in the same way as an uploaded file is handled by {@link media_handle_upload()}
    243  *
    244  * @since 2.6.0
    245  *
    246  * @param array $file_array Array similar to a {@link $_FILES} upload array
    247  * @param int $post_id The post ID the media is associated with
    248  * @param string $desc Description of the sideloaded file
    249  * @param array $post_data allows you to overwrite some of the attachment
    250  * @return int|object The ID of the attachment or a WP_Error on failure
     237 * {@internal Missing Short Description}}
     238 *
     239 * @since unknown
     240 *
     241 * @param unknown_type $file_array
     242 * @param unknown_type $post_id
     243 * @param unknown_type $desc
     244 * @param unknown_type $post_data
     245 * @return unknown
    251246 */
    252247function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) {
     
    271266    }
    272267
    273     $title = isset($desc) ? $desc : '';
     268    $title = @$desc;
    274269
    275270    // Construct the attachment array
     
    284279    // Save the attachment metadata
    285280    $id = wp_insert_attachment($attachment, $file, $post_id);
    286     if ( !is_wp_error($id) )
     281    if ( !is_wp_error($id) ) {
    287282        wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) );
    288 
     283        return $url;
     284    }
    289285    return $id;
    290286}
     
    296292 * etc any additional function args will be passed to content_func.
    297293 *
    298  * @since 2.5.0
     294 * @since unknown
    299295 *
    300296 * @param unknown_type $content_func
     
    312308wp_enqueue_style( 'colors' );
    313309// Check callback name for 'media'
    314 if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) )
    315     || ( ! is_array( $content_func ) && 0 === strpos( $content_func, 'media' ) ) )
     310if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, 'media' ) )
    316311    wp_enqueue_style( 'media' );
    317312wp_enqueue_style( 'ie' );
     
    321316addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    322317var userSettings = {'url':'<?php echo SITECOOKIEPATH; ?>','uid':'<?php if ( ! isset($current_user) ) $current_user = wp_get_current_user(); echo $current_user->ID; ?>','time':'<?php echo time(); ?>'};
    323 var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup',
    324 isRtl = <?php echo (int) is_rtl(); ?>;
     318var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup';
    325319//]]>
    326320</script>
     
    355349 * {@internal Missing Short Description}}
    356350 *
    357  * @since 2.5.0
     351 * @since unknown
    358352 */
    359353function media_buttons() {
     
    386380
    387381function _media_button($title, $icon, $type) {
    388     return "<a href='" . esc_url( get_upload_iframe_src($type) ) . "' id='add_$type' class='thickbox' title='$title'><img src='" . esc_url( admin_url( $icon ) ) . "' alt='$title' onclick='return false;' /></a>";
     382    return "<a href='" . esc_url( get_upload_iframe_src($type) ) . "' id='add_$type' class='thickbox' title='$title'><img src='" . esc_url( admin_url( $icon ) ) . "' alt='$title' /></a>";
    389383}
    390384
     
    404398 * {@internal Missing Short Description}}
    405399 *
    406  * @since 2.5.0
     400 * @since unknown
    407401 *
    408402 * @return unknown
     
    491485 * {@internal Missing Short Description}}
    492486 *
    493  * @since 2.5.0
     487 * @since unknown
    494488 *
    495489 * @return unknown
     
    548542
    549543/**
    550  * Download an image from the specified URL and attach it to a post.
    551  *
    552  * @since 2.6.0
    553  *
    554  * @param string $file The URL of the image to download
    555  * @param int $post_id The post ID the media is to be associated with
    556  * @param string $desc Optional. Description of the image
    557  * @return string|WP_Error Populated HTML img tag on success
     544 * {@internal Missing Short Description}}
     545 *
     546 * @since unknown
     547 *
     548 * @param unknown_type $file
     549 * @param unknown_type $post_id
     550 * @param unknown_type $desc
     551 * @return unknown
    558552 */
    559553function media_sideload_image($file, $post_id, $desc = null) {
    560     if ( ! empty($file) ) {
     554    if (!empty($file) ) {
    561555        // Download file to temp location
    562         $tmp = download_url( $file );
     556        $tmp = download_url($file);
    563557
    564558        // Set variables for storage
     
    569563
    570564        // If error storing temporarily, unlink
    571         if ( is_wp_error( $tmp ) ) {
     565        if ( is_wp_error($tmp) ) {
    572566            @unlink($file_array['tmp_name']);
    573567            $file_array['tmp_name'] = '';
     
    575569
    576570        // do the validation and storage stuff
    577         $id = media_handle_sideload( $file_array, $post_id, $desc );
     571        $id = media_handle_sideload($file_array, $post_id, @$desc);
     572        $src = $id;
     573
    578574        // If error storing permanently, unlink
    579575        if ( is_wp_error($id) ) {
     
    581577            return $id;
    582578        }
    583 
    584         $src = wp_get_attachment_url( $id );
    585579    }
    586580
    587581    // Finally check to make sure the file has been saved, then return the html
    588     if ( ! empty($src) ) {
    589         $alt = isset($desc) ? esc_attr($desc) : '';
     582    if ( !empty($src) ) {
     583        $alt = @$desc;
    590584        $html = "<img src='$src' alt='$alt' />";
    591585        return $html;
     
    596590 * {@internal Missing Short Description}}
    597591 *
    598  * @since 2.5.0
     592 * @since unknown
    599593 *
    600594 * @return unknown
     
    654648 * {@internal Missing Short Description}}
    655649 *
    656  * @since 2.5.0
     650 * @since unknown
    657651 *
    658652 * @return unknown
     
    712706 * {@internal Missing Short Description}}
    713707 *
    714  * @since 2.5.0
     708 * @since unknown
    715709 *
    716710 * @return unknown
     
    767761 * {@internal Missing Short Description}}
    768762 *
    769  * @since 2.5.0
     763 * @since unknown
    770764 *
    771765 * @return unknown
     
    790784 * {@internal Missing Short Description}}
    791785 *
    792  * @since 2.5.0
     786 * @since unknown
    793787 *
    794788 * @return unknown
     
    811805 * Retrieve HTML for the image alignment radio buttons with the specified one checked.
    812806 *
    813  * @since 2.7.0
     807 * @since unknown
    814808 *
    815809 * @param unknown_type $post
     
    839833 * Retrieve HTML for the size radio buttons with the specified one checked.
    840834 *
    841  * @since 2.7.0
     835 * @since unknown
    842836 *
    843837 * @param unknown_type $post
    844  * @param unknown_type $check
     838 * @param unknown_type $checked
    845839 * @return unknown
    846840 */
     
    894888 * Retrieve HTML for the Link URL buttons with the default link type as specified.
    895889 *
    896  * @since 2.7.0
     890 * @since unknown
    897891 *
    898892 * @param unknown_type $post
     
    925919 * {@internal Missing Short Description}}
    926920 *
    927  * @since 2.5.0
     921 * @since unknown
    928922 *
    929923 * @param unknown_type $form_fields
     
    964958 * {@internal Missing Short Description}}
    965959 *
    966  * @since 2.5.0
     960 * @since unknown
    967961 *
    968962 * @param unknown_type $form_fields
     
    975969}
    976970
    977 /**
    978  * {@internal Missing Short Description}}
    979  *
    980  * @since 2.8.0
    981  *
    982  * @param unknown_type $form_fields
    983  * @param unknown_type $post
    984  * @return unknown
    985  */
    986971function media_post_single_attachment_fields_to_edit( $form_fields, $post ) {
    987972    unset($form_fields['image_url']);
     
    992977 * {@internal Missing Short Description}}
    993978 *
    994  * @since 2.5.0
     979 * @since unknown
    995980 *
    996981 * @param unknown_type $post
     
    1014999 * {@internal Missing Short Description}}
    10151000 *
    1016  * @since 2.5.0
     1001 * @since unknown
    10171002 *
    10181003 * @param unknown_type $html
     
    10411026 * {@internal Missing Short Description}}
    10421027 *
    1043  * @since 2.5.0
     1028 * @since unknown
    10441029 *
    10451030 * @param unknown_type $post
     
    10951080    foreach ( get_attachment_taxonomies($post) as $taxonomy ) {
    10961081        $t = (array) get_taxonomy($taxonomy);
    1097         if ( ! $t['public'] )
    1098             continue;
    10991082        if ( empty($t['label']) )
    11001083            $t['label'] = $taxonomy;
     
    11311114 * the image attachment.
    11321115 *
    1133  * @since 2.5.0
     1116 * @since unknown
    11341117 *
    11351118 * @param int $post_id Optional. Post ID.
     
    11651148 * Retrieve HTML form for modifying the image attachment.
    11661149 *
    1167  * @since 2.5.0
     1150 * @since unknown
    11681151 *
    11691152 * @param int $attachment_id Attachment ID for modification.
     
    11811164    $post = get_post( $attachment_id );
    11821165
    1183     $default_args = array( 'errors' => null, 'send' => $post->post_parent ? post_type_supports( get_post_type( $post->post_parent ), 'editor' ) : true, 'delete' => true, 'toggle' => true, 'show_title' => true );
     1166    $default_args = array( 'errors' => null, 'send' => post_type_supports(get_post_type($post->post_parent), 'editor'), 'delete' => true, 'toggle' => true, 'show_title' => true );
    11841167    $args = wp_parse_args( $args, $default_args );
    1185     $args = apply_filters( 'get_media_item_args', $args );
    11861168    extract( $args, EXTR_SKIP );
    11871169
     
    12841266
    12851267    if ( $send )
    1286         $send = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false );
     1268        $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />";
    12871269    if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) {
    12881270        if ( !EMPTY_TRASH_DAYS ) {
     
    13191301
    13201302    foreach ( $form_fields as $id => $field ) {
    1321         if ( $id[0] == '_' )
     1303        if ( $id{0} == '_' )
    13221304            continue;
    13231305
     
    13441326            $item .= $field[ $field['input'] ];
    13451327        elseif ( $field['input'] == 'textarea' ) {
    1346             if ( user_can_richedit() ) { // textarea_escaped when user_can_richedit() = false
    1347                 $field['value'] = esc_textarea( $field['value'] );
    1348             }
    1349             $item .= "<textarea type='text' id='$name' name='$name' $aria_required>" . $field['value'] . '</textarea>';
     1328            $item .= "<textarea type='text' id='$name' name='$name' $aria_required>" . esc_html( $field['value'] ) . '</textarea>';
    13501329        } else {
    13511330            $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />";
     
    13911370 * {@internal Missing Short Description}}
    13921371 *
    1393  * @since 2.5.0
     1372 * @since unknown
    13941373 */
    13951374function media_upload_header() {
     
    14051384 * {@internal Missing Short Description}}
    14061385 *
    1407  * @since 2.5.0
     1386 * @since unknown
    14081387 *
    14091388 * @param unknown_type $errors
    14101389 */
    14111390function media_upload_form( $errors = null ) {
    1412     global $type, $tab, $pagenow;
     1391    global $type, $tab;
    14131392
    14141393    $flash_action_url = admin_url('async-upload.php');
     
    14621441do_action('pre-upload-ui');
    14631442
    1464 if ( $flash ) :
    1465 
    1466 // Set the post params, which SWFUpload will post back with the file, and pass
    1467 // them through a filter.
    1468 $post_params = array(
    1469         "post_id" => $post_id,
    1470         "auth_cookie" => (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]),
    1471         "logged_in_cookie" => $_COOKIE[LOGGED_IN_COOKIE],
    1472         "_wpnonce" => wp_create_nonce('media-form'),
    1473         "type" => $type,
    1474         "tab" => $tab,
    1475         "short" => "1",
    1476 );
    1477 $post_params = apply_filters( 'swfupload_post_params', $post_params );
    1478 $p = array();
    1479 foreach ( $post_params as $param => $val )
    1480     $p[] = "\t\t'$param' : '$val'";
    1481 $post_params_str = implode( ", \n", $p );
    1482 
    1483 // #8545. wmode=transparent cannot be used with SWFUpload
    1484 if ( 'media-new.php' == $pagenow ) {
    1485     $upload_image_path = get_user_option( 'admin_color' );
    1486     if ( 'classic' != $upload_image_path )
    1487         $upload_image_path = 'fresh';
    1488     $upload_image_path = admin_url( 'images/upload-' . $upload_image_path . '.png?ver=20101205' );
    1489 } else {
    1490     $upload_image_path = includes_url( 'images/upload.png?ver=20100531' );
    1491 }
    1492 
    1493 ?>
     1443if ( $flash ) : ?>
    14941444<script type="text/javascript">
    14951445//<![CDATA[
     
    15021452            button_width: "132",
    15031453            button_text_top_padding: 3,
    1504             button_image_url: '<?php echo $upload_image_path; ?>',
     1454            button_image_url: '<?php echo includes_url('images/upload.png?ver=20100531'); ?>',
    15051455            button_placeholder_id: "flash-browse-button",
    15061456            upload_url : "<?php echo esc_attr( $flash_action_url ); ?>",
     
    15091459            file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>",
    15101460            post_params : {
    1511                 <?php echo $post_params_str; ?>
     1461                "post_id" : "<?php echo $post_id; ?>",
     1462                "auth_cookie" : "<?php echo (is_ssl() ? $_COOKIE[SECURE_AUTH_COOKIE] : $_COOKIE[AUTH_COOKIE]); ?>",
     1463                "logged_in_cookie": "<?php echo $_COOKIE[LOGGED_IN_COOKIE]; ?>",
     1464                "_wpnonce" : "<?php echo wp_create_nonce('media-form'); ?>",
     1465                "type" : "<?php echo $type; ?>",
     1466                "tab" : "<?php echo $tab; ?>",
     1467                "short" : "1"
    15121468            },
    15131469            file_size_limit : "<?php echo $max_upload_size; ?>b",
     
    15171473            upload_progress_handler : uploadProgress,
    15181474            upload_error_handler : uploadError,
    1519             upload_success_handler : <?php echo apply_filters( 'swfupload_success_handler', 'uploadSuccess' ); ?>,
     1475            upload_success_handler : uploadSuccess,
    15201476            upload_complete_handler : uploadComplete,
    15211477            file_queue_error_handler : fileQueueError,
     
    15511507<?php do_action('pre-html-upload-ui'); ?>
    15521508    <p id="async-upload-wrap">
    1553         <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
    1554         <input type="file" name="async-upload" id="async-upload" />
    1555         <?php submit_button( __( 'Upload' ), 'button', 'html-upload', false ); ?>
    1556         <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
     1509    <label class="screen-reader-text" for="async-upload"><?php _e('Upload'); ?></label>
     1510    <input type="file" name="async-upload" id="async-upload" /> <input type="submit" class="button" name="html-upload" value="<?php esc_attr_e('Upload'); ?>" /> <a href="#" onclick="try{top.tb_remove();}catch(e){}; return false;"><?php _e('Cancel'); ?></a>
    15571511    </p>
    15581512    <div class="clear"></div>
    15591513    <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p>
    15601514    <?php if ( is_lighttpd_before_150() ): ?>
    1561     <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please update to lighttpd 1.5.'); ?></p>
     1515    <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please upgrade to lighttpd 1.5.'); ?></p>
    15621516    <?php endif;?>
    15631517<?php do_action('post-html-upload-ui', $flash); ?>
     
    15701524 * {@internal Missing Short Description}}
    15711525 *
    1572  * @since 2.5.0
     1526 * @since unknown
    15731527 *
    15741528 * @param unknown_type $type
     
    15861540
    15871541<form enctype="multipart/form-data" method="post" action="<?php echo esc_attr($form_action_url); ?>" class="media-upload-form type-form validate" id="<?php echo $type; ?>-form">
    1588 <?php submit_button( '', 'hidden', 'save', false ); ?>
     1542<input type="submit" class="hidden" name="save" value="" />
    15891543<input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
    15901544<?php wp_nonce_field('media-form'); ?>
     
    16191573</div>
    16201574<p class="savebutton ml-submit">
    1621 <?php submit_button( __( 'Save all changes' ), 'button', 'save', false ); ?>
     1575<input type="submit" class="button" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />
    16221576</p>
    16231577</form>
     
    16281582 * {@internal Missing Short Description}}
    16291583 *
    1630  * @since 2.7.0
     1584 * @since unknown
    16311585 *
    16321586 * @param unknown_type $type
     
    17461700 * {@internal Missing Short Description}}
    17471701 *
    1748  * @since 2.5.0
     1702 * @since unknown
    17491703 *
    17501704 * @param unknown_type $errors
     
    17991753
    18001754<p class="ml-submit">
    1801 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false, array( 'id' => 'save-all', 'style' => 'display: none;' ) ); ?>
     1755<input type="submit" class="button savebutton" style="display:none;" name="save" id="save-all" value="<?php esc_attr_e( 'Save all changes' ); ?>" />
    18021756<input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
    18031757<input type="hidden" name="type" value="<?php echo esc_attr( $GLOBALS['type'] ); ?>" />
     
    18621816    <td class="field">
    18631817        <select id="columns" name="columns">
    1864             <option value="1">1</option>
    18651818            <option value="2">2</option>
    18661819            <option value="3" selected="selected">3</option>
     
    18881841 * {@internal Missing Short Description}}
    18891842 *
    1890  * @since 2.5.0
     1843 * @since unknown
    18911844 *
    18921845 * @param unknown_type $errors
     
    19231876    <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label>
    19241877    <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" />
    1925     <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?>
     1878    <input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />
    19261879</p>
    19271880
     
    19561909        $class = ' class="current"';
    19571910
    1958     $type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . "'$class>" . sprintf( translate_nooped_plural( $label[2], $num_posts[$mime_type] ), "<span id='$mime_type-counter'>" . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';
    1959 }
    1960 echo implode(' | </li>', apply_filters( 'media_upload_mime_type_links', $type_links ) ) . '</li>';
     1911    $type_links[] = "<li><a href='" . esc_url(add_query_arg(array('post_mime_type'=>$mime_type, 'paged'=>false))) . "'$class>" . sprintf(_n($label[2][0], $label[2][1], $num_posts[$mime_type]), "<span id='$mime_type-counter'>" . number_format_i18n( $num_posts[$mime_type] ) . '</span>') . '</a>';
     1912}
     1913echo implode(' | </li>', $type_links) . '</li>';
    19611914unset($type_links);
    19621915?>
     
    20101963<?php } ?>
    20111964
    2012 <?php submit_button( __( 'Filter &#187;' ), 'secondary', 'post-query-submit', false ); ?>
     1965<input type="submit" id="post-query-submit" value="<?php echo esc_attr( __( 'Filter &#187;' ) ); ?>" class="button-secondary" />
    20131966
    20141967</div>
     
    20401993</div>
    20411994<p class="ml-submit">
    2042 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false ); ?>
     1995<input type="submit" class="button savebutton" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />
    20431996<input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" />
    20441997</p>
     
    20502003 * {@internal Missing Short Description}}
    20512004 *
    2052  * @since 2.7.0
     2005 * @since unknown
    20532006 *
    20542007 * @return unknown
     
    21322085 * {@internal Missing Short Description}}
    21332086 *
    2134  * @since 2.7.0
     2087 * @since unknown
    21352088 *
    21362089 * @return unknown
     
    21622115 * {@internal Missing Short Description}}
    21632116 *
    2164  * @since 2.7.0
     2117 * @since unknown
    21652118 *
    21662119 * @return unknown
     
    21922145 * {@internal Missing Short Description}}
    21932146 *
    2194  * @since 2.7.0
     2147 * @since unknown
    21952148 *
    21962149 * @return unknown
     
    22382191            <td></td>
    22392192            <td>
    2240                 ' . get_submit_button( __( 'Insert into Post' ), 'button', 'insertonlybutton', false ) . '
     2193                <input type="submit" class="button" name="insertonlybutton" value="' . esc_attr__('Insert into Post') . '" />
    22412194            </td>
    22422195        </tr>
     
    22492202 * Support a GET parameter for disabling the flash uploader.
    22502203 *
    2251  * @since 2.6.0
     2204 * @since unknown
    22522205 *
    22532206 * @param unknown_type $flash
     
    22652218 * {@internal Missing Short Description}}
    22662219 *
    2267  * @since 2.6.0
     2220 * @since unknown
    22682221 */
    22692222function media_upload_flash_bypass() {
     
    22762229 * {@internal Missing Short Description}}
    22772230 *
    2278  * @since 2.6.0
     2231 * @since unknown
    22792232 */
    22802233function media_upload_html_bypass($flash = true) {
     
    22972250 * Make sure the GET parameter sticks when we submit a form.
    22982251 *
    2299  * @since 2.6.0
     2252 * @since unknown
    23002253 *
    23012254 * @param unknown_type $url
Note: See TracChangeset for help on using the changeset viewer.