WordPress.org

Make WordPress Core

Ticket #13467: 13467-tools-help.diff

File 13467-tools-help.diff, 3.7 KB (added by duck_, 4 years ago)
  • wp-admin/export.php

     
    1616require_once('./includes/export.php'); 
    1717$title = __('Export'); 
    1818 
     19add_contextual_help($current_screen, '<p>' . __('You can export a file of your site&#8217;s content in order to import it into another installation or platform. The export file will be an XML file format called WXR. Posts, pages, comments, custom fields, categories, and tags can be included. You can set filters to have the WXR file only include a certain date, author, category, tag, all posts or all pages, certain publishing statuses.') . '</p>' . 
     20        '<p>' . __('Once generated, your WXR file can be imported by another WordPress site or by another blogging platform able to access this format.') . '</p>' . 
     21        '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
     22        '<p>' . sprintf(__('<a href="%s">Export Documentation</a>'), 'http://codex.wordpress.org/Tools_Export_SubPanel') . '</p>' . 
     23        '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     24); 
     25 
    1926if ( isset( $_GET['download'] ) ) { 
    2027                $author = isset($_GET['author']) ? $_GET['author'] : 'all'; 
    2128                $taxonomy = array(); 
  • wp-admin/import.php

     
    1515        wp_die(__('You do not have sufficient permissions to import content in this site.')); 
    1616 
    1717$title = __('Import'); 
     18 
     19add_contextual_help($current_screen, '<p>' . __('This screen lists links to plugins to import data from blogging/content management platforms. Choose the platform you want to import from, and click Install Now when you are prompted in the popup window. If your platform is not listed, click the link to search the plugin directory for other importer plugins to see if there is one for your platform.') . '</p>' . 
     20        '<p>' . __('In previous versions of WordPress, all the importers were built-in, but they have been turned into plugins as of version 3.0 since most people only use them once or infrequently.') . '</p>' . 
     21        '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
     22        '<p>' . sprintf(__('<a href="%s">Import Documentation</a>'), 'http://codex.wordpress.org/Tools_Import_SubPanel') . '</p>' . 
     23        '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     24); 
     25 
    1826add_thickbox(); 
    1927require_once ('admin-header.php'); 
    2028$parent_file = 'tools.php'; 
  • wp-admin/tools.php

     
    1111 
    1212$title = __('Tools'); 
    1313 
     14add_contextual_help($current_screen, '<p>' . __('Press This is a bookmarklet that makes it easy to blog about something you come across on the web. You can use it to just grab a link, or to post an excerpt. Press This will even allow you to choose from images included on the page and use them in your post. Just drag the Press This link on this screen to your bookmarks bar in your browser, and you&#8217;ll be you&#8217;ll be on your way to easier content creation.') . '</p>' . 
     15        '<p>' . __('Note: Turbo/Gears is no longer promoted on this screen as it was in previous versions due to the fact that Google has discontinued support for it.') . '</p>' . 
     16        '<p>' . __('<strong>For more information:</strong>') . '</p>' . 
     17        '<p>' . sprintf(__('<a href="%s">Tools Documentation</a>'), 'http://codex.wordpress.org/Tools_Tools_SubPanel') . '</p>' . 
     18        '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>' 
     19); 
     20 
    1421require_once('./admin-header.php'); 
    1522 
    1623?>