Make WordPress Core

Changeset 21873


Ignore:
Timestamp:
09/16/2012 07:41:41 PM (12 years ago)
Author:
nacin
Message:

On setup-config step 2, default to focusing on the textarea and selecting its contents. fixes #21656.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/setup-config.php

    r21870 r21873  
    266266<p><?php _e( 'After you&#8217;ve done that, click &#8220;Run the install.&#8221;' ); ?></p>
    267267<p class="step"><a href="install.php" class="button"><?php _e( 'Run the install' ); ?></a></p>
     268<script>
     269(function(){
     270var el=document.getElementById('wp-config');
     271el.focus();
     272el.select();
     273})();
     274</script>
    268275<?php
    269276    else :
Note: See TracChangeset for help on using the changeset viewer.