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:
parent
7541abd7e5
commit
09f2286a41
|
@ -1,4 +1,16 @@
|
||||||
<?php
|
<?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
|
// Strip, trim, kses, special chars for string saves
|
||||||
$filters = array('pre_term_name', 'pre_comment_author_name', 'pre_link_name', 'pre_link_target',
|
$filters = array('pre_term_name', 'pre_comment_author_name', 'pre_link_name', 'pre_link_target',
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Atom Feed Template for displaying Atom Comments feed.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
|
||||||
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
|
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
|
||||||
echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>';
|
echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>';
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* Atom Feed Template for displaying Atom Posts feed.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
|
||||||
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
|
header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
|
||||||
$more = 1;
|
$more = 1;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?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);
|
header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true);
|
||||||
$more = 1;
|
$more = 1;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?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);
|
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
|
||||||
$more = 1;
|
$more = 1;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* RSS2 Feed Template for displaying RSS2 Comments feed.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
|
||||||
header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true);
|
header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true);
|
||||||
|
|
||||||
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
|
||||||
|
|
|
@ -1,4 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
/**
|
||||||
|
* RSS2 Feed Template for displaying RSS2 Posts feed.
|
||||||
|
*
|
||||||
|
* @package WordPress
|
||||||
|
*/
|
||||||
|
|
||||||
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
|
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
|
||||||
$more = 1;
|
$more = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue