Ticket #2870: 2870.patch
File 2870.patch, 3.3 KB (added by , 17 years ago) |
---|
-
wp-includes/default-filters.php
186 186 add_action('edit_post', 'wp_check_for_changed_slugs'); 187 187 add_action('edit_form_advanced', 'wp_remember_old_slug'); 188 188 189 // Install information 190 add_action('wp_install_getinformation','wp_install_getinformation_title',1); 191 add_action('wp_install_getinformation','wp_install_getinformation_email',2); 192 add_action('wp_install_getinformation','wp_install_getinformation_ping',3); 189 193 ?> -
wp-includes/pluggable.php
1321 1321 } 1322 1322 endif; 1323 1323 1324 if (!function_exists('wp_install_information')) : 1325 function wp_install_information() { 1326 1327 1328 } 1329 endif; 1330 1324 1331 ?> -
wp-includes/functions.php
1642 1642 trigger_error( printf( __("%s is <strong>deprecated</strong> since version %s with no alternative available."), $file, $version ) ); 1643 1643 } 1644 1644 } 1645 1646 function wp_install_getinformation_title() { 1647 ?> 1648 <tr> 1649 <th width="33%"><?php _e('Blog title:'); ?></th> 1650 <td><input name="weblog_title" type="text" id="weblog_title" size="25" /></td> 1651 </tr> 1652 <?php 1653 } 1654 1655 function wp_install_getinformation_email() { 1656 ?> 1657 <tr> 1658 <th><?php _e('Your e-mail:'); ?></th> 1659 <td><input name="admin_email" type="text" id="admin_email" size="25" /></td> 1660 </tr> 1661 <?php 1662 } 1663 1664 function wp_install_getinformation_ping() { 1665 ?> 1666 <tr> 1667 <td> </td> 1668 <td><label><input type="checkbox" name="blog_public" value="1" checked="checked" /> <?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?></label></td> 1669 </tr> 1670 <?php 1671 } 1672 1645 1673 ?> -
wp-admin/install.php
46 46 47 47 <form id="setup" method="post" action="install.php?step=2"> 48 48 <table width="100%"> 49 <tr> 50 <th width="33%"><?php _e('Blog title:'); ?></th> 51 <td><input name="weblog_title" type="text" id="weblog_title" size="25" /></td> 52 </tr> 53 <tr> 54 <th><?php _e('Your e-mail:'); ?></th> 55 <td><input name="admin_email" type="text" id="admin_email" size="25" /></td> 56 </tr> 57 <tr> 58 <td> </td> 59 <td><label><input type="checkbox" name="blog_public" value="1" checked="checked" /> <?php _e('Allow my blog to appear in search engines like Google and Technorati.'); ?></label></td> 60 </tr> 49 <?php do_action("wp_install_getinformation"); ?> 61 50 </table> 62 51 <p><em><?php _e('Double-check your email address before continuing.'); ?></em></p> 63 52 <h2 class="step"><input type="submit" name="Submit" value="<?php _e('Install WordPress »'); ?>" /></h2> … … 110 99 111 100 <p id="footer"><?php _e('<a href="http://wordpress.org/">WordPress</a>, personal publishing platform.'); ?></p> 112 101 </body> 113 </html> 114 No newline at end of file 102 </html>