Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* Minor clean-up of old properties
* Code reformatted to better meet the WordPress Coding Standards
* Clean-up `readme.txt` file
* Updated Copyright Years
  • Loading branch information
Cais committed Apr 13, 2014
1 parent 0c9fffe commit e4434b9
Show file tree
Hide file tree
Showing 27 changed files with 194 additions and 139 deletions.
207 changes: 150 additions & 57 deletions .idea/workspace.xml

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions 404.php
@@ -1,7 +1,6 @@
<?php
/**
* 404 Template
*
* Displays if/when 404 page is required to be displayed
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.1
* @date December 3, 2012
Expand Down
3 changes: 1 addition & 2 deletions archive.php
@@ -1,7 +1,6 @@
<?php
/**
* Archive Template
*
* Displays category, tag, and date posts
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.0
* @date December 11, 2012
Expand Down
3 changes: 1 addition & 2 deletions author.php
@@ -1,7 +1,6 @@
<?php
/**
* Author Template
*
* Displays author specific posts
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.0
* @date December 11, 2012
Expand Down
5 changes: 4 additions & 1 deletion changelog.txt
@@ -1,13 +1,16 @@
=== Desk Mess Mirrored ===
Changelog: April 13, 2014

== Version 2.2.4-alpha ==
== Version 2.2.4 ==
= Code =
= CSS =
* Added better list element styles
* Minor clean-up of old properties

= Miscellaneous =
* Code reformatted to better meet the WordPress Coding Standards
* Clean-up `readme.txt` file
* Updated Copyright Years

/** ------------------------------------------------------------------------- */
== Version 2.2.3 ==
Expand Down
5 changes: 2 additions & 3 deletions comments.php
@@ -1,7 +1,6 @@
<?php
/**
* Comments Template
*
* Displays list of comments
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @internal called `comment_form()`
*
Expand Down Expand Up @@ -88,7 +87,7 @@ function dmm_add_comment_classes( $classes ) {
$c_email = get_comment_author_email();
$c_url = get_comment_author_url();
if ( ! empty( $c_email ) && ! empty( $c_url ) ) {
$microid = 'microid-mailto+http:sha1:' . sha1( sha1( 'mailto:' . $c_email ) . sha1( $c_url ) );
$microid = 'microid-mailto+http:sha1:' . sha1( sha1( 'mailto:' . $c_email ) . sha1( $c_url ) );
$classes[] = $microid;
}

Expand Down
7 changes: 3 additions & 4 deletions desk-mess-mirrored-aside.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored Aside loop
*
* Displays the aside loop content.
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.2
* @date February 24, 2013
Expand Down Expand Up @@ -71,8 +70,8 @@
<?php
wp_link_pages(
array(
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
)
);
Expand Down
7 changes: 3 additions & 4 deletions desk-mess-mirrored-link.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored Link loop
*
* Displays the post-format => link loop content.
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*/
?>

Expand Down Expand Up @@ -75,8 +74,8 @@
<?php
wp_link_pages(
array(
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
)
);
Expand Down
7 changes: 3 additions & 4 deletions desk-mess-mirrored-quote.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored Quote loop
*
* Displays the post-format => quote loop content.
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.2
* @date February 24, 2013
Expand Down Expand Up @@ -68,8 +67,8 @@
<?php
wp_link_pages(
array(
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
)
);
Expand Down
7 changes: 3 additions & 4 deletions desk-mess-mirrored-status.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored Status loop
*
* Displays the post-format => status loop content.
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.2
* @date February 24, 2013
Expand Down Expand Up @@ -79,8 +78,8 @@
<?php
wp_link_pages(
array(
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
)
);
Expand Down
11 changes: 6 additions & 5 deletions desk-mess-mirrored.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored loops
*
* Displays the default loop content.
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @uses get_template_part( 'desk-mess-mirrored', get_post_format() )
*
Expand Down Expand Up @@ -87,9 +86,11 @@
if ( is_home() || is_front_page() || is_single() || is_page() || ( is_author() && ( $count == 1 ) ) ) {
the_content( __( 'Read more... ', 'desk-mess-mirrored' ) ); ?>
<div class="clear"><!-- For inserted media at the end of the post --></div>
<?php wp_link_pages( array( 'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
<?php wp_link_pages(
array(
'before' => '<p id="wp-link-pages"><strong>' . __( 'Pages:', 'desk-mess-mirrored' ) . '</strong> ',
'after' => '</p>',
'next_or_number' => 'number'
)
);
} else {
Expand Down
3 changes: 1 addition & 2 deletions dmm-navigation.php
@@ -1,7 +1,6 @@
<?php
/**
* DMM Navigation
*
* Generic navigation for common use in list style templates
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @uses get_template_part( 'dmm-navigation' )
* @internal used in 404, index, archive, and author
Expand Down
6 changes: 1 addition & 5 deletions editor-style.css
Expand Up @@ -10,7 +10,7 @@ Editor-Style CSS for ...
*/

/**
* Copyright 2009-2012 Edward Caissie (email : edward.caissie@gmail.com)
* Copyright 2009-2014 Edward Caissie (email : edward.caissie@gmail.com)
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2, as published by the
Expand Down Expand Up @@ -353,8 +353,6 @@ pre {
font-size: 14px;
text-align: left;
overflow: auto;

overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
Expand Down Expand Up @@ -426,8 +424,6 @@ code {
font-size: 14px;
text-align: left;
overflow: auto;

overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
2 changes: 1 addition & 1 deletion footer.php
Expand Up @@ -10,7 +10,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* Last revised December 6, 2011
* @version 2.0
Expand Down
3 changes: 1 addition & 2 deletions functions.php
@@ -1,7 +1,6 @@
<?php
/**
* Functions
*
* The secret sauce and other funky flavors
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.1
* @date December 3, 2012
Expand Down
4 changes: 1 addition & 3 deletions header.php
@@ -1,7 +1,6 @@
<?php
/**
* Header
*
* The document type, etc.; as well as the top graphics and top navigation menu
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.0.3
* @date June 1, 2012
Expand All @@ -23,7 +22,6 @@
* Cleaned up 'head' section
*/
?>

<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
Expand Down
7 changes: 3 additions & 4 deletions index.php
@@ -1,7 +1,6 @@
<?php
/**
* Desk Mess Mirrored
*
* Theme Description: Marble desktop covered with a mix of old and new items,
* such as some vintage papers, a stainless steel pen, and, a hot cup of coffee!
* Now with more documentation and post-format support for the following types:
Expand All @@ -15,11 +14,11 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @internal REQUIRES WordPress version 3.4
* @internal Tested up to WordPress version 3.5.1
* @internal Tested up to WordPress version 3.9
*
* @version 2.2.1
* @version 2.2.4
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 2, as published by the
Expand Down
3 changes: 1 addition & 2 deletions page.php
@@ -1,7 +1,6 @@
<?php
/**
* Page Template
*
* Displays posts that are designated as "Pages"
*
* @package Desk_Mess_Mirrored
Expand All @@ -12,7 +11,7 @@
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2013, Edward Caissie
* @copyright Copyright (c) 2009-2014, Edward Caissie
*
* @version 2.0
* @date December 11, 2012
Expand Down

0 comments on commit e4434b9

Please sign in to comment.