Ticket #4794: bp-core-buddybar.php.patch
File bp-core-buddybar.php.patch, 1.6 KB (added by , 12 years ago) |
---|
-
bp-core/bp-core-buddybar.php
27 27 'show_for_displayed_user' => true, // When viewing another user does this nav item show up? 28 28 'site_admin_only' => false, // Can only site admins see this nav item? 29 29 'position' => 99, // Index of where this nav item should be positioned 30 'screen_function' => false, // The name of the function to run when clicked30 'screen_function' => '__return_false', // The name of the function to run when clicked 31 31 'default_subnav_slug' => false // The slug of the default subnav item to select when clicked 32 32 ); 33 33 … … 104 104 105 105 $defaults = array( 106 106 'parent_slug' => false, // Slug of the parent 107 'screen_function' => false, // The name of the function to run when clicked107 'screen_function' => '__return_false', // The name of the function to run when clicked 108 108 'subnav_slug' => false // The slug of the subnav item to select when clicked 109 109 ); 110 110 … … 214 214 'user_has_access' => true, // Can the logged in user see this nav item? 215 215 'site_admin_only' => false, // Can only site admins see this nav item? 216 216 'position' => 90, // Index of where this nav item should be positioned 217 'screen_function' => false, // The name of the function to run when clicked217 'screen_function' => '__return_false', // The name of the function to run when clicked 218 218 'link' => '' // The link for the subnav item; optional, not usually required. 219 219 ); 220 220