WordPress.org

Make WordPress Core

Ticket #6965: 6965-validation.diff

File 6965-validation.diff, 1.1 KB (added by mdawaffe, 12 years ago)
  • wp-admin/admin-header.php

     
    8787        <a href="http://gears.google.com/" target="_blank" style="font-weight:normal;"><?php _e('More information...'); ?></a></p>
    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>
    9393