<!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>[14286] sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org: BuddyPress Codex: theme tweaks</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 { white-space: pre-line; 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 { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { 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" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="http://meta.trac.wordpress.org/changeset/14286">14286</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"http://meta.trac.wordpress.org/changeset/14286","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>johnjamesjacoby</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2024-12-16 20:04:18 +0000 (Mon, 16 Dec 2024)</dd>
</dl>

<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>BuddyPress Codex: theme tweaks

Part of bb-base theme changes

See: https://buddypress.trac.wordpress.org/ticket/9262</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfooterphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfrontpagephp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfunctionsphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/functions.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgheadernavphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgindexphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgscreencss">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/screen.css</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgsidebarphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/sidebar.php</a></li>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgstylecss">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/style.css</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfootereditsphp">sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer-edits.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfootereditsphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer-edits.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer-edits.php                            (rev 0)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer-edits.php      2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,56 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+global $codex_contributors;
+
+if ( is_singular( 'page' ) ) : ?>
+
+<div class="footer-meta-wrap">
+    <div class="footer-meta">
+        <div class="col-half">
+
+            <h2 class="title">Article Contributors</h2>
+
+            <?php if ( count( $codex_contributors ) ) : ?>
+
+                <div class="contributors">
+
+                    <?php $codex_contributors = array_slice( $codex_contributors, 0, 3, true );
+
+                    foreach( (array) $codex_contributors as $contributor_id => $count ) :
+
+                        $userdata = get_userdata( $contributor_id );
+                        if ( empty( $userdata ) ) :
+                            continue;
+                        endif; ?>
+
+                        <div class="contributor">
+                            <a href="#">
+                                <div class="contributor-avatar float-left">
+                                    <?php echo get_avatar( $contributor_id, 48 ); ?>
+                                    <?php echo '<div class="revision-count">' . esc_html( $count ) . '</div>'; ?>
+                                    <?php echo '<div class="contributor-name"><span>' . esc_html( $userdata->display_name ) . '</span></div>'; ?>
+                                </div>
+                            </a>
+                        </div>
+
+                    <?php endforeach; ?>
+
+                </div>
+
+            <?php endif; ?>
+
+            <p class="date">Updated <strong><?php echo human_time_diff( get_the_modified_time( 'U', get_queried_object_id() ) ); ?></strong> ago / Published <strong><?php echo human_time_diff( get_the_time( 'U', get_queried_object_id() ) ); ?></strong> ago</p>
+
+        </div>
+
+        <div class="col-half">
+
+            <h2 class="title">Want to help?</h2>
+
+            <p>The BuddyPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="https://codex.buddypress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p>
+
+        </div>
+    </div>
+</div>
+
+<?php endif; ?>
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer-edits.php
</span><span class="cx" style="display: block; padding: 0 10px">___________________________________________________________________
</span></span></pre></div>
<a id="svneolstyle"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: svn:eol-style</h4></div>
<ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+native
</ins><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php  2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/footer.php    2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5,110 +5,28 @@
</span><span class="cx" style="display: block; padding: 0 10px">                </div>
</span><span class="cx" style="display: block; padding: 0 10px">                <hr class="hidden" />
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <?php if ( is_singular( 'page' ) ) { ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <?php get_template_part( 'footer', 'edits' ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <div class="footer-meta-wrap">
-
-                       <div class="footer-meta">
-
-                       <div class="col-half">
-
-                       <h3 class="title">Article Contributors</h3>
-
-                       <?php
-
-                       global $codex_contributors, $post;
-
-                       if ( count( $codex_contributors ) ) {
-
-                               /*
-
-                               TODO: Noel Tock
-                               Comment out Owner (as per WCLDN discussion)
-
-                               echo '<div class="page-contributors widget">';
-                               echo '<h3 class="widgettitle">Owner</h3>';
-                               $userdata = get_userdata( $post->post_author );
-                                       echo '<div class="page-contributor">';
-                                               echo '<div class="contributor-mug float-left">';
-                                               echo get_avatar( $post->post_author, 48 );
-                                               echo '</div>';
-                                               echo '<div class="inner">';
-                                               echo '<h5>' . esc_html( $userdata->display_name ) . '</h5>';
-                                               echo '<p>' . esc_html( $codex_contributors[$post->post_author] ) . ' revision';
-                                               if ( $codex_contributors[$post->post_author] > 1 )
-                                                       echo 's';
-                                               echo '</p>';
-                                               echo '</div>';
-                                       echo '</div>';
-                               echo '</div>';
-                               unset( $codex_contributors[$post->post_author] );
-                               */
-
-                               if ( count( $codex_contributors ) ) {
-                                       echo '<div class="contributors">';
-                                       $codex_contributors = array_slice( $codex_contributors, 0, 3, true );
-                                       foreach( (array)$codex_contributors as $contributor_id => $count ) {
-                                               $userdata = get_userdata( $contributor_id );
-                                               if ( ! $userdata ) {
-                                                       continue;
-                                               }
-
-                                               echo '<div class="contributor">';
-                                                       echo '<a href="#"><div class="contributor-avatar float-left">';
-                                                               echo get_avatar( $contributor_id, 48 );
-                                                               echo '<div class="revision-count">' . esc_html( $count ) . '</div>';
-                                                               echo '<div class="contributor-name"><span>' . esc_html( $userdata->display_name ) . '</span></div>';
-                                                       echo '</div></a>';
-                                               echo '</div>';
-                                       }
-                                       echo '</div>';
-                               }
-                       }
-               ?>
-
-                       <p class="date">Updated <strong><?php echo human_time_diff( get_the_modified_time( 'U', get_queried_object_id() ) ); ?></strong> ago / Published <strong><?php echo human_time_diff( get_the_time( 'U', get_queried_object_id() ) ); ?></strong> ago</p>
-
-                       </div>
-
-                       <div class="col-half">
-
-                       <h3 class="title">Want to help?</h3>
-
-                       <p>The BuddyPress Codex is volunteer-powered, which means you can contribute too! If you're interested in updating existing articles or creating entirely new ones, please read our <a href="https://codex.buddypress.org/participate-and-contribute/codex-standards-guidelines/">Codex Standards & Guidelines</a>.</p>
-
-                       </div>
-
-                       </div>
-
-               </div>
-
-               <?php } ?>
-
-               <div id="footer">
-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <div id="footer"><div id="footer-inner">
</ins><span class="cx" style="display: block; padding: 0 10px">                         <div class="links">
</span><span class="cx" style="display: block; padding: 0 10px">                                <p>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        See also:
-                                       <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg'); ?></a> &bull;
-                                       <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg'); ?></a> &bull;
-                                       <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg'); ?></a> &bull;
-                                       <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a> &bull;
-                                       <a href="<?php bloginfo( 'rss2_url' ); ?>" title="<?php esc_attr_e( 'RSS Feed for Articles', 'bporg' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <a href="https://wordpress.org"><?php _e( 'WordPress.org', 'bporg' ); ?></a>
+                                       <a href="https://bbpress.org"><?php _e( 'bbPress.org', 'bporg' ); ?></a>
+                                       <a href="https://buddypress.org"><?php _e( 'BuddyPress.org', 'bporg' ); ?></a>
+                                       <a href="https://ma.tt"><?php _e( 'Matt', 'bporg' ); ?></a>
+                                       <a href="<?php bloginfo( 'rss2_url' ); ?>"><?php _e( 'Blog RSS', 'bporg' ); ?></a>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 </p>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px">                         <div class="details">
</span><span class="cx" style="display: block; padding: 0 10px">                                <p>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        <a href="https://twitter.com/buddypressdev" class="twitter"><?php _e( 'Follow BuddyPress on Twitter', 'bporg'); ?></a> &bull;
-                                       <a href="https://buddypress.org/about/gpl/"><?php _e('GPL', 'bporg'); ?></a> &bull;
-                                       <a href="https://buddypress.org/contact/"><?php _e('Contact Us', 'bporg'); ?></a> &bull;
-                                       <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a> &bull;
-                                       <a href="https://buddypress.org/terms/"><?php _e('Terms of Service', 'bporg'); ?></a>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 <a href="https://buddypress.org/about/gpl/"><?php _e( 'GPL', 'bporg' ); ?></a>
+                                       <a href="https://buddypress.org/contact/"><?php _e( 'Contact Us', 'bporg' ); ?></a>
+                                       <a href="https://wordpress.org/about/privacy/"><?php _e('Privacy', 'bbporg'); ?></a>
+                                       <a href="https://buddypress.org/terms/"><?php _e( 'Terms of Service', 'bporg' ); ?></a>
+                                       <a href="https://x.com/buddypressdev"><?php _e( 'X', 'bporg' ); ?></a>
</ins><span class="cx" style="display: block; padding: 0 10px">                                 </p>
</span><span class="cx" style="display: block; padding: 0 10px">                        </div>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-               </div>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         </div></div>
</ins><span class="cx" style="display: block; padding: 0 10px">                 <?php wp_footer(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">        </body>
</span><span class="cx" style="display: block; padding: 0 10px"> </html>
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfrontpagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php      2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/front-page.php        2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -6,7 +6,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="post">
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                <h3 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         <h2 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h2>
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                                <?php the_content(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/functions.php       2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/functions.php 2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,7 +4,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  * Enqueue Codex Stylesheet (Generated from LESS files)
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function bpcodex_register_stylesheet() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        wp_enqueue_style( 'bp-codex-screen', get_stylesheet_directory_uri() . '/screen.css', false, '201804220020', 'screen' );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ wp_enqueue_style( 'bp-codex-screen', get_stylesheet_directory_uri() . '/screen.css', false, '202412160001', 'screen' );
</ins><span class="cx" style="display: block; padding: 0 10px">         wp_enqueue_style( 'google-font-source', 'https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700', false, '1.0', 'all' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_enqueue_scripts', 'bpcodex_register_stylesheet' );
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgheadernavphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php      2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/header-nav.php        2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,11 +1,50 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+
+// "current" CSS class vars
+$_is_about    = false;
+$_is_bbpress  = false;
+$_is_codex    = true;
+$_is_news     = false;
+$_is_download = false;
+
+?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <div id="nav">
</span><span class="cx" style="display: block; padding: 0 10px">        <a href="#" id="bb-menu-icon"></a>
</span><span class="cx" style="display: block; padding: 0 10px">        <ul id="bb-nav" class="menu">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                <li id="menu-item-251086" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251086"><a href="https://buddypress.org/about/">About</a></li>
-               <li id="menu-item-251087" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-251087"><a href="https://codex.buddypress.org/">Documentation</a></li>
-               <li id="menu-item-252086" class="menu-item menu-item-type-custom menu-item-object-custom menu-item-252086"><a href="https://codex.buddypress.org/participate-and-contribute/">Get Involved</a></li>
-               <li id="menu-item-251088" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251088"><a href="https://buddypress.org/blog/">News</a></li>
-               <li id="menu-item-251089" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251089"><a href="https://buddypress.org/support/">Support</a></li>
-               <li id="menu-item-251090" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-251090"><a href="https://buddypress.org/download/">Download</a></li>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         <li class="menu-item<?php if ( true === $_is_about ) : ?> current <?php endif; ?>">
+                       <a href="https://buddypress.org/about/">
+                               <?php _e( 'About', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item<?php if ( true === $_is_news ) : ?> current <?php endif; ?>">
+                       <a href="https://buddypress.org/blog/">
+                               <?php _e( 'News', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item<?php if ( true === $_is_codex ) : ?> current <?php endif; ?>">
+                       <a href="https://codex.buddypress.org/">
+                               <?php _e( 'Codex', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item">
+                       <a href="https://developer.buddypress.org">
+                               <?php _e( 'Develop', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item">
+                       <a href="https://buddypress.trac.wordpress.org">
+                               <?php _e( 'Make', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item<?php if ( true === $_is_bbpress ) : ?> current <?php endif; ?>">
+                       <a href="https://buddypress.org/support/">
+                               <?php _e( 'Forums', 'bborg' ); ?>
+                       </a>
+               </li>
+               <li class="menu-item <?php if ( true === $_is_download ) : ?> current <?php endif; ?>">
+                       <a href="https://buddypress.org/download/">
+                               <?php _e( 'Download', 'bborg' ); ?>
+                       </a>
+               </li>
</ins><span class="cx" style="display: block; padding: 0 10px">         </ul>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of file
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php   2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/index.php     2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,6 +1,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php get_header(); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        <h3 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 <h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
</ins><span class="cx" style="display: block; padding: 0 10px">                         <cite><?php
</span><span class="cx" style="display: block; padding: 0 10px">                                /* translators: 1: post date, 2: post author */
</span><span class="cx" style="display: block; padding: 0 10px">                                printf( __( 'Published on %1$s by %2$s', 'bporg' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,7 +10,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        ?></cite>
</span><span class="cx" style="display: block; padding: 0 10px">                        <div class="single-post" id="post-<?php the_ID(); ?>"><?php the_excerpt(); ?></div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endwhile;  ?>
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px"> <?php else : ?>
</span><span class="cx" style="display: block; padding: 0 10px">                        <p><em><?php _e( 'Sorry, no posts matched your criteria.' ); ?></em></p>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgscreencss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/screen.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/screen.css  2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/screen.css    2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3,14 +3,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* Layout
</span><span class="cx" style="display: block; padding: 0 10px"> --------------------------------------------------------------------*/
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-body.home-page.home #main {
-  margin-top: 120px;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> #subnav {
</span><span class="cx" style="display: block; padding: 0 10px">   background: transparent;
</span><span class="cx" style="display: block; padding: 0 10px">   border-bottom: none;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-  margin-top: 135px;
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px"> #footer {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,7 +120,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">   float: left;
</span><span class="cx" style="display: block; padding: 0 10px">   width: 50%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.footer-meta-wrap .footer-meta h3.title {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.footer-meta-wrap .footer-meta h2.title {
</ins><span class="cx" style="display: block; padding: 0 10px">   font-size: 16px;
</span><span class="cx" style="display: block; padding: 0 10px">   font-weight: 400;
</span><span class="cx" style="display: block; padding: 0 10px">   color: #999;
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgsidebarphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/sidebar.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/sidebar.php 2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/sidebar.php   2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,7 +18,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        $children = wp_list_pages('title_li=&echo=0&child_of=' . $post->post_parent );
</span><span class="cx" style="display: block; padding: 0 10px">                        $rel = '<ul>' . $children . '</ul>';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        echo '<div class="related-content-widget widget listified"><h3 class="widgettitle">Similar</h3>' . $rel . '</div>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Similar</h2>' . $rel . '</div>';
</ins><span class="cx" style="display: block; padding: 0 10px">                         $show_related = false;
</span><span class="cx" style="display: block; padding: 0 10px">                        */
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -26,7 +26,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $children = wp_list_pages('title_li=&echo=0&child_of=' . $post->ID);
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( $children ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                $rel = '<ul>' . $children . '</ul>';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                echo '<div class="related-content-widget widget listified"><h3 class="widgettitle">Subpages</h3>' . $rel . '</div>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Subpages</h2>' . $rel . '</div>';
</ins><span class="cx" style="display: block; padding: 0 10px">                                 $show_related = false;
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                } ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -43,7 +43,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                                                $rel .= '<li><a href="' . get_permalink($related->ID) . '" title="' . $title . '">' . $title . '</a></li>';
</span><span class="cx" style="display: block; padding: 0 10px">                                        }
</span><span class="cx" style="display: block; padding: 0 10px">                                        $rel = '<ul>' . $rel . '</ul>';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                                        echo '<div class="related-content-widget widget listified"><h3 class="widgettitle">Related</h3>' . $rel . '</div>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                                 echo '<div class="related-content-widget widget listified"><h2 class="widgettitle">Related</h2>' . $rel . '</div>';
</ins><span class="cx" style="display: block; padding: 0 10px">                                 }
</span><span class="cx" style="display: block; padding: 0 10px">                        }
</span><span class="cx" style="display: block; padding: 0 10px">                ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -77,7 +77,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( !empty( $codex_contributors ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        echo '<div class="section-contributors widget">';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        echo '<h3 class="widgettitle">Top Authors</h3>';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 echo '<h2 class="widgettitle">Top Authors</h2>';
</ins><span class="cx" style="display: block; padding: 0 10px">                         $codex_contributors = array_slice( $codex_contributors, 0, 5, true );
</span><span class="cx" style="display: block; padding: 0 10px">                        foreach( (array)$codex_contributors as $contributor_id => $count ) {
</span><span class="cx" style="display: block; padding: 0 10px">                                $userdata = get_userdata( $contributor_id );
</span></span></pre></div>
<a id="sitestrunkbuddypressorgpublic_htmlwpcontentthemescodexbuddypressorgstylecss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/style.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/style.css   2024-12-16 20:01:59 UTC (rev 14285)
+++ sites/trunk/buddypress.org/public_html/wp-content/themes/codex-buddypress-org/style.css     2024-12-16 20:04:18 UTC (rev 14286)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1,10 +1,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Theme Name: BuddyPress.org Codex 2013
- * Theme URL: https://codex.buddypress.org
- * Description: A WordPress theme for BuddyPress.org codex
- * Author: John James Jacoby
- * Author URI: http://jaco.by
- * Version: 2.1
- * Template: bb-base
- * Tags: buddypress, gray, 508, compliance, fixed width, widgets, gallery
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * Theme Name:  BuddyPress.org Codex 2013
+ * Theme URL:   https://codex.buddypress.org
+ * Description: A WordPress theme for the BuddyPress.org codex
+ * Author:      John James Jacoby
+ * Author URI:  https://buddypress.org
+ * Version:     2.1
+ * Template:    bb-base
+ * Tags:        buddypress
</ins><span class="cx" style="display: block; padding: 0 10px">  */
</span></span></pre>
</div>
</div>

</body>
</html>