Ticket #13383: themeeditor.valid.patch
File themeeditor.valid.patch, 1.3 KB (added by , 14 years ago) |
---|
-
wp-admin/theme-editor.php
201 201 <input type="hidden" name="scrollto" id="scrollto" value="<?php echo $scrollto; ?>" /> 202 202 </div> 203 203 <?php if ( isset($functions ) && count($functions) ) { ?> 204 <div id="documentation" >204 <div id="documentation" class="hide-if-no-js"> 205 205 <label for="docs-list"><?php _e('Documentation:') ?></label> 206 206 <?php echo $docs_select; ?> 207 <input type="button" class="button" value=" <?php esc_attr_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'); }" />207 <input type="button" class="button" value=" <?php esc_attr_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'); }" /> 208 208 </div> 209 209 <?php } ?> 210 210