WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/10/2005 11:15:13 PM (14 years ago)
Author:
ryan
Message:

Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-commentsrss2.php

    r2543 r2627  
    11<?php
    2 if ( empty($feed) ) {
    3     $feed = 'rss2';
    4     $withcomments = 1;
    5     $doing_rss = 1;
    6     require('wp-blog-header.php');
     2
     3if (empty($wp)) {
     4    require_once('wp-config.php');
     5    wp('feed=rss2&withcomments=1');
    76}
    87
Note: See TracChangeset for help on using the changeset viewer.