Changeset 3456 for trunk/wp-admin/edit-page-form.php
- Timestamp:
- 01/18/2006 07:16:31 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit-page-form.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-page-form.php
r3434 r3456 185 185 186 186 <?php 187 $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID); 188 $uploading_iframe_src = "inline-uploading.php?action=view&post=$uploading_iframe_ID"; 189 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 190 if ( false != $uploading_iframe_src ) 191 echo '<iframe id="uploading" border="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 187 if (current_user_can('upload_files')) { 188 $uploading_iframe_ID = (0 == $post_ID ? $temp_ID : $post_ID); 189 $uploading_iframe_src = "inline-uploading.php?action=view&post=$uploading_iframe_ID"; 190 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 191 if ( false != $uploading_iframe_src ) 192 echo '<iframe id="uploading" border="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 193 } 192 194 ?> 193 195
Note: See TracChangeset
for help on using the changeset viewer.