Some file level phpdoc from darkdragon. fixes #5527

git-svn-id: https://develop.svn.wordpress.org/trunk@6493 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-12-25 20:48:01 +00:00
parent d061a16188
commit ac09012f47
7 changed files with 48 additions and 0 deletions

View File

@ -1,4 +1,16 @@
<?php
/**
* Sets up the default filters and actions for most
* of the WordPress hooks.
*
* If you need to remove a default hook, this file will
* give you the priority for which to use to remove the
* hook.
*
* Not all of the default hooks are found in default-filters.php
*
* @package WordPress
*/
// Strip, trim, kses, special chars for string saves
$filters = array('pre_term_name', 'pre_comment_author_name', 'pre_link_name', 'pre_link_target',

View File

@ -1,4 +1,10 @@
<?php
/**
* Atom Feed Template for displaying Atom Comments feed.
*
* @package WordPress
*/
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>';
?>

View File

@ -1,4 +1,10 @@
<?php
/**
* Atom Feed Template for displaying Atom Posts feed.
*
* @package WordPress
*/
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
$more = 1;

View File

@ -1,4 +1,10 @@
<?php
/**
* RSS 1 RDF Feed Template for displaying RSS 1 Posts feed.
*
* @package WordPress
*/
header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true);
$more = 1;

View File

@ -1,4 +1,10 @@
<?php
/**
* RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed.
*
* @package WordPress
*/
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$more = 1;

View File

@ -1,4 +1,10 @@
<?php
/**
* RSS2 Feed Template for displaying RSS2 Comments feed.
*
* @package WordPress
*/
header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true);
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';

View File

@ -1,4 +1,10 @@
<?php
/**
* RSS2 Feed Template for displaying RSS2 Posts feed.
*
* @package WordPress
*/
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$more = 1;