WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/04/2010 05:23:29 PM (10 years ago)
Author:
ryan
Message:

Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008

File:
1 edited

Legend:

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

    r12434 r12598  
    10991099        ( false !== strpos($matches[3], '/wp-admin/') )
    11001100    ||
    1101         ( false !== strpos($matches[3], '://') && 0 !== strpos($matches[3], get_option('home')) )
     1101        ( false !== strpos( $matches[3], '://' ) && 0 !== strpos( $matches[3], home_url() ) )
    11021102    ||
    11031103        ( false !== strpos($matches[3], '/feed/') )
Note: See TracChangeset for help on using the changeset viewer.