summaryrefslogtreecommitdiffstats
path: root/app.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-02-13 16:07:11 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-02-13 16:07:11 +0000
commit7f7b5d5ea2130f88e69ce10a913f8359a1c6ed0c (patch)
tree022ef1ec70ddfedfb948ed656a20854bb9fc3b01 /app.php
parente7795c365acf331aaf2f902fe1f27e72ff15775c (diff)
Use get_option instead of get_settings
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@885 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'app.php')
-rw-r--r--app.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app.php b/app.php
index 690faa9..244156b 100644
--- a/app.php
+++ b/app.php
@@ -823,7 +823,7 @@ EOD;
}
$page = (int) $page;
- $count = get_settings('posts_per_rss');
+ $count = get_option('posts_per_rss');
$query = "paged=$page&posts_per_page=$count&order=DESC";
if($post_type == 'attachment') {
$query .= "&post_type=$post_type";
@@ -1044,7 +1044,7 @@ EOD;
log_app('Status','401: Auth Required');
nocache_headers();
header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"');
- header('WWW-Authenticate: Form action="' . get_settings('siteurl') . '/wp-login.php"', false);
+ header('WWW-Authenticate: Form action="' . get_option('siteurl') . '/wp-login.php"', false);
header("HTTP/1.1 401 $msg");
header('Status: ' . $msg);
header('Content-Type: plain/text');
@@ -1054,7 +1054,7 @@ EOD;
function output($xml, $ctype = "application/atom+xml") {
status_header('200');
- $xml = '<?xml version="1.0" encoding="' . get_settings('blog_charset') . '"?>'."\n".$xml;
+ $xml = '<?xml version="1.0" encoding="' . get_option('blog_charset') . '"?>'."\n".$xml;
header('Connection: close');
header('Content-Length: '. strlen($xml));
header('Content-Type: ' . $ctype);