Changeset 32990 for trunk/src/wp-includes/rss.php
- Timestamp:
- 06/28/2015 03:26:41 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/rss.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rss.php
r30201 r32990 56 56 var $_CONTENT_CONSTRUCTS = array('content', 'summary', 'info', 'title', 'tagline', 'copyright'); 57 57 58 function MagpieRSS ($source) { 58 /** 59 * PHP5 constructor. 60 */ 61 function __construct( $source ) { 59 62 60 63 # if PHP xml isn't compiled in, die … … 96 99 97 100 $this->normalize(); 101 } 102 103 /** 104 * PHP4 constructor. 105 */ 106 public function MagpieRSS( $source ) { 107 self::__construct( $source ); 98 108 } 99 109 … … 710 720 var $ERROR = ''; // accumulate error messages 711 721 712 function RSSCache ($base='', $age='') { 722 /** 723 * PHP5 constructor. 724 */ 725 function __construct( $base = '', $age = '' ) { 713 726 $this->BASE_CACHE = WP_CONTENT_DIR . '/cache'; 714 727 if ( $base ) { … … 719 732 } 720 733 734 } 735 736 /** 737 * PHP4 constructor. 738 */ 739 public function RSSCache( $base = '', $age = '' ) { 740 self::__construct( $base, $age ); 721 741 } 722 742
Note: See TracChangeset
for help on using the changeset viewer.