Some file level phpdoc from darkdragon. fixes #5527

git-svn-id: http://svn.automattic.com/wordpress/trunk@6493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-12-25 20:48:01 +00:00
parent 7541abd7e5
commit 09f2286a41
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;