Changeset 8014

Show
Ignore:
Timestamp:
05/29/08 23:36:26 (6 months ago)
Author:
ryan
Message:

Gears validation fixes. Props mdawaffe. see #6965

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/admin-header.php

    r8008 r8014  
    8888    <p><?php _e('After installing and enabling it, most of the WordPress images, scripts and CSS files will be stored on this computer. This will speed up page loading.'); ?></p> 
    8989    <p><strong><?php _e('Please make sure you are not using a public or shared computer.'); ?></strong></p> 
    90     <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&return=<?php echo admin_url() ?>';" class="button"><?php _e('Install Now'); ?></button> 
     90    <div class="submit"><button onclick="window.location = 'http://gears.google.com/?action=install&amp;return=<?php echo urlencode( admin_url() ); ?>';" class="button"><?php _e('Install Now'); ?></button> 
    9191    <button class="button" style="margin-left:10px;" onclick="document.getElementById('gears-info-box').style.display='none';">Cancel</button></div> 
    9292    </div>