We won again!

Great victory for the People - Tax Cut!

Home Forums Inside This WordPress Site Две Проблемки с Вашей Страничкой

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2286
    maestro
    Participant

    У вас здесь 2 проблемы:

    – IE7 doesn’t show the site right (пробел под logo, Search button here is warped to a next line – looks awful)

    – New user is redirected back to register page upon a successful login. Что-то вы напортачили в code modifications.

    #2363
    dFrank
    Participant

    As far as I can understand your poor English, I am having the same problem with point number 2. It is very confusing to be redirected back to Register page immediately after successful login.

    I even know (i guess I know) what you did in wp-login.php:

    if ( isset( $_REQUEST['redirect_to'] ) ) {
    $redirect_to = $_REQUEST['redirect_to'];
    // Redirect to https if user wants ssl
    if ( $secure_cookie && false !== strpos($redirect_to, 'wp-admin') )
    $redirect_to = preg_replace('|^http://|', '^https://', $redirect_to);
    } else {
    // ******You probably messed up HERE **********
    // $redirect_to = admin_url();
    $redirect_to = $_SERVER[HTTP_REFERER]; }

    Also, I you going to fix IE7 problems?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.