Changeset 7848

Show
Ignore:
Timestamp:
04/28/08 19:55:00 (7 months ago)
Author:
ryan
Message:

Add populate_options action. Props RanYanivHartstein?. fixes #6854

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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'));