Changes from trunk/wp-admin/includes/media.php at r17347 to branches/3.0/wp-admin/includes/media.php at r16668
- File:
-
- 1 edited
-
branches/3.0/wp-admin/includes/media.php (modified) (71 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.0/wp-admin/includes/media.php
r17347 r16668 10 10 * {@internal Missing Short Description}} 11 11 * 12 * @since 2.5.012 * @since unknown 13 13 * 14 14 * @return unknown … … 28 28 * {@internal Missing Short Description}} 29 29 * 30 * @since 2.5.030 * @since unknown 31 31 * 32 32 * @param unknown_type $tabs … … 60 60 * {@internal Missing Short Description}} 61 61 * 62 * @since 2.5.062 * @since unknown 63 63 */ 64 64 function the_media_upload_tabs() { … … 90 90 * {@internal Missing Short Description}} 91 91 * 92 * @since 2.5.092 * @since unknown 93 93 * 94 94 * @param unknown_type $id … … 118 118 * {@internal Missing Short Description}} 119 119 * 120 * @since 2.6.0120 * @since unknown 121 121 * 122 122 * @param unknown_type $html … … 141 141 $width = $matches[1]; 142 142 143 $caption = str_replace( array( '>', '<', '"', "'" ),144 array( '>', '<', '"', ''' ),145 $caption146 );147 148 143 $html = preg_replace( '/(class=["\'][^\'"]*)align(none|left|right|center)\s?/', '$1', $html ); 149 144 if ( empty($align) ) … … 160 155 * {@internal Missing Short Description}} 161 156 * 162 * @since 2.5.0157 * @since unknown 163 158 * 164 159 * @param unknown_type $html … … 181 176 * This handles the file upload POST itself, creating the attachment post. 182 177 * 183 * @since 2.5.0178 * @since unknown 184 179 * 185 180 * @param string $file_id Index into the {@link $_FILES} array of the upload … … 240 235 241 236 /** 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.0245 * 246 * @param array $file_array Array similar to a {@link $_FILES} uploadarray247 * @param int $post_id The post ID the media is associated with248 * @param string $desc Description of the sideloaded file249 * @param array $post_data allows you to overwrite some of the attachment250 * @return int|object The ID of the attachment or a WP_Error on failure237 * {@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 251 246 */ 252 247 function media_handle_sideload($file_array, $post_id, $desc = null, $post_data = array()) { … … 271 266 } 272 267 273 $title = isset($desc) ? $desc : '';268 $title = @$desc; 274 269 275 270 // Construct the attachment array … … 284 279 // Save the attachment metadata 285 280 $id = wp_insert_attachment($attachment, $file, $post_id); 286 if ( !is_wp_error($id) ) 281 if ( !is_wp_error($id) ) { 287 282 wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); 288 283 return $url; 284 } 289 285 return $id; 290 286 } … … 296 292 * etc any additional function args will be passed to content_func. 297 293 * 298 * @since 2.5.0294 * @since unknown 299 295 * 300 296 * @param unknown_type $content_func … … 312 308 wp_enqueue_style( 'colors' ); 313 309 // 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' ) ) ) 310 if ( ( is_array( $content_func ) && ! empty( $content_func[1] ) && 0 === strpos( (string) $content_func[1], 'media' ) ) || 0 === strpos( $content_func, 'media' ) ) 316 311 wp_enqueue_style( 'media' ); 317 312 wp_enqueue_style( 'ie' ); … … 321 316 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();}}}; 322 317 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(); ?>'}; 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(); ?>; 318 var ajaxurl = '<?php echo admin_url('admin-ajax.php'); ?>', pagenow = 'media-upload-popup', adminpage = 'media-upload-popup'; 325 319 //]]> 326 320 </script> … … 355 349 * {@internal Missing Short Description}} 356 350 * 357 * @since 2.5.0351 * @since unknown 358 352 */ 359 353 function media_buttons() { … … 386 380 387 381 function _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>"; 389 383 } 390 384 … … 404 398 * {@internal Missing Short Description}} 405 399 * 406 * @since 2.5.0400 * @since unknown 407 401 * 408 402 * @return unknown … … 491 485 * {@internal Missing Short Description}} 492 486 * 493 * @since 2.5.0487 * @since unknown 494 488 * 495 489 * @return unknown … … 548 542 549 543 /** 550 * Download an image from the specified URL and attach it to a post.551 * 552 * @since 2.6.0553 * 554 * @param string $file The URL of the image to download555 * @param int $post_id The post ID the media is to be associated with556 * @param string $desc Optional. Description of the image557 * @return string|WP_Error Populated HTML img tag on success544 * {@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 558 552 */ 559 553 function media_sideload_image($file, $post_id, $desc = null) { 560 if ( !empty($file) ) {554 if (!empty($file) ) { 561 555 // Download file to temp location 562 $tmp = download_url( $file);556 $tmp = download_url($file); 563 557 564 558 // Set variables for storage … … 569 563 570 564 // If error storing temporarily, unlink 571 if ( is_wp_error( $tmp) ) {565 if ( is_wp_error($tmp) ) { 572 566 @unlink($file_array['tmp_name']); 573 567 $file_array['tmp_name'] = ''; … … 575 569 576 570 // 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 578 574 // If error storing permanently, unlink 579 575 if ( is_wp_error($id) ) { … … 581 577 return $id; 582 578 } 583 584 $src = wp_get_attachment_url( $id );585 579 } 586 580 587 581 // 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; 590 584 $html = "<img src='$src' alt='$alt' />"; 591 585 return $html; … … 596 590 * {@internal Missing Short Description}} 597 591 * 598 * @since 2.5.0592 * @since unknown 599 593 * 600 594 * @return unknown … … 654 648 * {@internal Missing Short Description}} 655 649 * 656 * @since 2.5.0650 * @since unknown 657 651 * 658 652 * @return unknown … … 712 706 * {@internal Missing Short Description}} 713 707 * 714 * @since 2.5.0708 * @since unknown 715 709 * 716 710 * @return unknown … … 767 761 * {@internal Missing Short Description}} 768 762 * 769 * @since 2.5.0763 * @since unknown 770 764 * 771 765 * @return unknown … … 790 784 * {@internal Missing Short Description}} 791 785 * 792 * @since 2.5.0786 * @since unknown 793 787 * 794 788 * @return unknown … … 811 805 * Retrieve HTML for the image alignment radio buttons with the specified one checked. 812 806 * 813 * @since 2.7.0807 * @since unknown 814 808 * 815 809 * @param unknown_type $post … … 839 833 * Retrieve HTML for the size radio buttons with the specified one checked. 840 834 * 841 * @since 2.7.0835 * @since unknown 842 836 * 843 837 * @param unknown_type $post 844 * @param unknown_type $check 838 * @param unknown_type $checked 845 839 * @return unknown 846 840 */ … … 894 888 * Retrieve HTML for the Link URL buttons with the default link type as specified. 895 889 * 896 * @since 2.7.0890 * @since unknown 897 891 * 898 892 * @param unknown_type $post … … 925 919 * {@internal Missing Short Description}} 926 920 * 927 * @since 2.5.0921 * @since unknown 928 922 * 929 923 * @param unknown_type $form_fields … … 964 958 * {@internal Missing Short Description}} 965 959 * 966 * @since 2.5.0960 * @since unknown 967 961 * 968 962 * @param unknown_type $form_fields … … 975 969 } 976 970 977 /**978 * {@internal Missing Short Description}}979 *980 * @since 2.8.0981 *982 * @param unknown_type $form_fields983 * @param unknown_type $post984 * @return unknown985 */986 971 function media_post_single_attachment_fields_to_edit( $form_fields, $post ) { 987 972 unset($form_fields['image_url']); … … 992 977 * {@internal Missing Short Description}} 993 978 * 994 * @since 2.5.0979 * @since unknown 995 980 * 996 981 * @param unknown_type $post … … 1014 999 * {@internal Missing Short Description}} 1015 1000 * 1016 * @since 2.5.01001 * @since unknown 1017 1002 * 1018 1003 * @param unknown_type $html … … 1041 1026 * {@internal Missing Short Description}} 1042 1027 * 1043 * @since 2.5.01028 * @since unknown 1044 1029 * 1045 1030 * @param unknown_type $post … … 1095 1080 foreach ( get_attachment_taxonomies($post) as $taxonomy ) { 1096 1081 $t = (array) get_taxonomy($taxonomy); 1097 if ( ! $t['public'] )1098 continue;1099 1082 if ( empty($t['label']) ) 1100 1083 $t['label'] = $taxonomy; … … 1131 1114 * the image attachment. 1132 1115 * 1133 * @since 2.5.01116 * @since unknown 1134 1117 * 1135 1118 * @param int $post_id Optional. Post ID. … … 1165 1148 * Retrieve HTML form for modifying the image attachment. 1166 1149 * 1167 * @since 2.5.01150 * @since unknown 1168 1151 * 1169 1152 * @param int $attachment_id Attachment ID for modification. … … 1181 1164 $post = get_post( $attachment_id ); 1182 1165 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 ); 1184 1167 $args = wp_parse_args( $args, $default_args ); 1185 $args = apply_filters( 'get_media_item_args', $args );1186 1168 extract( $args, EXTR_SKIP ); 1187 1169 … … 1284 1266 1285 1267 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' ) . "' />"; 1287 1269 if ( $delete && current_user_can( 'delete_post', $attachment_id ) ) { 1288 1270 if ( !EMPTY_TRASH_DAYS ) { … … 1319 1301 1320 1302 foreach ( $form_fields as $id => $field ) { 1321 if ( $id [0]== '_' )1303 if ( $id{0} == '_' ) 1322 1304 continue; 1323 1305 … … 1344 1326 $item .= $field[ $field['input'] ]; 1345 1327 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>'; 1350 1329 } else { 1351 1330 $item .= "<input type='text' class='text' id='$name' name='$name' value='" . esc_attr( $field['value'] ) . "' $aria_required />"; … … 1391 1370 * {@internal Missing Short Description}} 1392 1371 * 1393 * @since 2.5.01372 * @since unknown 1394 1373 */ 1395 1374 function media_upload_header() { … … 1405 1384 * {@internal Missing Short Description}} 1406 1385 * 1407 * @since 2.5.01386 * @since unknown 1408 1387 * 1409 1388 * @param unknown_type $errors 1410 1389 */ 1411 1390 function media_upload_form( $errors = null ) { 1412 global $type, $tab , $pagenow;1391 global $type, $tab; 1413 1392 1414 1393 $flash_action_url = admin_url('async-upload.php'); … … 1462 1441 do_action('pre-upload-ui'); 1463 1442 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 ?> 1443 if ( $flash ) : ?> 1494 1444 <script type="text/javascript"> 1495 1445 //<![CDATA[ … … 1502 1452 button_width: "132", 1503 1453 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'); ?>', 1505 1455 button_placeholder_id: "flash-browse-button", 1506 1456 upload_url : "<?php echo esc_attr( $flash_action_url ); ?>", … … 1509 1459 file_types: "<?php echo apply_filters('upload_file_glob', '*.*'); ?>", 1510 1460 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" 1512 1468 }, 1513 1469 file_size_limit : "<?php echo $max_upload_size; ?>b", … … 1517 1473 upload_progress_handler : uploadProgress, 1518 1474 upload_error_handler : uploadError, 1519 upload_success_handler : <?php echo apply_filters( 'swfupload_success_handler', 'uploadSuccess' ); ?>,1475 upload_success_handler : uploadSuccess, 1520 1476 upload_complete_handler : uploadComplete, 1521 1477 file_queue_error_handler : fileQueueError, … … 1551 1507 <?php do_action('pre-html-upload-ui'); ?> 1552 1508 <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> 1557 1511 </p> 1558 1512 <div class="clear"></div> 1559 1513 <p class="media-upload-size"><?php printf( __( 'Maximum upload file size: %d%s' ), $upload_size_unit, $sizes[$u] ); ?></p> 1560 1514 <?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 up date 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> 1562 1516 <?php endif;?> 1563 1517 <?php do_action('post-html-upload-ui', $flash); ?> … … 1570 1524 * {@internal Missing Short Description}} 1571 1525 * 1572 * @since 2.5.01526 * @since unknown 1573 1527 * 1574 1528 * @param unknown_type $type … … 1586 1540 1587 1541 <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="" /> 1589 1543 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1590 1544 <?php wp_nonce_field('media-form'); ?> … … 1619 1573 </div> 1620 1574 <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' ); ?>" /> 1622 1576 </p> 1623 1577 </form> … … 1628 1582 * {@internal Missing Short Description}} 1629 1583 * 1630 * @since 2.7.01584 * @since unknown 1631 1585 * 1632 1586 * @param unknown_type $type … … 1746 1700 * {@internal Missing Short Description}} 1747 1701 * 1748 * @since 2.5.01702 * @since unknown 1749 1703 * 1750 1704 * @param unknown_type $errors … … 1799 1753 1800 1754 <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' ); ?>" /> 1802 1756 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 1803 1757 <input type="hidden" name="type" value="<?php echo esc_attr( $GLOBALS['type'] ); ?>" /> … … 1862 1816 <td class="field"> 1863 1817 <select id="columns" name="columns"> 1864 <option value="1">1</option>1865 1818 <option value="2">2</option> 1866 1819 <option value="3" selected="selected">3</option> … … 1888 1841 * {@internal Missing Short Description}} 1889 1842 * 1890 * @since 2.5.01843 * @since unknown 1891 1844 * 1892 1845 * @param unknown_type $errors … … 1923 1876 <label class="screen-reader-text" for="media-search-input"><?php _e('Search Media');?>:</label> 1924 1877 <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" /> 1926 1879 </p> 1927 1880 … … 1956 1909 $class = ' class="current"'; 1957 1910 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 } 1913 echo implode(' | </li>', $type_links) . '</li>'; 1961 1914 unset($type_links); 1962 1915 ?> … … 2010 1963 <?php } ?> 2011 1964 2012 < ?php submit_button( __( 'Filter »' ), 'secondary', 'post-query-submit', false ); ?>1965 <input type="submit" id="post-query-submit" value="<?php echo esc_attr( __( 'Filter »' ) ); ?>" class="button-secondary" /> 2013 1966 2014 1967 </div> … … 2040 1993 </div> 2041 1994 <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' ); ?>" /> 2043 1996 <input type="hidden" name="post_id" id="post_id" value="<?php echo (int) $post_id; ?>" /> 2044 1997 </p> … … 2050 2003 * {@internal Missing Short Description}} 2051 2004 * 2052 * @since 2.7.02005 * @since unknown 2053 2006 * 2054 2007 * @return unknown … … 2132 2085 * {@internal Missing Short Description}} 2133 2086 * 2134 * @since 2.7.02087 * @since unknown 2135 2088 * 2136 2089 * @return unknown … … 2162 2115 * {@internal Missing Short Description}} 2163 2116 * 2164 * @since 2.7.02117 * @since unknown 2165 2118 * 2166 2119 * @return unknown … … 2192 2145 * {@internal Missing Short Description}} 2193 2146 * 2194 * @since 2.7.02147 * @since unknown 2195 2148 * 2196 2149 * @return unknown … … 2238 2191 <td></td> 2239 2192 <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') . '" /> 2241 2194 </td> 2242 2195 </tr> … … 2249 2202 * Support a GET parameter for disabling the flash uploader. 2250 2203 * 2251 * @since 2.6.02204 * @since unknown 2252 2205 * 2253 2206 * @param unknown_type $flash … … 2265 2218 * {@internal Missing Short Description}} 2266 2219 * 2267 * @since 2.6.02220 * @since unknown 2268 2221 */ 2269 2222 function media_upload_flash_bypass() { … … 2276 2229 * {@internal Missing Short Description}} 2277 2230 * 2278 * @since 2.6.02231 * @since unknown 2279 2232 */ 2280 2233 function media_upload_html_bypass($flash = true) { … … 2297 2250 * Make sure the GET parameter sticks when we submit a form. 2298 2251 * 2299 * @since 2.6.02252 * @since unknown 2300 2253 * 2301 2254 * @param unknown_type $url
Note: See TracChangeset
for help on using the changeset viewer.