?>
<div class="wrap">
<h1><?php
echo esc_html( $title ); ?></h1>
<?php
if ( isset( $_GET['a'
] ) ) : ?>
<div id="message" class="updated notice is-dismissible">
<p><?php
_e( 'File edited successfully.'
); ?></p>
</div>
<?php
elseif ( is_wp_error( $edit_error ) ) : ?>
<div id="message" class="notice notice-error">
<p><?php
_e( 'There was an error while trying to update the file. You may need to fix something and try updating again.'
); ?></p>
<pre><?php
echo esc_html( $edit_error->
get_error_message() ?
$edit_error->
get_error_message() :
$edit_error->
get_error_code() ); ?></pre>
</div>
<?php
endif; ?>
<div class="fileedit-sub">
<div class="alignleft">
<h2>
<?php
if ( is_plugin_active( $plugin ) ) { if ( is_writable( $real_file ) ) { /* translators: %s: Plugin file name. */
printf( __( 'Editing %s (active)'
), '<strong>' .
esc_html( $file ) . '</strong>'
);
}