Changeset 4242
- Timestamp:
- 09/25/2006 02:43:26 AM (19 years ago)
- Location:
- branches/2.0/wp-admin
- Files:
-
- 3 edited
-
edit-form-advanced.php (modified) (1 diff)
-
edit-page-form.php (modified) (2 diffs)
-
post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/edit-form-advanced.php
r4229 r4242 227 227 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 228 228 if ( false != $uploading_iframe_src ) 229 echo '<iframe id="uploading" border="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';229 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 230 230 } 231 231 ?> -
branches/2.0/wp-admin/edit-page-form.php
r4028 r4242 194 194 $uploading_iframe_src = apply_filters('uploading_iframe_src', $uploading_iframe_src); 195 195 if ( false != $uploading_iframe_src ) 196 echo '<iframe id="uploading" border="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>';196 echo '<iframe id="uploading" frameborder="0" src="' . $uploading_iframe_src . '">' . __('This feature requires iframe support.') . '</iframe>'; 197 197 } 198 198 ?> … … 225 225 <input name="deletepost" class="button" type="submit" id="deletepost" tabindex="10" value="<?php _e('Delete this page') ?>" <?php echo "onclick=\"if ( confirm('" . sprintf(__("You are about to delete this page \'%s\'\\n \'Cancel\' to stop, \'OK\' to delete."), js_escape($post->post_title) ) . "') ) { document.forms.post._wpnonce.value = '$delete_nonce'; return true;}return false;\""; ?> /> 226 226 <?php endif; ?> 227 </div> 228 227 229 </form> 228 230 229 231 </div> 230 231 </div> -
branches/2.0/wp-admin/post.php
r4239 r4242 82 82 <div id='preview' class='wrap'> 83 83 <h2 id="preview-post"><?php _e('Post Preview (updated when post is saved)'); ?> <small class="quickjump"><a href="#write-post"><?php _e('edit ↑'); ?></a></small></h2> 84 <iframe src="<?php echo apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID))); ?>" width="100%" height="600" ></iframe>84 <iframe src="<?php echo wp_specialchars(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" width="100%" height="600" ></iframe> 85 85 </div> 86 86 <?php
Note: See TracChangeset
for help on using the changeset viewer.