WordPress.org

Make WordPress Core

Changeset 17046


Ignore:
Timestamp:
12/18/10 18:33:21 (3 years ago)
Author:
nacin
Message:

Network-specific language on the plugin and theme editor help tabs. props andrea_r, see #15314.

Location:
trunk/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugin-editor.php

    r16980 r17046  
    117117        '<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>' . 
    118118        '<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 plugins, write your own from scratch, or just better understand their anatomy, check out the links below.') . '</p>' . 
     119        ( is_network_admin() ? '<p>' . __('Any edits to files from this screen will be available to all sites in the network.') . '</p>' : '' ) . 
    119120        '<p><strong>' . __('For more information:') . '</strong></p>' . 
    120121        '<p>' . __('<a href="http://codex.wordpress.org/Plugins_Editor_SubPanel" target="_blank">Documentation on Editing Plugins</a>') . '</p>' . 
  • trunk/wp-admin/theme-editor.php

    r16747 r17046  
    2727$help .= '<p>' . __('<strong>Advice:</strong> think very carefully about your site crashing if you are live-editing the theme currently in use.') . '</p>'; 
    2828$help .= '<p>' . __('Upgrading to a newer version of the same theme will override changes made here. To avoid this, consider creating a <a href="http://codex.wordpress.org/Child_Themes" target="_blank">child theme</a> instead.') . '</p>'; 
     29if ( is_network_admin() ) 
     30    $help .= '<p>' . __('Any edits to files from this screen will be available to all sites in the network.') . '</p>'; 
    2931$help .= '<p><strong>' . __('For more information:') . '</strong></p>'; 
    3032$help .= '<p>' . __('<a href="http://codex.wordpress.org/Theme_Development" target="_blank">Documentation on Theme Development</a>') . '</p>'; 
Note: See TracChangeset for help on using the changeset viewer.