Ticket #3578: 3578-defaults.patch
File 3578-defaults.patch, 761 bytes (added by , 13 years ago) |
---|
-
bp-core/bp-core-component.php
class BP_Component { 105 105 106 106 /** Slugs *************************************************************/ 107 107 108 // The default value for 'root_slug' should be retrieved from bp-pages 109 $root_slug_default = isset( $bp->pages->{$this->id}->slug ) ? $bp->pages->{$this->id}->slug : ''; 110 108 111 $defaults = array( 109 112 'slug' => $this->id, 110 'root_slug' => '',113 'root_slug' => $root_slug_default, 111 114 'has_directory' => false, 112 115 'notification_callback' => '', 113 116 'search_string' => '',