[wp-trac] [WordPress Trac] #6847: 'the_content_rss' hook not working

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 25 19:50:24 GMT 2008


#6847: 'the_content_rss' hook not working
---------------------+------------------------------------------------------
 Reporter:  scribu   |       Owner:  anonymous                  
     Type:  defect   |      Status:  new                        
 Priority:  normal   |   Milestone:  2.5.2                      
Component:  General  |     Version:  2.5.1                      
 Severity:  normal   |    Keywords:  the_content_rss filter feed
---------------------+------------------------------------------------------
 'the_content_rss' filter does not trigger the callback function. Here is
 an example:

 <?php
 /*
 Plugin Name: TestRSS
 Plugin URI:
 Description: Test plugin
 Version: 0.1
 Date: Mar 31th, 2008
 Author: Antonio Perez
 Author URI:
 */

 function test_rss($text)
 {
         $text = "Hello world";
         return $text;
 }

 add_filter('the_content_rss', 'test_rss');
 ?>

 This error has also been present in version 2.5

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6847>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list