<!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>[1675] sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer: developer.wordpress.org: Add support for a blog.</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 { 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/1675">1675</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/1675","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>coffee2code</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-06-18 20:42:09 +0000 (Thu, 18 Jun 2015)</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'>developer.wordpress.org: Add support for a blog.
* Add post-specific template.
* Add nav menu to house 'Blog' link.
* Enable general, non-"User Contributed Notes" commenting.
* Handle post comments distinctly from User Contributed Notes.
* Comment styling and display scripting.
Fixes <a href="http://meta.trac.wordpress.org/ticket/872">#872</a>.
Props atimmer.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperarchivephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercommentsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfunctionsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperheaderphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinctemplatetagsphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsusernotesjs">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/user-notes.js</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperscssmainscss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglephp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php</a></li>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperstylesheetsmaincss">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentpostphp">sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-post.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperarchivephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/archive.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,7 +22,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php /* Start the Loop */ ?>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php while ( have_posts() ) : the_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">- <?php get_template_part( 'content', ( is_parsed_post_type() ? 'reference-archive' : '' ) ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php get_template_part( 'content', ( is_parsed_post_type() ? 'reference-archive' : get_post_type() ) ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endwhile; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/comments.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,7 +39,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * define wporg_developer_comment() and that will be used instead.
</span><span class="cx" style="display: block; padding: 0 10px"> * See wporg_developer_comment() in inc/template-tags.php for more.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- wp_list_comments( array( 'callback' => 'wporg_developer_user_note' ) );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_singular( 'post' ) ) {
+ wp_list_comments();
+ } else {
+ wp_list_comments( array( 'callback' => 'wporg_developer_user_note' ) );
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </ol><!-- .comment-list -->
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -53,26 +57,32 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; // have_comments() ?>
</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 ( DevHub\can_user_post_note( false, get_the_ID() ) ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( \DevHub\is_parsed_post_type() && DevHub\can_user_post_note( false, get_the_ID() ) ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Have a note to contribute?', 'wporg' ); ?></a></p>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Have a note to contribute?', 'wporg' ); ?></a></p>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- <?php comment_form( array(
- 'comment_field' => DevHub_User_Submitted_Content::wp_editor_comments(),
- 'comment_notes_after' => '<p>' .
- __( 'Notes should supplement code reference entries, for example examples, tips, explanations, use-cases, and best practices.', 'wporg' ) .
- '</p><p>' .
- __( 'Do not use this form for support requests, discussions, spam, bug reports, complaints, or self-promotion. Entries of this nature will be deleted.', 'wporg' ) .
- '</p><p>' .
- __( 'You can enter text and code. Use the php, js, or inline code buttons to wrap code snippets.', 'wporg' ) .
- '</p><p class="user-notes-are-gpl">' .
- sprintf( __( '<strong>NOTE:</strong> All contributions are licensed under <a href="%s">GFDL</a> and are moderated before appearing on the site.', 'wporg' ), 'https://gnu.org/licenses/fdl.html' ) .
- '</p>',
- 'label_submit' => __( 'Add Note', 'wporg' ),
- 'must_log_in' => '<p>' . sprintf( __( 'You must <a href="%s">log in</a> before being able to contribute a note.', 'wporg' ), 'https://wordpress.org/support/bb-login.php' ) . '</p>',
- 'title_reply' => '', //'Add Example'
- ) ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php comment_form( array(
+ 'comment_field' => DevHub_User_Submitted_Content::wp_editor_comments(),
+ 'comment_notes_after' => '<p>' .
+ __( 'Notes should supplement code reference entries, for example examples, tips, explanations, use-cases, and best practices.', 'wporg' ) .
+ '</p><p>' .
+ __( 'Do not use this form for support requests, discussions, spam, bug reports, complaints, or self-promotion. Entries of this nature will be deleted.', 'wporg' ) .
+ '</p><p>' .
+ __( 'You can enter text and code. Use the php, js, or inline code buttons to wrap code snippets.', 'wporg' ) .
+ '</p><p class="user-notes-are-gpl">' .
+ sprintf( __( '<strong>NOTE:</strong> All contributions are licensed under <a href="%s">GFDL</a> and are moderated before appearing on the site.', 'wporg' ), 'https://gnu.org/licenses/fdl.html' ) .
+ '</p>',
+ 'label_submit' => __( 'Add Note', 'wporg' ),
+ 'must_log_in' => '<p>' . sprintf( __( 'You must <a href="%s">log in</a> before being able to contribute a note.', 'wporg' ), 'https://wordpress.org/support/bb-login.php' ) . '</p>',
+ 'title_reply' => '', //'Add Example'
+ ) ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php endif; ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php if ( ! \DevHub\is_parsed_post_type() && comments_open() ) : ?>
+ <p id="add-user-note" style="display:none;"><a href=""><?php _e( 'Leave a reply', 'wporg' ); ?></a></p>
+
+ <?php comment_form(); ?>
+ <?php endif; ?>
+
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- #comments -->
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopercontentpostphp"></a>
<div class="addfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Added: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-post.php (rev 0)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-post.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -0,0 +1,66 @@
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php namespace DevHub;
+/**
+ * @package wporg-developer
+ */
+?>
+<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <header class="entry-header">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
+
+ <?php if ( 'post' == get_post_type() ) : ?>
+ <div class="entry-meta">
+ <?php wporg_developer_posted_on(); ?>
+ </div><!-- .entry-meta -->
+ <?php endif; ?>
+ </header><!-- .entry-header -->
+
+ <?php if ( is_search() ) : // Only display Excerpts for Search ?>
+ <div class="entry-summary">
+ <?php the_excerpt(); ?>
+ </div><!-- .entry-summary -->
+ <?php else : ?>
+ <div class="entry-content">
+ <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'wporg' ) ); ?>
+ <?php
+ wp_link_pages( array(
+ 'before' => '<div class="page-links">' . __( 'Pages:', 'wporg' ),
+ 'after' => '</div>',
+ ) );
+ ?>
+ </div><!-- .entry-content -->
+ <?php endif; ?>
+
+ <footer class="entry-meta">
+ <?php if ( 'post' == get_post_type() ) : // Hide category and tag text for pages on Search ?>
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $categories_list = get_the_category_list( __( ', ', 'wporg' ) );
+ if ( $categories_list && wporg_developer_categorized_blog() ) :
+ ?>
+ <span class="cat-links">
+ <?php printf( __( 'Posted in %1$s', 'wporg' ), $categories_list ); ?>
+ </span>
+ <?php endif; // End if categories ?>
+
+ <?php
+ /* translators: used between list items, there is a space after the comma */
+ $tags_list = get_the_tag_list( '', __( ', ', 'wporg' ) );
+ if ( $tags_list ) :
+ ?>
+ <span class="tags-links">
+ <?php printf( __( 'Tagged %1$s', 'wporg' ), $tags_list ); ?>
+ </span>
+ <?php endif; // End if $tags_list ?>
+ <?php endif; // End if 'post' == get_post_type() ?>
+
+ <?php if ( ! post_password_required() && ( comments_open() || '0' != get_comments_number() ) ) : ?>
+
+ <?php if ( ! is_single() ) : ?>
+ <span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'wporg' ), __( '1 Comment', 'wporg' ), __( '% Comments', 'wporg' ) ); ?></span>
+ <?php endif; ?>
+ <?php comments_template(); ?>
+ <?php endif; ?>
+
+ <?php edit_post_link( __( 'Edit', 'wporg' ), '<span class="edit-link">', '</span>' ); ?>
+ </footer><!-- .entry-meta -->
+</article><!-- #post-## -->
</ins><span class="cx" style="display: block; padding: 0 10px">Property changes on: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-post.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="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/functions.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -83,6 +83,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> function init() {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ register_nav_menus();
+
</ins><span class="cx" style="display: block; padding: 0 10px"> add_action( 'after_switch_theme', __NAMESPACE__ . '\\add_roles' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'pre_get_posts', __NAMESPACE__ . '\\pre_get_posts' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\\theme_scripts_styles' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -221,6 +223,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $posts;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+function register_nav_menus() {
+
+ \register_nav_menus( array(
+ 'devhub-menu' => __( 'Developer Resources Menu', 'wporg' ),
+ ) );
+}
+
</ins><span class="cx" style="display: block; padding: 0 10px"> function method_permalink( $link, $post ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $post->post_type !== 'wp-parser-method' )
</span><span class="cx" style="display: block; padding: 0 10px"> return $link;
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/header.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,6 +22,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <a href="<?php echo esc_url( DevHub\get_site_section_url() ); ?>" rel="home"><?php echo DevHub\get_site_section_title(); ?></a>
</span><span class="cx" style="display: block; padding: 0 10px"> </<?php echo $tag; ?>>
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <div class="devhub-menu">
+ <?php wp_nav_menu( array(
+ 'theme_location' => 'devhub-menu',
+ 'container_class' => 'menu-container',
+ ) ); ?>
+ </div>
</ins><span class="cx" style="display: block; padding: 0 10px"> </div><!-- .inner-wrap -->
</span><span class="cx" style="display: block; padding: 0 10px"> </header><!-- #masthead -->
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperinctemplatetagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1127,9 +1127,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function can_user_post_note( $open, $post ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Only proceed if for a parsed post type.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_parsed_post_type( get_post_type( $post ) ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Temporarily disable commenting that isn't for a note since various
- // changes need to take place to enable regular commenting.
- return false; //$open;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ return $open;
</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"> // Permit default logic to be overridden via filter that returns value other than null.
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperjsusernotesjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/user-notes.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/user-notes.js 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/js/user-notes.js 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4,9 +4,8 @@
</span><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"> ( function( $ ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $( '#respond, #add-user-note' ).toggle();
- $( '#add-user-note' ).click( function( e ) {
- e.preventDefault();
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ function showCommentForm() {
</ins><span class="cx" style="display: block; padding: 0 10px"> $( '#respond, #add-user-note' ).toggle();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( pos = $( '#submit' ).position() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,8 +18,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $( 'html,body' ).animate( {scrollTop:pos.top - (window.innerHeight || document.documentElement.clientHeight) + $( '#submit' ).height() + 30}, 1000 );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
+
+ $( '#respond, #add-user-note' ).toggle();
+ $( '#add-user-note' ).click( function( e ) {
+ e.preventDefault();
+
+ showCommentForm();
</ins><span class="cx" style="display: block; padding: 0 10px"> } );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( '#respond' === document.location.hash ) {
+ showCommentForm();
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> // Add php and js buttons to QuickTags.
</span><span class="cx" style="display: block; padding: 0 10px"> QTags.addButton( 'php', 'php', '[php]', '[/php]' );
</span><span class="cx" style="display: block; padding: 0 10px"> QTags.addButton( 'js', 'js', '[js]', '[/js]' );
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperscssmainscss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/scss/main.scss 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -47,6 +47,25 @@
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .devhub-menu .menu {
+ list-style: none;
+ float: right;
+ font-size: 14px;
+ font-weight: bold;
+ padding-top: 22px;
+ margin-right: 15px;
+
+ li {
+ display: inline;
+ padding-left: 20px;
+ }
+
+ a {
+ color: #555;
+ font-weight: 400;
+ }
+ }
+
</ins><span class="cx" style="display: block; padding: 0 10px"> a {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #21759b;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -356,17 +375,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</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">- /* =Comments
- ----------------------------------------------- */
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-content a {
- word-wrap: break-word;
- }
- .bypostauthor {
- background: #eee;
- }
-
-
</del><span class="cx" style="display: block; padding: 0 10px"> /* =Widgets
</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">@@ -1102,114 +1111,167 @@
</span><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"> /* Comments */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-list,
- .comment-list ol {
- list-style: none;
- margin: 0 0 1.5em 0;
- padding: 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-content a {
+ word-wrap: break-word;
</ins><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">- .comment-list li {
- padding: 2rem 1.5rem 1rem;
- border: 0 solid #eee;
- border-bottom-width: 1px;
- background: #fff;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ // User contributed notes
+ &.single-wp-parser-function, &.single-wp-parser-method, &.single-wp-parser-hook {
+ .comment-list,
+ .comment-list ol {
+ list-style: none;
+ margin: 0 0 1.5em 0;
+ padding: 0;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- &:first-child {
- padding-top: 1rem;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-list li {
+ padding: 2rem 1.5rem 1rem;
+ border: 0 solid #eee;
+ border-bottom-width: 1px;
+ background: #fff;
+
+ &:first-child {
+ padding-top: 1rem;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- }
</del><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-list .avatar {
- float: left;
- width: 2.5em;
- height: 2.5em;
- margin: -0.5em 1em 0.5em 0;
- padding: 0.125em;
- border: 1px solid #eee;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-list .avatar {
+ float: left;
+ width: 2.5em;
+ height: 2.5em;
+ margin: -0.5em 1em 0.5em 0;
+ padding: 0.125em;
+ border: 1px solid #eee;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-author-attribution {
- font-weight: bold;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-author-attribution {
+ font-weight: bold;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-meta {
- margin: 0 0 1.5em 0;
- font-size: 0.75em;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-meta {
+ margin: 0 0 1.5em 0;
+ font-size: 0.75em;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-meta .comment-author cite,
- .comment-meta .comment-author cite a {
- }
- .comment-meta a {
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-meta .comment-author cite,
+ .comment-meta .comment-author cite a {
+ }
+ .comment-meta a {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-meta a:hover {
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-meta a:hover {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-content {
- margin-left: 60px;
- margin-left: 3.75rem;
- margin-left: 0;
- clear: both;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-content {
+ margin-left: 60px;
+ margin-left: 3.75rem;
+ margin-left: 0;
+ clear: both;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-content ol {
- list-style: decimal inside;
- margin: 0 0 1.5em 0;
- border-top: none;
- margin: 0 0 1.5em 1.5em;
- padding: 0;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-content ol {
+ list-style: decimal inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-content ul {
- list-style: square inside;
- margin: 0 0 1.5em 0;
- border-top: none;
- margin: 0 0 1.5em 1.5em;
- padding: 0;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-content ul {
+ list-style: square inside;
+ margin: 0 0 1.5em 0;
+ border-top: none;
+ margin: 0 0 1.5em 1.5em;
+ padding: 0;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-content li {
- border: none;
- padding: 0;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-content li {
+ border: none;
+ padding: 0;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-text {
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .comment-text {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond {
- overflow: hidden;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond {
+ overflow: hidden;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-list #respond {
- margin: 1.5em 0 0;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond .log-in-out {
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond .log-in-out {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</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">+ #respond .log-in-out a {
+ font-style: italic;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond .log-in-out a {
- font-style: italic;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #reply-title small a {
+ font-style: italic;
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #reply-title small a {
- font-style: italic;
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond label {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond label {
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond p.req label {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond p.req label {
- }
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond span.required {
+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- #respond span.required {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ #respond #submit {
+ float: left;
+ margin: 0 0 1.5em;
+ }
+
+ .comment-author {
+ float: left;
+ }
</ins><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">- #respond #submit {
- float: left;
- margin:0 0 1.5em;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ &.single-post {
+ .comment-list,
+ .comment-list ol {
+ list-style: none;
+ margin: 1.5em 0;
+ padding: 0;
+ }
+
+ .comment-list {
+ li {
+ margin: 1.5em 0;
+ padding: 1em 0 0 0;
+ border-top: 1px solid #ddd;
+ }
+
+ p {
+ margin: 0 0 0 42px;
+ }
+
+ .alt {
+ background: inherit;
+ }
+ }
+
+ .comment-meta {
+ font-size: 0.65em;
+ color: #888;
+ float: right;
+ margin-top: -15px;
+
+ a {
+ }
+ }
+
+ .comment-author {
+ img {
+ float: left;
+ margin: 0 10px 0 0;
+ }
+ }
+
+ .comments-area {
+ margin: 1.5em 0 0 0;
+ }
</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">@@ -1308,9 +1370,6 @@
</span><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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .comment-author {
- float: left;
- }
</del><span class="cx" style="display: block; padding: 0 10px"> .user-note-voting {
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> clear: left;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1342,6 +1401,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100% !important;
</span><span class="cx" style="display: block; padding: 0 10px"> width: inherit !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+ &.archive, &.blog {
+ .hentry {
+ padding: 0 0 1.5em 0;
+ border-bottom: 1px solid #ddd;
+ }
+ }
</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"> @media ( max-width: 59.999999em ) {
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdevelopersinglephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/single.php 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,7 +15,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php while ( have_posts() ) : the_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">- <?php get_template_part( 'content', ( is_parsed_post_type() ? 'reference' : '' ) ); ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ <?php get_template_part( 'content', ( is_parsed_post_type() ? 'reference' : get_post_type() ) ); ?>
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php //wporg_developer_post_nav(); ?>
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="sitestrunkwordpressorgpublic_htmlwpcontentthemespubwporgdeveloperstylesheetsmaincss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css 2015-06-18 18:59:30 UTC (rev 1674)
+++ sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/stylesheets/main.css 2015-06-18 20:42:09 UTC (rev 1675)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -282,8 +282,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* =Media
</span><span class="cx" style="display: block; padding: 0 10px"> ----------------------------------------------- */
</span><span class="cx" style="display: block; padding: 0 10px"> /* Make sure embeds and iframes fit their containers */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- /* =Comments
- ----------------------------------------------- */
</del><span class="cx" style="display: block; padding: 0 10px"> /* =Widgets
</span><span class="cx" style="display: block; padding: 0 10px"> ----------------------------------------------- */
</span><span class="cx" style="display: block; padding: 0 10px"> /* Make sure select elements fit in widgets */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -338,6 +336,22 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap .page-header {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap .devhub-menu .menu {
+ list-style: none;
+ float: right;
+ font-size: 14px;
+ font-weight: bold;
+ padding-top: 22px;
+ margin-right: 15px;
+}
+.devhub-wrap .devhub-menu .menu li {
+ display: inline;
+ padding-left: 20px;
+}
+.devhub-wrap .devhub-menu .menu a {
+ color: #555;
+ font-weight: 400;
+}
</ins><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap a {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #21759b;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -649,12 +663,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap object {
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-content a {
- word-wrap: break-word;
-}
-.devhub-wrap .bypostauthor {
- background: #eee;
-}
</del><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap .widget select {
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1275,22 +1283,27 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 18px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-bottom: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-list,
-.devhub-wrap .comment-list ol {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap .comment-content a {
+ word-wrap: break-word;
+}
+.devhub-wrap.single-wp-parser-function .comment-list,
+.devhub-wrap.single-wp-parser-function .comment-list ol, .devhub-wrap.single-wp-parser-method .comment-list,
+.devhub-wrap.single-wp-parser-method .comment-list ol, .devhub-wrap.single-wp-parser-hook .comment-list,
+.devhub-wrap.single-wp-parser-hook .comment-list ol {
</ins><span class="cx" style="display: block; padding: 0 10px"> list-style: none;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 0;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-list li {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-list li, .devhub-wrap.single-wp-parser-method .comment-list li, .devhub-wrap.single-wp-parser-hook .comment-list li {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding: 2rem 1.5rem 1rem;
</span><span class="cx" style="display: block; padding: 0 10px"> border: 0 solid #eee;
</span><span class="cx" style="display: block; padding: 0 10px"> border-bottom-width: 1px;
</span><span class="cx" style="display: block; padding: 0 10px"> background: #fff;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-list li:first-child {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-list li:first-child, .devhub-wrap.single-wp-parser-method .comment-list li:first-child, .devhub-wrap.single-wp-parser-hook .comment-list li:first-child {
</ins><span class="cx" style="display: block; padding: 0 10px"> padding-top: 1rem;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-list .avatar {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-list .avatar, .devhub-wrap.single-wp-parser-method .comment-list .avatar, .devhub-wrap.single-wp-parser-hook .comment-list .avatar {
</ins><span class="cx" style="display: block; padding: 0 10px"> float: left;
</span><span class="cx" style="display: block; padding: 0 10px"> width: 2.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> height: 2.5em;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1298,53 +1311,83 @@
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0.125em;
</span><span class="cx" style="display: block; padding: 0 10px"> border: 1px solid #eee;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-author-attribution {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-author-attribution, .devhub-wrap.single-wp-parser-method .comment-author-attribution, .devhub-wrap.single-wp-parser-hook .comment-author-attribution {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-weight: bold;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-meta {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-meta, .devhub-wrap.single-wp-parser-method .comment-meta, .devhub-wrap.single-wp-parser-hook .comment-meta {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 0;
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 0.75em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-content {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-content, .devhub-wrap.single-wp-parser-method .comment-content, .devhub-wrap.single-wp-parser-hook .comment-content {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-left: 60px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 3.75rem;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-left: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> clear: both;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-content ol {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-content ol, .devhub-wrap.single-wp-parser-method .comment-content ol, .devhub-wrap.single-wp-parser-hook .comment-content ol {
</ins><span class="cx" style="display: block; padding: 0 10px"> list-style: decimal inside;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 0;
</span><span class="cx" style="display: block; padding: 0 10px"> border-top: none;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-content ul {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-content ul, .devhub-wrap.single-wp-parser-method .comment-content ul, .devhub-wrap.single-wp-parser-hook .comment-content ul {
</ins><span class="cx" style="display: block; padding: 0 10px"> list-style: square inside;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 0;
</span><span class="cx" style="display: block; padding: 0 10px"> border-top: none;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-content li {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-content li, .devhub-wrap.single-wp-parser-method .comment-content li, .devhub-wrap.single-wp-parser-hook .comment-content li {
</ins><span class="cx" style="display: block; padding: 0 10px"> border: none;
</span><span class="cx" style="display: block; padding: 0 10px"> padding: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap #respond {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function #respond, .devhub-wrap.single-wp-parser-method #respond, .devhub-wrap.single-wp-parser-hook #respond {
</ins><span class="cx" style="display: block; padding: 0 10px"> overflow: 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">-.devhub-wrap .comment-list #respond {
- margin: 1.5em 0 0;
-}
-.devhub-wrap #respond .log-in-out a {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function #respond .log-in-out a, .devhub-wrap.single-wp-parser-method #respond .log-in-out a, .devhub-wrap.single-wp-parser-hook #respond .log-in-out a {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-style: italic;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap #reply-title small a {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function #reply-title small a, .devhub-wrap.single-wp-parser-method #reply-title small a, .devhub-wrap.single-wp-parser-hook #reply-title small a {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-style: italic;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap #respond #submit {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function #respond #submit, .devhub-wrap.single-wp-parser-method #respond #submit, .devhub-wrap.single-wp-parser-hook #respond #submit {
</ins><span class="cx" style="display: block; padding: 0 10px"> float: left;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 0 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.single-wp-parser-function .comment-author, .devhub-wrap.single-wp-parser-method .comment-author, .devhub-wrap.single-wp-parser-hook .comment-author {
+ float: left;
+}
+.devhub-wrap.single-post .comment-list,
+.devhub-wrap.single-post .comment-list ol {
+ list-style: none;
+ margin: 1.5em 0;
+ padding: 0;
+}
+.devhub-wrap.single-post .comment-list li {
+ margin: 1.5em 0;
+ padding: 1em 0 0 0;
+ border-top: 1px solid #ddd;
+}
+.devhub-wrap.single-post .comment-list p {
+ margin: 0 0 0 42px;
+}
+.devhub-wrap.single-post .comment-list .alt {
+ background: inherit;
+}
+.devhub-wrap.single-post .comment-meta {
+ font-size: 0.65em;
+ color: #888;
+ float: right;
+ margin-top: -15px;
+}
+.devhub-wrap.single-post .comment-author img {
+ float: left;
+ margin: 0 10px 0 0;
+}
+.devhub-wrap.single-post .comments-area {
+ margin: 1.5em 0 0 0;
+}
</ins><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap #content-area.has-sidebar {
</span><span class="cx" style="display: block; padding: 0 10px"> float: none;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0 auto;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1424,9 +1467,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap ul.items li a {
</span><span class="cx" style="display: block; padding: 0 10px"> color: #555 !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.devhub-wrap .comment-author {
- float: left;
-}
</del><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap .user-note-voting {
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 1.5em;
</span><span class="cx" style="display: block; padding: 0 10px"> clear: left;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1457,6 +1497,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 100% !important;
</span><span class="cx" style="display: block; padding: 0 10px"> width: inherit !important;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.devhub-wrap.archive .hentry, .devhub-wrap.blog .hentry {
+ padding: 0 0 1.5em 0;
+ border-bottom: 1px solid #ddd;
+}
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> @media (max-width: 60em) {
</span><span class="cx" style="display: block; padding: 0 10px"> .devhub-wrap {
</span></span></pre>
</div>
</div>
</body>
</html>