Changeset 14989 for trunk/wp-admin/plugin-editor.php
- Timestamp:
- 05/27/2010 11:52:15 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/plugin-editor.php
r14965 r14989 108 108 } 109 109 110 add_contextual_help($current_screen, '<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>' . 110 add_contextual_help($current_screen, 111 '<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>' . 111 112 '<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>' . 112 113 '<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>' . 113 114 '<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>' . 114 '<p> ' . __('<strong>For more information:</strong>') . '</p>' .115 '<p>' . sprintf(__('<a href="%s">Documentation on Editing Plugins</a>'), 'http://codex.wordpress.org/Plugins_Editor_SubPanel') . '</p>' .116 '<p>' . sprintf(__('<a href="%s">Support Forums</a>'), 'http://wordpress.org/support/') . '</p>'115 '<p><strong>' . __('For more information:') . '</strong></p>' . 116 '<p>' . __('<a href="http://codex.wordpress.org/Plugins_Editor_SubPanel">Documentation on Editing Plugins</a>') . '</p>' . 117 '<p>' . __('<a href="http://wordpress.org/support/">Support Forums</a>') . '</p>' 117 118 ); 118 119 … … 128 129 if ( !empty($functions) ) { 129 130 $docs_select = '<select name="docs-list" id="docs-list">'; 130 $docs_select .= '<option value="">' . __( 'Function Name ...' ) . '</option>';131 $docs_select .= '<option value="">' . __( 'Function Name…' ) . '</option>'; 131 132 foreach ( $functions as $function) { 132 $docs_select .= '<option value="' . esc_attr( $function ) . '">' . htmlspecialchars( $function ) . '()</option>';133 $docs_select .= '<option value="' . esc_attr( $function ) . '">' . esc_html( $function ) . '()</option>'; 133 134 } 134 135 $docs_select .= '</select>';
Note: See TracChangeset
for help on using the changeset viewer.