Make WordPress Core


Ignore:
Timestamp:
11/06/2005 03:40:43 AM (21 years ago)
Author:
ryan
Message:

Rename image-uploading to inline-uploading. Props skeltoac. fixes #1834

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-page-form.php

    r2973 r2994  
    149149
    150150<?php
    151 $frame_src = 'image-uploading.php?action=view&amp;post=' . ((0 == $post_ID) ? $temp_ID : $post_ID);
    152 $frame_src = apply_filters('upload_frame_src', $frame_src, ((0 == $post_ID) ? $temp_ID : $post_ID));
     151$uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID);
     152$uploading_iframe_src = "inline-uploading.php?action=view&amp;post=$uploading_iframe_ID";
     153$uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src);
     154if ( false != $uploading_iframe_src )
     155    echo '<iframe id="uploading" border="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';
    153156?>
    154 <iframe border="0" src="<?php echo $frame_src; ?>" id="imageup"><?php _e('This feature requires iframe support.'); ?></iframe>
    155157
    156158<div id="advancedstuff" class="dbx-group">
Note: See TracChangeset for help on using the changeset viewer.