WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #23265


Ignore:
Timestamp:
01/22/13 15:36:04 (15 months ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23265 – Description

    initial v2  
    22 
    33{{{ 
    4 add_action( 'the_content', array( 'My_Plugin_Main_Class', 'the_content' ) ); 
     4add_filter( 'the_content', array( 'My_Plugin_Main_Class', 'the_content' ) ); 
    55 
    6 add_action( 'the_content', 'My_Plugin_Main_Class::the_content' ); 
     6add_filter( 'the_content', 'My_Plugin_Main_Class::the_content' ); 
    77 
    8 add_action( 'the_content', '\\My_Plugin_Main_Class::the_content' ); 
     8add_filter( 'the_content', '\\My_Plugin_Main_Class::the_content' ); 
    99}}} 
    1010 
     
    1212 
    1313It would be nice if `_wp_filter_build_unique_id()` converted all these variations to a canonical representation. 
     14 
     15Sprung out of #23259