[wpmu-trac] [WordPress MU Trac] #230: Use get_option in
wpmu-functions.php
WordPress MU Trac
wpmu-trac at lists.automattic.com
Mon Jan 22 09:48:13 GMT 2007
#230: Use get_option in wpmu-functions.php
------------------------+---------------------------------------------------
Reporter: mypatricks | Owner: Donncha
Type: defect | Status: new
Priority: normal | Milestone: WPMU 2.0
Component: component1 | Version: 2.0
Severity: normal | Keywords: get_option
------------------------+---------------------------------------------------
No more use get_settings in /wp-included/wpmu-functions.php
example:
$message_headers = "MIME-Version: 1.0\n" . "From: " . get_site_option(
"site_name" ) . " <{$admin_email}>\n" . "Content-Type: text/plain;
charset=\"" . '''get_settings('blog_charset') '''. "\"\n";
$message_headers = "MIME-Version: 1.0\n" . "From: " . get_site_option(
"site_name" ) . " <{$admin_email}>\n" . "Content-Type: text/plain;
charset=\"" . '''get_option('blog_charset') '''. "\"\n";
{{{
1063 $message_headers = "MIME-Version: 1.0\n" . "From: " .
get_site_option( "site_name" ) . " <{$admin_email}>\n" . "Content-Type:
text/plain; charset=\"" . get_option('blog_charset') . "\"\n";
1064 $message = sprintf(__("To activate your blog, please click the
following link:\n\n%s\n\nAfter you activate, you will receive *another
email* with your login.\n\nAfter you activate, you can visit your blog
here:\n\n%s"), $activate_url, "http://{$domain}{$path}");
1065 // TODO: Don't hard code activation link.
}}}
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/230>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list