Changeset 4657 for trunk/wp-admin/upload-functions.php
- Timestamp:
- 12/21/2006 10:45:58 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload-functions.php
r4656 r4657 8 8 ob_start(); 9 9 the_title(); 10 $post_title = attribute_escape( 10 $post_title = attribute_escape(ob_get_contents()); 11 11 ob_end_clean(); 12 12 $post_content = apply_filters( 'content_edit_pre', $post->post_content ); … … 72 72 echo '<a href="' . get_permalink() . '">' . __('view') . '</a>'; 73 73 echo ' | '; 74 echo '<a href="' . attribute_escape( add_query_arg( 'action', 'edit')) . '" title="' . __('Edit this file') . '">' . __('edit') . '</a>';74 echo '<a href="' . attribute_escape(add_query_arg('action', 'edit')) . '" title="' . __('Edit this file') . '">' . __('edit') . '</a>'; 75 75 echo ' | '; 76 echo '<a href="' . attribute_escape( remove_query_arg( array('action', 'ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>';76 echo '<a href="' . attribute_escape(remove_query_arg(array('action', 'ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>'; 77 77 echo ' ]'; ?></span> 78 78 </div> … … 112 112 echo '<a href="' . get_permalink() . '">' . __('view') . '</a>'; 113 113 echo ' | '; 114 echo '<a href="' . attribute_escape( add_query_arg( 'action', 'view')) . '">' . __('links') . '</a>';114 echo '<a href="' . attribute_escape(add_query_arg('action', 'view')) . '">' . __('links') . '</a>'; 115 115 echo ' | '; 116 echo '<a href="' . attribute_escape( remove_query_arg( array('action','ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>';116 echo '<a href="' . attribute_escape(remove_query_arg(array('action','ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>'; 117 117 echo ' ]'; ?></span> 118 118 </div>
Note: See TracChangeset
for help on using the changeset viewer.