WordPress.org

Make WordPress Core

Ticket #5527: filelevel.phpdoc.r6492.patch

File filelevel.phpdoc.r6492.patch, 3.1 KB (added by darkdragon, 14 years ago)

Adds file level documentation for files based off of r6492

  • default-filters.php

     
    11<?php
     2/**
     3 * Sets up the default filters and actions for most
     4 * of the WordPress hooks.
     5 *
     6 * If you need to remove a default hook, this file will
     7 * give you the priority for which to use to remove the
     8 * hook.
     9 *
     10 * Not all of the default hooks are found in default-filters.php
     11 *
     12 * @package WordPress
     13 */
    214
    315// Strip, trim, kses, special chars for string saves
    416$filters = array('pre_term_name', 'pre_comment_author_name', 'pre_link_name', 'pre_link_target',
  • feed-atom-comments.php

     
    11<?php
     2/**
     3 * Atom Feed Template for displaying Atom Comments feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
    39echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '" ?' . '>';
    410?>
  • feed-atom.php

     
    11<?php
     2/**
     3 * Atom Feed Template for displaying Atom Posts feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: application/atom+xml; charset=' . get_option('blog_charset'), true);
    39$more = 1;
    410
  • feed-rdf.php

     
    11<?php
     2/**
     3 * RSS 1 RDF Feed Template for displaying RSS 1 Posts feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: application/rdf+xml; charset=' . get_option('blog_charset'), true);
    39$more = 1;
    410
  • feed-rss.php

     
    11<?php
     2/**
     3 * RSS 0.92 Feed Template for displaying RSS 0.92 Posts feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    39$more = 1;
    410
  • feed-rss2-comments.php

     
    11<?php
     2/**
     3 * RSS2 Feed Template for displaying RSS2 Comments feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: text/xml;charset=' . get_option('blog_charset'), true);
    39
    410echo '<?xml version="1.0" encoding="'.get_option('blog_charset').'"?'.'>';
  • feed-rss2.php

     
    11<?php
     2/**
     3 * RSS2 Feed Template for displaying RSS2 Posts feed.
     4 *
     5 * @package WordPress
     6 */
     7
    28header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
    39$more = 1;
    410