Changeset 4880 for trunk/app.php
- Timestamp:
- 02/14/2007 04:54:14 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/app.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app.php
r4794 r4880 824 824 $page = (int) $page; 825 825 826 $count = get_ settings('posts_per_rss');826 $count = get_option('posts_per_rss'); 827 827 $query = "paged=$page&posts_per_page=$count&order=DESC"; 828 828 if($post_type == 'attachment') { … … 1045 1045 nocache_headers(); 1046 1046 header('WWW-Authenticate: Basic realm="WordPress Atom Protocol"'); 1047 header('WWW-Authenticate: Form action="' . get_ settings('siteurl') . '/wp-login.php"', false);1047 header('WWW-Authenticate: Form action="' . get_option('siteurl') . '/wp-login.php"', false); 1048 1048 header("HTTP/1.1 401 $msg"); 1049 1049 header('Status: ' . $msg); … … 1055 1055 function output($xml, $ctype = "application/atom+xml") { 1056 1056 status_header('200'); 1057 $xml = '<?xml version="1.0" encoding="' . get_ settings('blog_charset') . '"?>'."\n".$xml;1057 $xml = '<?xml version="1.0" encoding="' . get_option('blog_charset') . '"?>'."\n".$xml; 1058 1058 header('Connection: close'); 1059 1059 header('Content-Length: '. strlen($xml));
Note: See TracChangeset
for help on using the changeset viewer.