File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 202202 <input type="hidden" name="file" value="<?php echo $ file ?> " />
203203 <input type="hidden" name="theme" value="<?php echo $ theme ?> " />
204204 </div>
205- <?php if ( count ( $ functions ) ) : ?>
206- <div id="documentation"><label for="docs-list">Documentation:</label> <?php echo $ docs_select ?> <input type="button" class="button" value=" <?php _e ( 'Lookup ' ) ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode ( get_locale () ) ?> &version=<?php echo urlencode ( $ wp_version ) ?> &redirect=true'); }" /></div>
207- <?php endif ; ?>
205+ <?php if ( isset ($ functions ) && count ($ functions ) ) { ?>
206+ <div id="documentation">
207+ <label for="docs-list">Documentation:</label>
208+ <?php echo $ docs_select ; ?>
209+ <input type="button" class="button" value=" <?php _e ( 'Lookup ' ); ?> " onclick="if ( '' != jQuery('#docs-list').val() ) { window.open( 'http://api.wordpress.org/core/handbook/1.0/?function=' + escape( jQuery( '#docs-list' ).val() ) + '&locale=<?php echo urlencode ( get_locale () ) ?> &version=<?php echo urlencode ( $ wp_version ) ?> &redirect=true'); }" />
210+ </div>
211+ <?php } ?>
208212
209213 <div>
210214<?php if ( is_writeable ($ real_file ) ) : ?>
You can’t perform that action at this time.
0 commit comments