Skip to content
This repository has been archived by the owner on Oct 4, 2017. It is now read-only.

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
benbalter committed Feb 20, 2012
1 parent d987b99 commit 22e0cd1
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions wp-resume.php
Expand Up @@ -227,16 +227,6 @@ function register_cpt_and_t() {

}


/**
* Depricated for consistency
*/
function format_date( $ID ) {
_deprecated_function( __FUNCTION__, '2.0.4 of WP Resume', 'get_date' );
return $this->templating->get_date( $ID );
}


/**
* Takes the section term taxonomy and re-keys it to the user specified order
* @returns array of term objects in user-specified order
Expand Down Expand Up @@ -271,8 +261,12 @@ function get_sections( $hide_empty = true, $author = '' ) {


/**
* Reorders talls to get_terms for the section taxonomy by the user's custom order
* Reorders calls to get_terms for the section taxonomy by the user's custom order
* note: because we can't pass an extra arg to this filter, we store it as $this->author
* @param array $terms the terms
* @param array $taxonomies the section taxonomy
* @param array $args user arguments
* @returns array the sections properly keyed
*/
function section_order_filter( $terms, $taxonomies, $args ) {

Expand Down

0 comments on commit 22e0cd1

Please sign in to comment.