From 7f08c1e78ccb3b6cdc2865ec96f3274752e0d3a3 Mon Sep 17 00:00:00 2001 From: Michael Torbert Date: Tue, 6 Sep 2016 20:39:37 -0400 Subject: [PATCH] capitalize cat titles #320 --- aioseop_class.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aioseop_class.php b/aioseop_class.php index e74cee831..60771ef1a 100644 --- a/aioseop_class.php +++ b/aioseop_class.php @@ -2364,8 +2364,9 @@ function get_tax_name( $tax ) { $name = single_term_title( '', false ); } // Apparently we're already ucwordsing this elsewhere, and doing it a second time messes it up... why aren't we just doing this at the end? - // if ( ( $tax == 'category' ) && ( !empty( $aioseop_options['aiosp_cap_cats'] ) ) ) - // $name = $this->ucwords( $name ); + if ( ( $tax == 'category' ) && ( !empty( $aioseop_options['aiosp_cap_cats'] ) ) ){ + $name = $this->ucwords( $name ); + } return $this->internationalize( $name ); }