WordPress.org

Plugin Directory

Changeset 562223 for login-logo


Ignore:
Timestamp:
06/22/12 07:48:14 (22 months ago)
Author:
markjaquith
Message:

Use content_url() instead of WP_CONTENT_URL. props Calin Don.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • login-logo/trunk/login-logo.php

    r562220 r562223  
    5252            $this->logo_locations['site'] = array( 
    5353                'path' => WP_CONTENT_DIR . '/login-logo-site-' . $blog_id . '.png', 
    54                 'url' => $this->maybe_ssl( WP_CONTENT_URL . '/login-logo-site-' . $blog_id . '.png' ) 
     54                'url' => $this->maybe_ssl( content_url( 'login-logo-site-' . $blog_id . '.png' ) ) 
    5555            ); 
    5656 
     
    6060                $this->logo_locations['network'] = array( 
    6161                    'path' => WP_CONTENT_DIR . '/login-logo-network-' . $site->id . '.png', 
    62                     'url' => $this->maybe_ssl( WP_CONTENT_URL . '/login-logo-network-' . $site->id . '.png' ) 
     62                    'url' => $this->maybe_ssl( content_url( 'login-logo-network-' . $site->id . '.png' ) ) 
    6363                    ); 
    6464            } 
     
    6767        $this->logo_locations['global'] =  array( 
    6868            'path' => WP_CONTENT_DIR . '/login-logo.png', 
    69             'url' => $this->maybe_ssl( WP_CONTENT_URL . '/login-logo.png' ) 
     69            'url' => $this->maybe_ssl( content_url( 'login-logo.png' ) ) 
    7070            ); 
    7171    } 
Note: See TracChangeset for help on using the changeset viewer.