<?php
_e( 'Selected file content:'
); ?></label>
<textarea cols="70" rows="25" name="newcontent" id="newcontent" aria-describedby="editor-keyboard-trap-help-1 editor-keyboard-trap-help-2 editor-keyboard-trap-help-3 editor-keyboard-trap-help-4"><?php
echo $content; ?></textarea>
<input type="hidden" name="action" value="update" />
<input type="hidden" name="file" value="<?php
echo esc_attr( $file ); ?>" />
<input type="hidden" name="plugin" value="<?php
echo esc_attr( $plugin ); ?>" />
</div>
<?php
if ( !
empty( $docs_select ) ) : ?>
<div id="documentation" class="hide-if-no-js">
<label for="docs-list"><?php
_e( 'Documentation:'
); ?></label>
<?php
echo $docs_select; ?>
<input disabled id="docs-lookup" type="button" class="button" value="<?php
esc_attr_e( 'Look Up'
); ?>" onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'https://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php
echo urlencode( get_user_locale() ); ?>&version=<?php
echo urlencode( get_bloginfo( 'version'
) ); ?>&redirect=true'); }" />
</div>
<?php
endif; ?>
<?php
if ( is_writable( $real_file ) ) : ?>
<div class="editor-notices">
<?php
if ( in_array( $plugin,
(array) get_option( 'active_plugins', array
() ), true
) ) { ?>
<div class="notice notice-warning inline active-plugin-edit-warning">
<p><?php
_e( '<strong>Warning:</strong> Making changes to active plugins is not recommended.'
); ?></p>
</div>
<?php
} ?>
</div>
<p class="submit">