<?php
if ( !
empty( $functions ) ) : ?>
<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; ?>
<div>
<div class="editor-notices">
<?php
if ( is_child_theme() &&
$theme->
get_stylesheet() ===
get_template() ) : ?>
<div class="notice notice-warning inline">
<p>
<?php
if ( is_writable( $file ) ) : ?>
<strong><?php
_e( 'Caution:'
); ?></strong>
<?php
endif; ?>
<?php
_e( 'This is a file in your current parent theme.'
); ?>
</p>
</div>
<?php
endif; ?>
</div>
<?php
if ( is_writable( $file ) ) : ?>