Changeset 28

Show
Ignore:
Timestamp:
03/27/07 09:21:14 (2 years ago)
Author:
pdingle
Message:

Fixed documentation on where to add the wp_redirect statement in the login file.

Files:

Legend:

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

    r23 r28  
    315315<?php                           $login_file = ABSPATH . "wp-login.php";  
    316316                                _e('<li>Copy ' . $login_file . ' to '. $login_file . '.orig</li>');  
    317                                 _e('<li>Edit '. $login_file .' and insert the following code between lines 209 and 210 of the file:</li>' );  
    318                                 print "<br/>wp_redirect( get_settings('siteurl').\"/wp-content/plugins/wp-infocard/login/login.php\");<br/>"; 
    319                                 //print "<br/>wp_redirect($ABSPATH.\"/wp-content/plugins/wp-infocard/login/login.php\");<br/>"; 
    320                                 _e('<br/><li>Note that these line numbers are correct for Wordpress v2.0.5 - for other versions, it should work to insert the redirect statement just above the following two lines:</li>' );  
    321                                 print "?><br/>"; 
    322                                 print "&lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><br/>"; 
     317                                _e('<li>Insert the following code as described in in the next step:' );  
     318                                print "<br/>wp_redirect( get_settings('siteurl').\"/wp-content/plugins/wp-infocard/login/login.php\");<br/></li>"; 
     319                                _e('<li>Wordpress 2.0.7:  Edit '. $login_file .' and insert the following code between lines 209 and 210 of the file, should be just after the two lines below:' );  
     320                                print "<code><br/>&nbsp;?><br/>"; 
     321                                print "&lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><br/></li></code>"; 
     322                                _e('<br/><li>Wordpress 2.1.x: Insert the same line at line 381, just before this line:' );  
     323                                _e('<code><br/>&nbsp;login_header(__(\'Login\'));</li></code>'); 
    323324?> 
    324325                        </td></tr>