Permalink
Browse files

Remove some unused functionality.

git-svn-id: http://svn.locallylost.com/themes/retro-fitted/trunk@578 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent 476163a commit 3a92075ae02df9cb398b9e8bc2be10ada3e37a60 greenshady committed Jan 16, 2011
Showing with 0 additions and 24 deletions.
  1. +0 −24 functions.php
View
@@ -80,9 +80,6 @@ function retro_fitted_theme_setup() {
add_filter( 'sidebars_widgets', 'retro_fitted_disable_sidebars' );
add_action( 'template_redirect', 'retro_fitted_one_column' );
- /* Filter the comment form defaults. */
- add_filter( 'comment_form_defaults', 'retro_fitted_comment_form_args', 11 );
-
/* Add classes to the comments pagination. */
add_filter( 'previous_comments_link_attributes', 'retro_fitted_previous_comments_link_attributes' );
add_filter( 'next_comments_link_attributes', 'retro_fitted_next_comments_link_attributes' );
@@ -102,17 +99,6 @@ function retro_fitted_breadcrumb_trail_args( $args ) {
return $args;
}
-/**
- * Returns the current comments page.
- *
- * @since 0.1.0
- */
-function retro_fitted_get_current_comments_page() {
- $cpage = get_query_var( 'cpage' );
-
- return ( ( empty( $cpage ) ) ? 1 : absint( $cpage ) );
-}
-
/**
* Adds 'class="prev" to the previous comments link.
*
@@ -173,16 +159,6 @@ function retro_fitted_disable_sidebars( $sidebars_widgets ) {
return $sidebars_widgets;
}
-/**
- * Creates custom settings for the WordPress comment form.
- *
- * @since 0.1.0
- */
-function retro_fitted_comment_form_args( $args ) {
- $args['label_submit'] = __( 'Post Comment' ); // Use the default WP translation.
- return $args;
-}
-
/**
* Overwrites the default widths for embeds. This is especially useful for making sure videos properly
* expand the full width on video pages. This function overwrites what the $content_width variable handles

0 comments on commit 3a92075

Please sign in to comment.