Changeset 49193 for trunk/src/wp-admin/plugin-editor.php
- Timestamp:
- 10/18/2020 05:25:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugin-editor.php
r48111 r49193 196 196 <?php 197 197 if ( is_plugin_active( $plugin ) ) { 198 if ( is_writ eable( $real_file ) ) {198 if ( is_writable( $real_file ) ) { 199 199 /* translators: %s: Plugin file name. */ 200 200 printf( __( 'Editing %s (active)' ), '<strong>' . esc_html( $file ) . '</strong>' ); … … 204 204 } 205 205 } else { 206 if ( is_writ eable( $real_file ) ) {206 if ( is_writable( $real_file ) ) { 207 207 /* translators: %s: Plugin file name. */ 208 208 printf( __( 'Editing %s (inactive)' ), '<strong>' . esc_html( $file ) . '</strong>' ); … … 276 276 <?php endif; ?> 277 277 278 <?php if ( is_writ eable( $real_file ) ) : ?>278 <?php if ( is_writable( $real_file ) ) : ?> 279 279 <div class="editor-notices"> 280 280 <?php if ( in_array( $plugin, (array) get_option( 'active_plugins', array() ), true ) ) { ?>
Note: See TracChangeset
for help on using the changeset viewer.