WordPress.org

Make WordPress Core

Changeset 7848


Ignore:
Timestamp:
04/28/2008 07:55:00 PM (10 years ago)
Author:
ryan
Message:

Add populate_options action. Props RanYanivHartstein. fixes #6854

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r7796 r7848  
    157157    $schema = ( isset($_SERVER['HTTPS']) && strtolower($_SERVER['HTTPS']) == 'on' ) ? 'https://' : 'http://';
    158158    $guessurl = preg_replace('|/wp-admin/.*|i', '', $schema . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
     159   
     160    do_action('populate_options');
     161   
    159162    add_option('siteurl', $guessurl);
    160163    add_option('blogname', __('My Blog'));
Note: See TracChangeset for help on using the changeset viewer.