<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[BuddyPress][5282] trunk: Add missing ID's to admin/toolbar menus.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://buddypress.trac.wordpress.org/changeset/5282">5282</a></dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2011-11-05 22:11:12 +0000 (Sat, 05 Nov 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add missing ID's to admin/toolbar menus. (trunk)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpactivitybpactivityloaderphp">trunk/bp-activity/bp-activity-loader.php</a></li>
<li><a href="#trunkbpblogsbpblogsloaderphp">trunk/bp-blogs/bp-blogs-loader.php</a></li>
<li><a href="#trunkbpforumsbpforumsloaderphp">trunk/bp-forums/bp-forums-loader.php</a></li>
<li><a href="#trunkbpfriendsbpfriendsloaderphp">trunk/bp-friends/bp-friends-loader.php</a></li>
<li><a href="#trunkbpgroupsbpgroupsloaderphp">trunk/bp-groups/bp-groups-loader.php</a></li>
<li><a href="#trunkbpmembersbpmembersadminbarphp">trunk/bp-members/bp-members-adminbar.php</a></li>
<li><a href="#trunkbpmessagesbpmessagesloaderphp">trunk/bp-messages/bp-messages-loader.php</a></li>
<li><a href="#trunkbpsettingsbpsettingsloaderphp">trunk/bp-settings/bp-settings-loader.php</a></li>
<li><a href="#trunkbpxprofilebpxprofileloaderphp">trunk/bp-xprofile/bp-xprofile-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpactivitybpactivityloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-activity/bp-activity-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-activity/bp-activity-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-activity/bp-activity-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -243,6 +243,7 @@
</span><span class="cx">                         // Mentions
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-mentions',
</ins><span class="cx">                                 'title'  =&gt; $title,
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $activity_link . 'mentions' )
</span><span class="cx">                         );
</span><span class="lines">@@ -250,6 +251,7 @@
</span><span class="cx">                         // Personal
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-personal',
</ins><span class="cx">                                 'title'  =&gt; __( 'Personal', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $activity_link )
</span><span class="cx">                         );
</span><span class="lines">@@ -257,6 +259,7 @@
</span><span class="cx">                         // Favorites
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-favorites',
</ins><span class="cx">                                 'title'  =&gt; __( 'Favorites', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $activity_link . 'favorites' )
</span><span class="cx">                         );
</span><span class="lines">@@ -265,6 +268,7 @@
</span><span class="cx">                         if ( bp_is_active( 'friends' ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                        'id'     =&gt; 'my-account-' . $this-&gt;id . '-friends',
</ins><span class="cx">                                         'title'  =&gt; __( 'Friends', 'buddypress' ),
</span><span class="cx">                                         'href'   =&gt; trailingslashit( $activity_link . bp_get_friends_slug() )
</span><span class="cx">                                 );
</span><span class="lines">@@ -274,6 +278,7 @@
</span><span class="cx">                         if ( bp_is_active( 'groups' ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                        'id'     =&gt; 'my-account-' . $this-&gt;id . '-groups',
</ins><span class="cx">                                         'title'  =&gt; __( 'Groups', 'buddypress' ),
</span><span class="cx">                                         'href'   =&gt; trailingslashit( $activity_link . bp_get_groups_slug() )
</span><span class="cx">                                 );
</span></span></pre></div>
<a id="trunkbpblogsbpblogsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-blogs/bp-blogs-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-blogs/bp-blogs-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-blogs/bp-blogs-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -152,6 +152,7 @@
</span><span class="cx">                         // My Blogs
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-my-sites',
</ins><span class="cx">                                 'title'  =&gt; __( 'My Sites', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $blogs_link )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkbpforumsbpforumsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-forums/bp-forums-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-forums/bp-forums-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-forums/bp-forums-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -198,6 +198,7 @@
</span><span class="cx">                         // Topics
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-topics-started',
</ins><span class="cx">                                 'title'  =&gt; __( 'Topics Started', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $forums_link . 'topics' )
</span><span class="cx">                         );
</span><span class="lines">@@ -205,6 +206,7 @@
</span><span class="cx">                         // Replies
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-replies',
</ins><span class="cx">                                 'title'  =&gt; __( 'Replies', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $forums_link . 'replies' )
</span><span class="cx">                         );
</span><span class="lines">@@ -212,6 +214,7 @@
</span><span class="cx">                         // Favorites
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-favorite-topics',
</ins><span class="cx">                                 'title'  =&gt; __( 'Favorite Topics', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $forums_link . 'favorites' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkbpfriendsbpfriendsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-friends/bp-friends-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-friends/bp-friends-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-friends/bp-friends-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -165,6 +165,7 @@
</span><span class="cx">                         // My Groups
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-friendships',
</ins><span class="cx">                                 'title'  =&gt; __( 'Friendships', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $friends_link )
</span><span class="cx">                         );
</span><span class="lines">@@ -172,6 +173,7 @@
</span><span class="cx">                         // Requests
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-requests',
</ins><span class="cx">                                 'title'  =&gt; $pending,
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $friends_link . 'requests' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-groups/bp-groups-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -413,6 +413,7 @@
</span><span class="cx">                         // My Groups
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-memberships',
</ins><span class="cx">                                 'title'  =&gt; __( 'Memberships', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $groups_link )
</span><span class="cx">                         );
</span><span class="lines">@@ -420,6 +421,7 @@
</span><span class="cx">                         // Invitations
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-invites',
</ins><span class="cx">                                 'title'  =&gt; $pending,
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $groups_link . 'invites' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkbpmembersbpmembersadminbarphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-members/bp-members-adminbar.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-members/bp-members-adminbar.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-members/bp-members-adminbar.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -235,6 +235,7 @@
</span><span class="cx">                 // Log out
</span><span class="cx">                 $wp_admin_bar-&gt;add_menu( array(
</span><span class="cx">                         'parent' =&gt; $bp-&gt;my_account_menu_id,
</span><ins>+                        'id'     =&gt; $bp-&gt;my_account_menu_id . '-logout',
</ins><span class="cx">                         'title'  =&gt; __( 'Log Out', 'buddypress' ),
</span><span class="cx">                         'href'   =&gt; wp_logout_url()
</span><span class="cx">                 ) );
</span></span></pre></div>
<a id="trunkbpmessagesbpmessagesloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-messages/bp-messages-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-messages/bp-messages-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-messages/bp-messages-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -193,6 +193,7 @@
</span><span class="cx">                         // Inbox
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-inbox',
</ins><span class="cx">                                 'title'  =&gt; $inbox,
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $messages_link . 'inbox' )
</span><span class="cx">                         );
</span><span class="lines">@@ -200,6 +201,7 @@
</span><span class="cx">                         // Sent Messages
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-sentbox',
</ins><span class="cx">                                 'title'  =&gt; __( 'Sent', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $messages_link . 'sentbox' )
</span><span class="cx">                         );
</span><span class="lines">@@ -207,6 +209,7 @@
</span><span class="cx">                         // Compose Message
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-compose',
</ins><span class="cx">                                 'title'  =&gt; __( 'Compose', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $messages_link . 'compose' )
</span><span class="cx">                         );
</span><span class="lines">@@ -215,6 +218,7 @@
</span><span class="cx">                         if ( is_super_admin() ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                        'id'     =&gt; 'my-account-' . $this-&gt;id . '-notices',
</ins><span class="cx">                                         'title'  =&gt; __( 'All Member Notices', 'buddypress' ),
</span><span class="cx">                                         'href'   =&gt; trailingslashit( $messages_link . 'notices' )
</span><span class="cx">                                 );
</span></span></pre></div>
<a id="trunkbpsettingsbpsettingsloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-settings/bp-settings-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-settings/bp-settings-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-settings/bp-settings-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -154,6 +154,7 @@
</span><span class="cx">                         // General Account
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-general',
</ins><span class="cx">                                 'title'  =&gt; __( 'General', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $settings_link . 'general' )
</span><span class="cx">                         );
</span><span class="lines">@@ -161,6 +162,7 @@
</span><span class="cx">                         // Notifications
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-notifications',
</ins><span class="cx">                                 'title'  =&gt; __( 'Notifications', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $settings_link . 'notifications' )
</span><span class="cx">                         );
</span><span class="lines">@@ -169,6 +171,7 @@
</span><span class="cx">                         if ( !is_super_admin() &amp;&amp; empty( $bp-&gt;site_options['bp-disable-account-deletion'] ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                        'id'     =&gt; 'my-account-' . $this-&gt;id . '-delete-account',
</ins><span class="cx">                                         'title'  =&gt; __( 'Delete Account', 'buddypress' ),
</span><span class="cx">                                         'href'   =&gt; trailingslashit( $settings_link . 'delete-account' )
</span><span class="cx">                                 );
</span></span></pre></div>
<a id="trunkbpxprofilebpxprofileloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile/bp-xprofile-loader.php (5281 => 5282)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile/bp-xprofile-loader.php        2011-11-05 21:55:10 UTC (rev 5281)
+++ trunk/bp-xprofile/bp-xprofile-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
</span><span class="lines">@@ -181,6 +181,7 @@
</span><span class="cx">                         // View Profile
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-public',
</ins><span class="cx">                                 'title'  =&gt; __( 'View', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $profile_link . 'public' )
</span><span class="cx">                         );
</span><span class="lines">@@ -188,6 +189,7 @@
</span><span class="cx">                         // Edit Profile
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-edit',
</ins><span class="cx">                                 'title'  =&gt; __( 'Edit', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $profile_link . 'edit' )
</span><span class="cx">                         );
</span><span class="lines">@@ -195,6 +197,7 @@
</span><span class="cx">                         // Edit Profile
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' =&gt; 'my-account-' . $this-&gt;id,
</span><ins>+                                'id'     =&gt; 'my-account-' . $this-&gt;id . '-change-avatar',
</ins><span class="cx">                                 'title'  =&gt; __( 'Change Avatar', 'buddypress' ),
</span><span class="cx">                                 'href'   =&gt; trailingslashit( $profile_link . 'change-avatar' )
</span><span class="cx">                         );
</span></span></pre>
</div>
</div>

</body>
</html>