Ticket #13467: 13467-plugins-help.diff
File 13467-plugins-help.diff, 6.8 KB (added by , 15 years ago) |
---|
-
wp-admin/plugin-editor.php
15 15 $title = __("Edit Plugins"); 16 16 $parent_file = 'plugins.php'; 17 17 18 $help = '<p>' . __('You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.') . '</p>'; 19 $help .= '<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’t forget to save your changes (Update File) when you’re finished.') . '</p>'; 20 $help .= '<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>'; 21 $help .= '<p>' . __('If you want to make changes but don’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>'; 22 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 23 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Editing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Editor_SubPanel') . '</p>'; 24 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Writing a Plugin</a>'), 'http://codex.wordpress.org/Writing_a_Plugin') . '</p>'; 25 $help .= '<p>' . sprintf(__('<a href="%s">Plugin Resources</a>'), 'http://codex.wordpress.org/Plugin_Resources') . '</p>'; 26 $help .= '<p>' . sprintf(__('<a href="%s">Plugin Support</a>'), 'http://wordpress.org/support/forum/10') . '</p>'; 27 add_contextual_help($current_screen, $help); 28 18 29 wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'plugin')); 19 30 20 31 wp_admin_css( 'theme-editor' ); -
wp-admin/plugin-install.php
52 52 53 53 do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information. 54 54 55 add_contextual_help($current_screen, plugins_search_help()); 55 $help = '<p>' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official <a href="%s">WordPress.org Plugin Directory</a> are compatible with the WordPress GPL v2 license. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '</p>'; 56 $help .= '<p>' . __('If you know what you’re looking for, Search is your best bet. The Search screen has options to Search in the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have teen labeled with that tag.') . '</p>'; 57 $help .= '<p>' . __('If you just want to get an idea of what’s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '</p>'; 58 $help .= '<p>' . __('If you want to install a plugin that you’ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '</p>'; 59 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 60 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Installing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Add_New_SubPanel') . '</p>'; 61 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 62 add_contextual_help($current_screen, $help); 56 63 57 64 include('./admin-header.php'); 58 65 ?> -
wp-admin/plugins.php
304 304 305 305 $help = '<p>' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '</p>'; 306 306 if ( current_user_can('edit_plugins') ) { 307 $help .= '<p>' . sprintf(__('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>'; 308 $help .= '<p>' . sprintf(__('You can find additional plugins for your site by using the new <a href="%1$s">Plugin Browser/Installer</a> functionality or by browsing the <a href="http://wordpress.org/extend/plugins/">WordPress Plugin Directory</a> directly and installing manually. To <em>manually</em> install a plugin you generally just need to upload the plugin file into your <code>%2$s</code> directory. Once a plugin has been installed, you may activate it here.'), 'plugin-install.php', WP_PLUGIN_DIR) . '</p>'; 307 $help .= '<p>' . sprintf(__('You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the <a href="%s">WordPress Plugin Directory</a> directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your <code>%s</code> directory. Once a plugin has been installed, you can activate it here.'), 'http://wordpress.org/extend/plugins/', WP_PLUGIN_DIR) . '</p>'; 308 $help .= '<p>' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '</p>'; 309 $help .= '<p>' . sprintf(__('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the <code>%s</code> directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '</p>'; 309 310 } 310 311 $help .= '<p>' . __('<strong>For more information:</strong>') . '</p>'; 312 $help .= '<p>' . sprintf(__('<a href="%s">Documentation on Managing Plugins</a>'), 'http://codex.wordpress.org/Managing_Plugins#Plugin_Management') . '</p>'; 313 $help .= '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'; 311 314 add_contextual_help($current_screen, $help); 312 315 313 316 if ( is_multisite() && is_super_admin() ) {