Changeset 2077 for trunk/bp-wire/deprecated/bp-wire-deprecated.php
- Timestamp:
- 11/02/2009 07:54:21 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-wire/deprecated/bp-wire-deprecated.php (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-wire/deprecated/bp-wire-deprecated.php
r1905 r2077 4 4 * 5 5 * This file contains functions that are deprecated. 6 * You should not under any circumstance use these functions as they are 6 * You should not under any circumstance use these functions as they are 7 7 * either no longer valid, or have been replaced with something much more awesome. 8 8 * … … 13 13 * Of course, things will still work if you use these functions but you will 14 14 * be the laughing stock of the BuddyPress community. We will all point and laugh at 15 * you. You'll also be making things harder for yourself in the long run, 15 * you. You'll also be making things harder for yourself in the long run, 16 16 * and you will miss out on lovely performance and functionality improvements. 17 * 17 * 18 18 * If you've checked you are not using any deprecated functions and finished your little 19 19 * dance, you can add the following line to your wp-config.php file to prevent any of … … 27 27 if ( !file_exists( WP_CONTENT_DIR . '/bp-themes' ) ) 28 28 return $template; 29 29 30 30 /* Enqueue the structure CSS file to give basic positional formatting for components */ 31 wp_enqueue_style( 'bp-wire-structure', BP_PLUGIN_URL . '/bp-wire/deprecated/css/structure.css' ); 31 wp_enqueue_style( 'bp-wire-structure', BP_PLUGIN_URL . '/bp-wire/deprecated/css/structure.css' ); 32 32 } 33 33 add_action( 'bp_styles', 'bp_wire_add_structure_css' ); … … 46 46 <span class="ajax-loader"></span> 47 47 </div> 48 48 49 49 <div id="wire-pagination" class="pagination-links"> 50 50 <?php bp_wire_pagination() ?> 51 51 </div> 52 52 53 53 <ul id="wire-post-list"> 54 54 <?php $counter = 0; ?> … … 57 57 <div class="wire-post-metadata"> 58 58 <?php bp_wire_post_author_avatar() ?> 59 <?php _e( 'On', 'buddypress' ) ?> <?php bp_wire_post_date() ?> 59 <?php _e( 'On', 'buddypress' ) ?> <?php bp_wire_post_date() ?> 60 60 <?php bp_wire_post_author_name() ?> <?php _e( 'said:', 'buddypress' ) ?> 61 61 <?php bp_wire_delete_link() ?> 62 62 </div> 63 63 64 64 <div class="wire-post-content"> 65 65 <?php bp_wire_post_content() ?> … … 69 69 <?php endwhile; ?> 70 70 </ul> 71 71 72 72 <?php else: ?> 73 73 … … 77 77 78 78 <?php endif; ?> 79 79 80 80 <input type="hidden" name="bp_wire_item_id" id="bp_wire_item_id" value="<?php echo attribute_escape( $_POST['bp_wire_item_id'] ) ?>" /> 81 81 <?php
Note: See TracChangeset
for help on using the changeset viewer.