~canonical-sysadmins/wordpress/4.1.3

« back to all changes in this revision

Viewing changes to wp-admin/setup-config.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
<p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p>
309
309
<script>
310
310
(function(){
311
 
var el=document.getElementById('wp-config');
312
 
el.focus();
313
 
el.select();
 
311
if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
 
312
        var el = document.getElementById('wp-config');
 
313
        el.focus();
 
314
        el.select();
 
315
}
314
316
})();
315
317
</script>
316
318
<?php