wp-login problems moding. (2 posts)

  1. filmn
    Posted 9 years ago #

    Im trying to get rid of the register option on the wp-login.php page and found this code:

  2. /" title="<?php _e('Are you lost?') ?>">« <?php _e('Back to blog') ?>
  3. <?php if (get_settings('users_can_register')) : ?>

  4. /wp-register.php"><?php _e('Register') ?>
  5. <?php endif; ?>

  6. /wp-login.php"><?php _e('Login') ?>
  7. Now I tried to remove this line:

  8. /wp-register.php"><?php _e('Register') ?>
  9. Now i did this and when i went to blog.filmn.co.uk/wp-login.php the following error came up:

    Parse error: syntax error, unexpected T_ENDIF in /home/filmncou/public_html/blog/wp-login.php on line 245

    Aint this a mysql error? If so is their somthing in the mysql which I have to delete or please tell me anything else I have done wrong.



  • whooami
    Posted 9 years ago #

    no thats not a mysql error, thats an error caused by your editing.

    In the backend, under Options/General is a checkbox with the label "Anyone can register", unchecking that checkbox will, for all intents and purposes, remove that option from wp-register.php

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic