Changeset 387753
- Timestamp:
- 05/22/2011 08:07:23 PM (15 years ago)
- Location:
- eventpress/trunk
- Files:
-
- 2 edited
-
controllers/wp.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
eventpress/trunk/controllers/wp.php
r385034 r387753 43 43 44 44 //Register the function to show the event metadata on a single page 45 add_filter( 'the_content', Array( $ep_views['template'], 'event_metadata' ) ); 45 if (defined('EP_BP') && EP_BP) 46 add_filter( 'the_content', Array( $ep_views['template'], 'event_metadata' ) ); 46 47 47 48 //Register function for getting the right template part 48 49 add_action( 'get_template_part_event_details', Array( &$this, 'register_event_part_template' ), 10, 2 ); 49 add_action( 'get_template_part_events_loop', Array( &$this, 'register_event_loop' ), 10, 2 );50 50 51 51 //Modify the messages for events and registration. … … 72 72 add_action( 'init', array( 'ep_admin_view', 'init' ) ); 73 73 74 //Modify the page templates array 74 //Modify the page templates array /* Deprecated. DROP BY 1.3. */ 75 75 add_filter( 'page_template', Array( &$this, 'events_pages' ) ); 76 76 … … 374 374 375 375 //Give a pretty URL to events. Only for WordPress, as BuddyPress will use a screen. 376 if ( !defined( 'EP_BP' ) ) { 376 if ( !defined( 'EP_BP' ) ) { /* Deprecated. DROP BY 1.3. */ 377 377 $this->landing_page(); 378 378 } -
eventpress/trunk/readme.txt
r385034 r387753 4 4 Requires at least: WordPress 3.1, BuddyPress 1.2.8 5 5 Tested up to: 3.1 6 Stable tag: 0.1.2. 46 Stable tag: 0.1.2.5 7 7 8 8 Create Events on WordPress and BuddyPress!
Note: See TracChangeset
for help on using the changeset viewer.