Changeset 3917
- Timestamp:
- 05/22/2012 09:35:31 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r3911 r3917 32 32 * @since bbPress (r2464) 33 33 */ 34 class bbPress {34 final class bbPress { 35 35 36 36 /** … … 627 627 * sent to register_post_type() 628 628 */ 629 public function register_post_types() {629 public static function register_post_types() { 630 630 631 631 // Define local variable(s) … … 816 816 * modify $wp_post_statuses accordingly 817 817 */ 818 public function register_post_statuses() {818 public static function register_post_statuses() { 819 819 global $wp_post_statuses; 820 820 … … 889 889 * @uses register_taxonomy() To register the taxonomy 890 890 */ 891 public function register_taxonomies() {891 public static function register_taxonomies() { 892 892 893 893 // Define local variable(s) … … 938 938 * @uses bbp_register_view() To register the views 939 939 */ 940 public function register_views() {940 public static function register_views() { 941 941 942 942 // Topics with no replies … … 976 976 * @uses add_rewrite_tag() To add the rewrite tags 977 977 */ 978 public function add_rewrite_tags() {978 public static function add_rewrite_tags() { 979 979 add_rewrite_tag( '%%' . bbp_get_user_rewrite_id() . '%%', '([^/]+)' ); // User Profile tag 980 980 add_rewrite_tag( '%%' . bbp_get_view_rewrite_id() . '%%', '([^/]+)' ); // View Page tag … … 993 993 * $wp_rewrite->rules 994 994 */ 995 public function generate_rewrite_rules( $wp_rewrite ) {995 public static function generate_rewrite_rules( $wp_rewrite ) { 996 996 997 997 // Slugs
Note: See TracChangeset
for help on using the changeset viewer.