WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/06/2008 07:39:11 AM (12 years ago)
Author:
ryan
Message:

More use of site_url(), admin_url(), and site_url(). Force login and admin links to be https if FORCE_SSL_LOGIN. see #7001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post.php

    r8019 r8058  
    23932393        if ( !is_array($icon_files) ) {
    23942394            $icon_dir = apply_filters( 'icon_dir', ABSPATH . WPINC . '/images/crystal' );
    2395             $icon_dir_uri = apply_filters( 'icon_dir_uri', trailingslashit(get_option('siteurl')) . WPINC . '/images/crystal' );
     2395            $icon_dir_uri = apply_filters( 'icon_dir_uri', includes_url('images/crystal') );
    23962396            $dirs = apply_filters( 'icon_dirs', array($icon_dir => $icon_dir_uri) );
    23972397            $icon_files = array();
Note: See TracChangeset for help on using the changeset viewer.