WordPress.org

Make WordPress Core

Changeset 2627 for trunk/wp-rss2.php


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-rss2.php

    r2625 r2627  
    11<?php
    22
    3 if (empty($feed)) {
    4     $blog = 1;
    5     $feed = 'rss2';
    6     $doing_rss = 1;
    7     require('wp-blog-header.php');
     3if (empty($wp)) {
     4    require_once('wp-config.php');
     5    wp('feed=rss2');
    86}
    97
Note: See TracChangeset for help on using the changeset viewer.