Changeset 34469
- Timestamp:
- 09/24/2015 03:08:34 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugin-editor.php
r34341 r34469 180 180 <div class="alignleft"> 181 181 <big><?php 182 if ( is_plugin_active($plugin) ) { 183 if ( is_writeable($real_file) ) 182 if ( is_plugin_active( $plugin ) ) { 183 if ( is_writeable( $real_file ) ) { 184 /* translators: %s: File name */ 184 185 echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' ); 185 else 186 } else { 187 /* translators: %s: File name */ 186 188 echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(active)', 'plugin' ); 187 } else { 188 if ( is_writeable($real_file) ) 189 } 190 } else { 191 if ( is_writeable( $real_file ) ) { 192 /* translators: %s: File name */ 189 193 echo sprintf( _x( 'Editing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' ); 190 else 194 } else { 195 /* translators: %s: File name */ 191 196 echo sprintf( _x( 'Browsing %s', 'plugin' ), '<strong>' . $file . '</strong>' ) . ' ' . _x( '(inactive)', 'plugin' ); 197 } 192 198 } 193 199 ?></big>
Note: See TracChangeset
for help on using the changeset viewer.