Remove Press This from Tools menu. Add to writing settings. Props technosailor. fixes #7393
git-svn-id: http://svn.automattic.com/wordpress/trunk@9201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c43a7cf1eb
commit
8b6d985d00
|
@ -81,7 +81,6 @@ if ( current_user_can('edit_users') ) {
|
||||||
$menu[45] = array( __('Tools'), 'manage_options', 'import.php', '', '', 'menu-tools', 'images/menu/tools.png' );
|
$menu[45] = array( __('Tools'), 'manage_options', 'import.php', '', '', 'menu-tools', 'images/menu/tools.png' );
|
||||||
$submenu['import.php'][5] = array( __('Import'), 'import', 'import.php' );
|
$submenu['import.php'][5] = array( __('Import'), 'import', 'import.php' );
|
||||||
$submenu['import.php'][10] = array( __('Export'), 'import', 'export.php' );
|
$submenu['import.php'][10] = array( __('Export'), 'import', 'export.php' );
|
||||||
$submenu['import.php'][15] = array( __('Press This'), 'publish_posts', 'press-this-landing.php' );
|
|
||||||
if ( ! $is_opera )
|
if ( ! $is_opera )
|
||||||
$submenu['import.php'][20] = array( __('Turbo'), 'read', 'turbo.php' );
|
$submenu['import.php'][20] = array( __('Turbo'), 'read', 'turbo.php' );
|
||||||
|
|
||||||
|
|
|
@ -145,6 +145,9 @@ endforeach;
|
||||||
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
<h3><?php _e('Press This') ?></h3>
|
||||||
|
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?> <a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
|
||||||
|
|
||||||
<?php do_settings_sections('writing'); ?>
|
<?php do_settings_sections('writing'); ?>
|
||||||
|
|
||||||
<p class="submit">
|
<p class="submit">
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
<?php
|
|
||||||
/**
|
|
||||||
* Press This Administration Panel.
|
|
||||||
*
|
|
||||||
* @package WordPress
|
|
||||||
* @subpackage Administration
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** WordPress Administration Bootstrap */
|
|
||||||
require_once('admin.php');
|
|
||||||
|
|
||||||
$title = __('Press This');
|
|
||||||
|
|
||||||
require_once('admin-header.php');
|
|
||||||
?>
|
|
||||||
|
|
||||||
<div class="wrap">
|
|
||||||
<p><?php _e('Drag-and-drop the following link to your bookmarks bar or right click it and add it to your favorites for a posting shortcut.') ?></p>
|
|
||||||
<p><a href="<?php echo get_shortcut_link(); ?>" title="<?php echo attribute_escape(__('Press This')) ?>"><?php _e('Press This') ?></a></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<?php include('admin-footer.php'); ?>
|
|
Loading…
Reference in New Issue