Make WordPress Core

Ticket #13467: 13467-quick-cleanup.diff

File 13467-quick-cleanup.diff, 6.6 KB (added by duck_, 14 years ago)
  • wp-admin/edit-link-categories.php

     
    5353
    5454add_contextual_help($current_screen, '<p>' . __('You can create groups of links by using link categories. Link category names must be unique and link categories are separate from the categories you use for posts.') . '</p>' .
    5555        '<p>' . __('You can delete link categories, but that action does not delete the links within the category. Instead, it moves them to the default link category.') . '</p>' .
    56 '<p>'. __('For more information:').
    57 
    58 '</p>
    59 <ul>
    60                         <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Link_Categories_SubPanel', 'Link Categories Documentation') ) .'</li>' .
    61 '                       <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
    62 
    63                 '</ul>'
     56        '<p>' . __('<strong>For more information:</strong>') . '</p>' .
     57        '<p>' . sprintf(__('<a href="%1$s">Link Categories Documentation</a>'), 'http://codex.wordpress.org/Links_Link_Categories_SubPanel') . '</p>' .
     58        '<p>' . sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
    6459);
    6560
    6661require_once ('admin-header.php');
  • wp-admin/edit-link-form.php

     
    4040add_contextual_help($current_screen, '<p>' . __('You can add or edit links on this screen by entering information in each of the boxes. Only the link\'s web address and name (the text you want to display on your site as the link) are required fields.') . '</p>' .
    4141        '<p>' . __('The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don\'t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.') . '</p>' .
    4242        '<p>' . __( sprintf('XFN stands for <a href="%s">XHTML Friends Network</a>, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of site to which you are linking.', 'http://gmpg.org/xfn/'  ) ) . '</p>' .
    43 '<p>'. __('For more information:').
    44 
    45 '</p>
    46 <ul>
    47                         <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Add_New_SubPanel', 'Creating Links Documentation') ) .'</li>' .
    48 '                       <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
    49 
    50                 '</ul>'
     43        '<p>' . __('<strong>For more information:</strong>') . '</p>' .
     44        '<p>' . sprintf(__('<a href="%1$s">Creating Links Documentation</a>'), 'http://codex.wordpress.org/Links_Add_New_SubPanel') . '</p>' .
     45        '<p>' . sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
    5146);
    5247
    5348require_once ('admin-header.php');
  • wp-admin/link-manager.php

     
    4444$title = __('Links');
    4545$this_file = $parent_file = 'link-manager.php';
    4646
    47 add_contextual_help( $current_screen, '<p>' . __('You can add links here to be displayed on your site, usually using Widgets [link to wp-admin/widgets.php]. By default, links to several sites in WordPress community are included as examples') . '</p>' .
     47add_contextual_help( $current_screen, '<p>' . sprintf(__('You can add links here to be displayed on your site, usually using <a href="%s">Widgets</a>. By default, links to several sites in WordPress community are included as examples'), 'widgets.php') . '</p>' .
    4848            '<p>' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '</p>' .
    49             '<p>' . __('You can customize the display of this screen using he Screen Options tab and/or the dropdown filters above the links table.') . '</p>' .
     49            '<p>' . __('You can customize the display of this screen using the Screen Options tab and/or the dropdown filters above the links table.') . '</p>' .
    5050            '<p>' . __('If you delete a link, it will be removed permanently, as Links do not have a Trash function yet. ') . '</p>' .
    51             '<p>' . __('For more information:') . '</p>' .
    52             '<ul>
    53                         <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://codex.wordpress.org/Links_Edit_SubPanel', 'Link Management Documentation') ) .'</li>' .
    54 '                       <li>'.__( sprintf ('<a href="%1$s">%2$s</a>', 'http://wordpress.org/support/', 'Support Forums') ) .'</li>' .
     51            '<p>' . __('<strong>For more information:</strong>') . '</p>' .
     52                '<p>'. sprintf(__('<a href="%1$s">Link Management Documentation</a>'), 'http://codex.wordpress.org/Links_Edit_SubPanel') . '</p>' .
     53                '<p>'. sprintf(__('<a href="%1$s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'
     54);
    5555
    56                 '</ul>'
    57         );
    58 
    5956include_once ('./admin-header.php');
    6057
    6158if ( ! current_user_can('manage_links') )
  • wp-admin/plugin-editor.php

     
    108108        }
    109109
    110110        add_contextual_help($current_screen, '<p>' . __('You can use the editor to make changes to any of your plugins&#8217; individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations. ') . '</p>' .
    111                 '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.') . '</p>' .
     111                '<p>' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don&#8217;t forget to save your changes (Update File) when you&#8217;re finished.') . '</p>' .
    112112                '<p>' . __('The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Lookup takes you to a web page about that particular function. ') . '</p>' .
    113113                '<p>' . __('If you want to make changes but don&#8217;t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit a plugin or start from scratch, check out the links below.') . '</p>' .
    114114                '<p>' . __('<strong>For more information:</strong>') . '</p>' .