• I think that this code needs to be changed within eg-attachments-public.inc.php:

    if ( 1 == $logged_users && !is_user_logged_in()) {
         $url = $file_url = $attach_url = $direct_url = ( '' != $this->options['login_url'] ?
    	$this->options['logged_users'] :
    	wp_login_url( apply_filters( 'the_permalink', get_permalink( $post->ID )))
    	);

    Possible code correction replacing $this->options[‘logged_users’] :
    $this->options['login_URL']

  • The topic ‘BUG: login_URL’ is closed to new replies.