Changeset 62

Show
Ignore:
Timestamp:
06/04/07 20:15:59 (2 years ago)
Author:
pdingle
Message:

updated documentation to remove the wp redirect in wp-login.php

Files:

Legend:

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

    r59 r62  
    3535        { 
    3636                //($page_title, $menu_title, $access_level, $file, $function = '') 
    37                 add_options_page('Information Card Options','Information Card Options', 'manage_options', basename(__FILE__),'infocard_options' ); 
     37                add_options_page('Information Cards','Information Cards', 'manage_options', basename(__FILE__),'infocard_options' ); 
    3838        } 
    3939} // end function infocard_admin_menu 
  • trunk/wp-infocard/wp/admin.pw.php

    r59 r62  
    388388        function printInstallData() 
    389389        { 
    390 ?> 
    391                 <ol> 
    392                         <li> 
    393 <?php            
    394                         $login_file = ABSPATH . "wp-login.php"; 
    395                         _e('Copy ' . $login_file . ' to '. $login_file . '.orig'); 
    396 ?> 
    397                         </li> 
    398                         <br/> 
    399                         <li> 
    400 <?php 
    401                         _e('Insert the following code as described in in the next step:' ); 
    402 ?> 
    403                                 <code><br/>&nbsp; 
    404                                         wp_redirect( get_settings('pw_securesiteurl')."/wp-content/plugins/wp-infocard/wp/login/infocard-login.php"); 
    405                                 </code> 
    406                         </li> 
    407                         <br/> 
    408                         <li> 
    409 <?php 
    410                         _e('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:' ); 
    411 ?> 
    412                            <code> 
    413                                 <br/>&nbsp;?&lt;<br/> 
    414                                 &lt;!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\"><br/> 
    415                            </code> 
    416                         </li> 
    417                         <br/> 
    418                         <li> 
    419 <?php 
    420                         _e('Wordpress 2.1.x: Insert the same line at line 381, just before this line:' ); 
    421 ?> 
    422                            <code><br/> 
    423                                 &nbsp;login_header(__(\'Login\')); 
    424                            </code> 
    425                         </li> 
    426                 </ol> 
    427 <?php 
     390                return; // no need for extra steps anymore 
    428391        } // end function printInstallData 
    429392