Changes from branches/3.0/wp-admin/includes/media.php at r16668 to trunk/wp-admin/includes/media.php at r17347
- File:
-
- 1 edited
-
trunk/wp-admin/includes/media.php (modified) (71 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r16668 r17347 10 10 * {@internal Missing Short Description}} 11 11 * 12 * @since unknown12 * @since 2.5.0 13 13 * 14 14 * @return unknown … … 28 28 * {@internal Missing Short Description}} 29 29 * 30 * @since unknown30 * @since 2.5.0 31 31 * 32 32 * @param unknown_type $tabs … … 60 60 * {@internal Missing Short Description}} 61 61 * 62 * @since unknown62 * @since 2.5.0 63 63 */ 64 64 function the_media_upload_tabs() { … … 90 90 * {@internal Missing Short Description}} 91 91 * 92 * @since unknown92 * @since 2.5.0 93 93 * 94 94 * @param unknown_type $id … … 118 118 * {@internal Missing Short Description}} 119 119 * 120 * @since unknown120 * @since 2.6.0 121 121 * 122 122 * @param unknown_type $html … … 141 141 $width = $matches[1]; 142 142 143 $caption = str_replace( array( '>', '<', '"', "'" ), 144 array( '>', '<', '"', ''' ), 145 $caption 146 ); 147 143 148 $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html ); 144 149 if ( empty($align) ) … … 155 160 * {@internal Missing Short Description}} 156 161 * 157 * @since unknown162 * @since 2.5.0 158 163 * 159 164 * @param unknown_type $html … … 176 181 * This handles the file upload POST itself, creating the attachment post. 177 182 * 178 * @since unknown183 * @since 2.5.0 179 184 * 180 185 * @param string $file_id Index into the {@link $_FILES} array of the upload … … 235 240 236 241 /** 237 * {@internal Missing Short Description}}238 * 239 * @since unknown240 * 241 * @param unknown_type $file_array242 * @param unknown_type $post_id243 * @param unknown_type $desc244 * @param unknown_type $post_data245 * @return unknown242 * 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 246 251 */ 247 252 function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) { … … 266 271 } 267 272 268 $title = @$desc;273 $title = isset($desc) ? $desc : ''; 269 274 270 275 // Construct the attachment array … … 279 284 // Save the attachment metadata 280 285 $id = wp_insert_attachment($attachment, $file, $post_id); 281 if ( !is_wp_error($id) ) {286 if ( !is_wp_error($id) ) 282 287 wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); 283 return $url; 284 } 288 285 289 return $id; 286 290 } … … 292 296 * etc any additional function args will be passed to content_func. 293 297 * 294 * @since unknown298 * @since 2.5.0 295 299 * 296 300 * @param unknown_type $content_func … … 308 312 wp_enqueue_style( 'colors' ); 309 313 // Check callback name for 'media' 310 if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, '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' ) ) ) 311 316 wp_enqueue_style( 'media' ); 312 317 wp_enqueue_style( 'ie' ); … … 316 321 addLoadEvent = 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();}}}; 317 322 var 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(); ?>'}; 318 var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup'; 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(); ?>; 319 325 //]]> 320 326 </script> … … 349 355 * {@internal Missing Short Description}} 350 356 * 351 * @since unknown357 * @since 2.5.0 352 358 */ 353 359 function media_buttons() { … … 380 386 381 387 function _media_button($title, $icon, $type) { 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>";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>"; 383 389 } 384 390 … … 398 404 * {@internal Missing Short Description}} 399 405 * 400 * @since unknown406 * @since 2.5.0 401 407 * 402 408 * @return unknown … … 485 491 * {@internal Missing Short Description}} 486 492 * 487 * @since unknown493 * @since 2.5.0 488 494 * 489 495 * @return unknown … … 542 548 543 549 /** 544 * {@internal Missing Short Description}}545 * 546 * @since unknown547 * 548 * @param unknown_type $file549 * @param unknown_type $post_id550 * @param unknown_type $desc551 * @return unknown550 * 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 552 558 */ 553 559 function media_sideload_image($file, $post_id, $desc = null) { 554 if ( !empty($file) ) {560 if ( ! empty($file) ) { 555 561 // Download file to temp location 556 $tmp = download_url( $file);562 $tmp = download_url( $file ); 557 563 558 564 // Set variables for storage … … 563 569 564 570 // If error storing temporarily, unlink 565 if ( is_wp_error( $tmp) ) {571 if ( is_wp_error( $tmp ) ) { 566 572 @unlink($file_array['tmp_name']); 567 573 $file_array['tmp_name'] = ''; … … 569 575 570 576 // do the validation and storage stuff 571 $id = media_handle_sideload($file_array, $post_id, @$desc); 572 $src = $id; 573 577 $id = media_handle_sideload( $file_array, $post_id, $desc ); 574 578 // If error storing permanently, unlink 575 579 if ( is_wp_error($id) ) { … … 577 581 return $id; 578 582 } 583 584 $src = wp_get_attachment_url( $id ); 579 585 } 580 586 581 587 // Finally check to make sure the file has been saved, then return the html 582 if ( ! empty($src) ) {583 $alt = @$desc;588 if ( ! empty($src) ) { 589 $alt = isset($desc) ? esc_attr($desc) : ''; 584 590 $html = "<img src='$src' alt='$alt' />"; 585 591 return $html; … … 590 596 * {@internal Missing Short Description}} 591 597 * 592 * @since unknown598 * @since 2.5.0 593 599 * 594 600 * @return unknown … … 648 654 * {@internal Missing Short Description}} 649 655 * 650 * @since unknown656 * @since 2.5.0 651 657 * 652 658 * @return unknown … … 706 712 * {@internal Missing Short Description}} 707 713 * 708 * @since unknown714 * @since 2.5.0 709 715 * 710 716 * @return unknown … … 761 767 * {@internal Missing Short Description}} 762 768 * 763 * @since unknown769 * @since 2.5.0 764 770 * 765 771 * @return unknown … … 784 790 * {@internal Missing Short Description}} 785 791 * 786 * @since unknown792 * @since 2.5.0 787 793 * 788 794 * @return unknown … … 805 811 * Retrieve HTML for the image alignment radio buttons with the specified one checked. 806 812 * 807 * @since unknown813 * @since 2.7.0 808 814 * 809 815 * @param unknown_type $post … … 833 839 * Retrieve HTML for the size radio buttons with the specified one checked. 834 840 * 835 * @since unknown841 * @since 2.7.0 836 842 * 837 843 * @param unknown_type $post 838 * @param unknown_type $check ed844 * @param unknown_type $check 839 845 * @return unknown 840 846 */ … … 888 894 * Retrieve HTML for the Link URL buttons with the default link type as specified. 889 895 * 890 * @since unknown896 * @since 2.7.0 891 897 * 892 898 * @param unknown_type $post … … 919 925 * {@internal Missing Short Description}} 920 926 * 921 * @since unknown927 * @since 2.5.0 922 928 * 923 929 * @param unknown_type $form_fields … … 958 964 * {@internal Missing Short Description}} 959 965 * 960 * @since unknown966 * @since 2.5.0 961 967 * 962 968 * @param unknown_type $form_fields … … 969 975 } 970 976 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 */ 971 986 function media_post_single_attachment_fields_to_edit( $form_fields, $post ) { 972 987 unset($form_fields['image_url']); … … 977 992 * {@internal Missing Short Description}} 978 993 * 979 * @since unknown994 * @since 2.5.0 980 995 * 981 996 * @param unknown_type $post … … 999 1014 * {@internal Missing Short Description}} 1000 1015 * 1001 * @since unknown1016 * @since 2.5.0 1002 1017 * 1003 1018 * @param unknown_type $html … … 1026 1041 * {@internal Missing Short Description}} 1027 1042 * 1028 * @since unknown1043 * @since 2.5.0 1029 1044 * 1030 1045 * @param unknown_type $post … … 1080 1095 foreach ( get_attachment_taxonomies($post) as $taxonomy ) { 1081 1096 $t = (array) get_taxonomy($taxonomy); 1097 if ( ! $t['public'] ) 1098 continue; 1082 1099 if ( empty($t['label']) ) 1083 1100 $t['label'] = $taxonomy; … … 1114 1131 * the image attachment. 1115 1132 * 1116 * @since unknown1133 * @since 2.5.0 1117 1134 * 1118 1135 * @param int $post_id Optional. Post ID. … … 1148 1165 * Retrieve HTML form for modifying the image attachment. 1149 1166 * 1150 * @since unknown1167 * @since 2.5.0 1151 1168 * 1152 1169 * @param int $attachment_id Attachment ID for modification. … … 1164 1181 $post = get_post( $attachment_id ); 1165 1182 1166 $default_args = array( 'errors' => null, 'send' => post_type_supports(get_post_type($post->post_parent), 'editor'), 'delete' => true, 'toggle' => true, 'show_title' => true );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 ); 1167 1184 $args = wp_parse_args( $args, $default_args ); 1185 $args = apply_filters( 'get_media_item_args', $args ); 1168 1186 extract( $args, EXTR_SKIP ); 1169 1187 … … 1266 1284 1267 1285 if ( $send ) 1268 $send = "<input type='submit' class='button' name='send[$attachment_id]' value='" . esc_attr__( 'Insert into Post' ) . "' />";1286 $send = get_submit_button( __( 'Insert into Post' ), 'button', "send[$attachment_id]", false ); 1269 1287 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1270 1288 if ( !EMPTY_TRASH_DAYS ) { … … 1301 1319 1302 1320 foreach ( $form_fields as $id => $field ) { 1303 if ( $id {0}== '_' )1321 if ( $id[0] == '_' ) 1304 1322 continue; 1305 1323 … … 1326 1344 $item .= $field[ $field['input'] ]; 1327 1345 elseif ( $field['input'] == 'textarea' ) { 1328 $item .= "<textarea type='text' id='$name' name='$name' $aria_required>" . esc_html( $field['value'] ) . '</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>'; 1329 1350 } else { 1330 1351 $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />"; … … 1370 1391 * {@internal Missing Short Description}} 1371 1392 * 1372 * @since unknown1393 * @since 2.5.0 1373 1394 */ 1374 1395 function media_upload_header() { … … 1384 1405 * {@internal Missing Short Description}} 1385 1406 * 1386 * @since unknown1407 * @since 2.5.0 1387 1408 * 1388 1409 * @param unknown_type $errors 1389 1410 */ 1390 1411 function media_upload_form( $errors = null ) { 1391 global $type, $tab ;1412 global $type, $tab, $pagenow; 1392 1413 1393 1414 $flash_action_url = admin_url('async-upload.php'); … … 1441 1462 do_action('pre-upload-ui'); 1442 1463 1443 if ( $flash ) : ?> 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 ?> 1444 1494 <script type="text/javascript"> 1445 1495 //<![CDATA[ … … 1452 1502 button_width: "132", 1453 1503 button_text_top_padding: 3, 1454 button_image_url: '<?php echo includes_url('images/upload.png?ver=20100531'); ?>',1504 button_image_url: '<?php echo $upload_image_path; ?>', 1455 1505 button_placeholder_id: "flash-browse-button", 1456 1506 upload_url : "<?php echo esc_attr( $flash_action_url ); ?>", … … 1459 1509 file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>", 1460 1510 post_params : { 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" 1511 <?php echo $post_params_str; ?> 1468 1512 }, 1469 1513 file_size_limit : "<?php echo $max_upload_size; ?>b", … … 1473 1517 upload_progress_handler : uploadProgress, 1474 1518 upload_error_handler : uploadError, 1475 upload_success_handler : uploadSuccess,1519 upload_success_handler : <?php echo apply_filters( 'swfupload_success_handler', 'uploadSuccess' ); ?>, 1476 1520 upload_complete_handler : uploadComplete, 1477 1521 file_queue_error_handler : fileQueueError, … … 1507 1551 <?php do_action('pre-html-upload-ui'); ?> 1508 1552 <p id="async-upload-wrap"> 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> 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> 1511 1557 </p> 1512 1558 <div class="clear"></div> 1513 1559 <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p> 1514 1560 <?php if ( is_lighttpd_before_150() ): ?> 1515 <p><?php _e('If you want to use all capabilities of the uploader, like uploading multiple files at once, please up grade to lighttpd 1.5.'); ?></p>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> 1516 1562 <?php endif;?> 1517 1563 <?php do_action('post-html-upload-ui', $flash); ?> … … 1524 1570 * {@internal Missing Short Description}} 1525 1571 * 1526 * @since unknown1572 * @since 2.5.0 1527 1573 * 1528 1574 * @param unknown_type $type … … 1540 1586 1541 1587 <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"> 1542 < input type="submit" class="hidden" name="save" value="" />1588 <?php submit_button( '', 'hidden', 'save', false ); ?> 1543 1589 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1544 1590 <?php wp_nonce_field('media-form'); ?> … … 1573 1619 </div> 1574 1620 <p class="savebutton ml-submit"> 1575 < input type="submit" class="button" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />1621 <?php submit_button( __( 'Save all changes' ), 'button', 'save', false ); ?> 1576 1622 </p> 1577 1623 </form> … … 1582 1628 * {@internal Missing Short Description}} 1583 1629 * 1584 * @since unknown1630 * @since 2.7.0 1585 1631 * 1586 1632 * @param unknown_type $type … … 1700 1746 * {@internal Missing Short Description}} 1701 1747 * 1702 * @since unknown1748 * @since 2.5.0 1703 1749 * 1704 1750 * @param unknown_type $errors … … 1753 1799 1754 1800 <p class="ml-submit"> 1755 < input type="submit" class="button savebutton" style="display:none;" name="save" id="save-all" value="<?php esc_attr_e( 'Save all changes' ); ?>" />1801 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false, array( 'id' => 'save-all', 'style' => 'display: none;' ) ); ?> 1756 1802 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1757 1803 <input type="hidden" name="type" value="<?php echo esc_attr( $GLOBALS['type'] ); ?>" /> … … 1816 1862 <td class="field"> 1817 1863 <select id="columns" name="columns"> 1864 <option value="1">1</option> 1818 1865 <option value="2">2</option> 1819 1866 <option value="3" selected="selected">3</option> … … 1841 1888 * {@internal Missing Short Description}} 1842 1889 * 1843 * @since unknown1890 * @since 2.5.0 1844 1891 * 1845 1892 * @param unknown_type $errors … … 1876 1923 <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label> 1877 1924 <input type="text" id="media-search-input" name="s" value="<?php the_search_query(); ?>" /> 1878 < input type="submit" value="<?php esc_attr_e( 'Search Media' ); ?>" class="button" />1925 <?php submit_button( __( 'Search Media' ), 'button', '', false ); ?> 1879 1926 </p> 1880 1927 … … 1909 1956 $class = ' class="current"'; 1910 1957 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 } 1913 echo implode(' | </li>', $type_links) . '</li>';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>'; 1914 1961 unset($type_links); 1915 1962 ?> … … 1963 2010 <?php } ?> 1964 2011 1965 < input type="submit" id="post-query-submit" value="<?php echo esc_attr( __( 'Filter »' ) ); ?>" class="button-secondary" />2012 <?php submit_button( __( 'Filter »' ), 'secondary', 'post-query-submit', false ); ?> 1966 2013 1967 2014 </div> … … 1993 2040 </div> 1994 2041 <p class="ml-submit"> 1995 < input type="submit" class="button savebutton" name="save" value="<?php esc_attr_e( 'Save all changes' ); ?>" />2042 <?php submit_button( __( 'Save all changes' ), 'button savebutton', 'save', false ); ?> 1996 2043 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1997 2044 </p> … … 2003 2050 * {@internal Missing Short Description}} 2004 2051 * 2005 * @since unknown2052 * @since 2.7.0 2006 2053 * 2007 2054 * @return unknown … … 2085 2132 * {@internal Missing Short Description}} 2086 2133 * 2087 * @since unknown2134 * @since 2.7.0 2088 2135 * 2089 2136 * @return unknown … … 2115 2162 * {@internal Missing Short Description}} 2116 2163 * 2117 * @since unknown2164 * @since 2.7.0 2118 2165 * 2119 2166 * @return unknown … … 2145 2192 * {@internal Missing Short Description}} 2146 2193 * 2147 * @since unknown2194 * @since 2.7.0 2148 2195 * 2149 2196 * @return unknown … … 2191 2238 <td></td> 2192 2239 <td> 2193 <input type="submit" class="button" name="insertonlybutton" value="' . esc_attr__('Insert into Post') . '" />2240 ' . get_submit_button( __( 'Insert into Post' ), 'button', 'insertonlybutton', false ) . ' 2194 2241 </td> 2195 2242 </tr> … … 2202 2249 * Support a GET parameter for disabling the flash uploader. 2203 2250 * 2204 * @since unknown2251 * @since 2.6.0 2205 2252 * 2206 2253 * @param unknown_type $flash … … 2218 2265 * {@internal Missing Short Description}} 2219 2266 * 2220 * @since unknown2267 * @since 2.6.0 2221 2268 */ 2222 2269 function media_upload_flash_bypass() { … … 2229 2276 * {@internal Missing Short Description}} 2230 2277 * 2231 * @since unknown2278 * @since 2.6.0 2232 2279 */ 2233 2280 function media_upload_html_bypass($flash = true) { … … 2250 2297 * Make sure the GET parameter sticks when we submit a form. 2251 2298 * 2252 * @since unknown2299 * @since 2.6.0 2253 2300 * 2254 2301 * @param unknown_type $url
Note: See TracChangeset
for help on using the changeset viewer.