<!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][5283] branches/1.5: 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/5283">5283</a></dd>
<dt>Author</dt> <dd>johnjamesjacoby</dd>
<dt>Date</dt> <dd>2011-11-05 22:20:14 +0000 (Sat, 05 Nov 2011)</dd>
</dl>
<h3>Log Message</h3>
<pre>Add missing ID's to admin/toolbar menus. (1.5 branch)</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branches15bpactivitybpactivityloaderphp">branches/1.5/bp-activity/bp-activity-loader.php</a></li>
<li><a href="#branches15bpblogsbpblogsloaderphp">branches/1.5/bp-blogs/bp-blogs-loader.php</a></li>
<li><a href="#branches15bpforumsbpforumsloaderphp">branches/1.5/bp-forums/bp-forums-loader.php</a></li>
<li><a href="#branches15bpfriendsbpfriendsloaderphp">branches/1.5/bp-friends/bp-friends-loader.php</a></li>
<li><a href="#branches15bpgroupsbpgroupsloaderphp">branches/1.5/bp-groups/bp-groups-loader.php</a></li>
<li><a href="#branches15bpmembersbpmembersadminbarphp">branches/1.5/bp-members/bp-members-adminbar.php</a></li>
<li><a href="#branches15bpmessagesbpmessagesloaderphp">branches/1.5/bp-messages/bp-messages-loader.php</a></li>
<li><a href="#branches15bpsettingsbpsettingsloaderphp">branches/1.5/bp-settings/bp-settings-loader.php</a></li>
<li><a href="#branches15bpxprofilebpxprofileloaderphp">branches/1.5/bp-xprofile/bp-xprofile-loader.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches15bpactivitybpactivityloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-activity/bp-activity-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-activity/bp-activity-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-activity/bp-activity-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</span><span class="lines">@@ -239,6 +239,7 @@
</span><span class="cx">                         // Mentions
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-mentions',
</ins><span class="cx">                                 'title' => $title,
</span><span class="cx">                                 'href' => trailingslashit( $activity_link . 'mentions' )
</span><span class="cx">                         );
</span><span class="lines">@@ -246,6 +247,7 @@
</span><span class="cx">                         // Personal
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-personal',
</ins><span class="cx">                                 'title' => __( 'Personal', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $activity_link )
</span><span class="cx">                         );
</span><span class="lines">@@ -253,6 +255,7 @@
</span><span class="cx">                         // Favorites
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-favorites',
</ins><span class="cx">                                 'title' => __( 'Favorites', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $activity_link . 'favorites' )
</span><span class="cx">                         );
</span><span class="lines">@@ -261,6 +264,7 @@
</span><span class="cx">                         if ( bp_is_active( 'friends' ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' => 'my-account-' . $this->id,
</span><ins>+                                        'id' => 'my-account-' . $this->id . '-friends',
</ins><span class="cx">                                         'title' => __( 'Friends', 'buddypress' ),
</span><span class="cx">                                         'href' => trailingslashit( $activity_link . bp_get_friends_slug() )
</span><span class="cx">                                 );
</span><span class="lines">@@ -270,6 +274,7 @@
</span><span class="cx">                         if ( bp_is_active( 'groups' ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' => 'my-account-' . $this->id,
</span><ins>+                                        'id' => 'my-account-' . $this->id . '-groups',
</ins><span class="cx">                                         'title' => __( 'Groups', 'buddypress' ),
</span><span class="cx">                                         'href' => trailingslashit( $activity_link . bp_get_groups_slug() )
</span><span class="cx">                                 );
</span></span></pre></div>
<a id="branches15bpblogsbpblogsloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-blogs/bp-blogs-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-blogs/bp-blogs-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-blogs/bp-blogs-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-my-sites',
</ins><span class="cx">                                 'title' => __( 'My Sites', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $blogs_link )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="branches15bpforumsbpforumsloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-forums/bp-forums-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-forums/bp-forums-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-forums/bp-forums-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-topics-started',
</ins><span class="cx">                                 'title' => __( 'Topics Started', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-replies',
</ins><span class="cx">                                 'title' => __( 'Replies', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-favorite-topics',
</ins><span class="cx">                                 'title' => __( 'Favorite Topics', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $forums_link . 'favorites' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="branches15bpfriendsbpfriendsloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-friends/bp-friends-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-friends/bp-friends-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-friends/bp-friends-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-friendships',
</ins><span class="cx">                                 'title' => __( 'Friendships', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-requests',
</ins><span class="cx">                                 'title' => $pending,
</span><span class="cx">                                 'href' => trailingslashit( $friends_link . 'requests' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="branches15bpgroupsbpgroupsloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-groups/bp-groups-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-groups/bp-groups-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-groups/bp-groups-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</span><span class="lines">@@ -407,6 +407,7 @@
</span><span class="cx">                         // My Groups
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-memberships',
</ins><span class="cx">                                 'title' => __( 'Memberships', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $groups_link )
</span><span class="cx">                         );
</span><span class="lines">@@ -414,6 +415,7 @@
</span><span class="cx">                         // Invitations
</span><span class="cx">                         $wp_admin_nav[] = array(
</span><span class="cx">                                 'parent' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-invites',
</ins><span class="cx">                                 'title' => $pending,
</span><span class="cx">                                 'href' => trailingslashit( $groups_link . 'invites' )
</span><span class="cx">                         );
</span></span></pre></div>
<a id="branches15bpmembersbpmembersadminbarphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-members/bp-members-adminbar.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-members/bp-members-adminbar.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-members/bp-members-adminbar.php        2011-11-05 22:20:14 UTC (rev 5283)
</span><span class="lines">@@ -215,6 +215,7 @@
</span><span class="cx">                 // Log out
</span><span class="cx">                 $wp_admin_bar->add_menu( array(
</span><span class="cx">                         'parent' => $bp->my_account_menu_id,
</span><ins>+                        'id' => $bp->my_account_menu_id . '-logout',
</ins><span class="cx">                         'title' => __( 'Log Out', 'buddypress' ),
</span><span class="cx">                         'href' => wp_logout_url()
</span><span class="cx">                 ) );
</span></span></pre></div>
<a id="branches15bpmessagesbpmessagesloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-messages/bp-messages-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-messages/bp-messages-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-messages/bp-messages-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-inbox',
</ins><span class="cx">                                 'title' => $inbox,
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-sentbox',
</ins><span class="cx">                                 'title' => __( 'Sent', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-compose',
</ins><span class="cx">                                 'title' => __( 'Compose', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                        'id' => 'my-account-' . $this->id . '-notices',
</ins><span class="cx">                                         'title' => __( 'All Member Notices', 'buddypress' ),
</span><span class="cx">                                         'href' => trailingslashit( $messages_link . 'notices' )
</span><span class="cx">                                 );
</span></span></pre></div>
<a id="branches15bpsettingsbpsettingsloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-settings/bp-settings-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-settings/bp-settings-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-settings/bp-settings-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-general',
</ins><span class="cx">                                 'title' => __( 'General', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-notifications',
</ins><span class="cx">                                 'title' => __( 'Notifications', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $settings_link . 'notifications' )
</span><span class="cx">                         );
</span><span class="lines">@@ -169,6 +171,7 @@
</span><span class="cx">                         if ( !is_super_admin() && empty( $bp->site_options['bp-disable-account-deletion'] ) ) {
</span><span class="cx">                                 $wp_admin_nav[] = array(
</span><span class="cx">                                         'parent' => 'my-account-' . $this->id,
</span><ins>+                                        'id' => 'my-account-' . $this->id . '-delete-account',
</ins><span class="cx">                                         'title' => __( 'Delete Account', 'buddypress' ),
</span><span class="cx">                                         'href' => trailingslashit( $settings_link . 'delete-account' )
</span><span class="cx">                                 );
</span><span class="lines">@@ -181,4 +184,4 @@
</span><span class="cx"> // Create the settingss component
</span><span class="cx"> $bp->settings = new BP_Settings_Component();
</span><span class="cx">
</span><del>-?>
</del><span class="cx">\ No newline at end of file
</span><ins>+?>
</ins></span></pre></div>
<a id="branches15bpxprofilebpxprofileloaderphp"></a>
<div class="modfile"><h4>Modified: branches/1.5/bp-xprofile/bp-xprofile-loader.php (5282 => 5283)</h4>
<pre class="diff"><span>
<span class="info">--- branches/1.5/bp-xprofile/bp-xprofile-loader.php        2011-11-05 22:11:12 UTC (rev 5282)
+++ branches/1.5/bp-xprofile/bp-xprofile-loader.php        2011-11-05 22:20:14 UTC (rev 5283)
</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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-view',
</ins><span class="cx">                                 'title' => __( 'View', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-edit',
</ins><span class="cx">                                 'title' => __( 'Edit', 'buddypress' ),
</span><span class="cx">                                 'href' => 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' => 'my-account-' . $this->id,
</span><ins>+                                'id' => 'my-account-' . $this->id . '-change-avatar',
</ins><span class="cx">                                 'title' => __( 'Change Avatar', 'buddypress' ),
</span><span class="cx">                                 'href' => trailingslashit( $profile_link . 'change-avatar' )
</span><span class="cx">                         );
</span><span class="lines">@@ -231,4 +234,4 @@
</span><span class="cx"> if ( !isset( $bp->profile->id ) )
</span><span class="cx">         $bp->profile = new BP_XProfile_Component();
</span><span class="cx">
</span><del>-?>
</del><span class="cx">\ No newline at end of file
</span><ins>+?>
</ins></span></pre>
</div>
</div>
</body>
</html>