WordPress.org

Make WordPress Core

Changeset 10929


Ignore:
Timestamp:
04/14/09 17:02:24 (5 years ago)
Author:
ryan
Message:

Check if SimplePie class is already defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-feed.php

    r10747 r10929  
    11<?php 
    22 
    3 require_once (ABSPATH . WPINC . '/class-simplepie.php'); 
     3if ( !class_exists('SimplePie') ) 
     4    require_once (ABSPATH . WPINC . '/class-simplepie.php'); 
    45 
    56class WP_Feed_Cache extends SimplePie_Cache { 
Note: See TracChangeset for help on using the changeset viewer.