Permalink
Browse files

No need to check if the shortcodes are supported within the shortcode…

… setup function since the file is only loaded if they're supported.

git-svn-id: http://svn.locallylost.com/themes/hybrid-core/trunk@378 dba0f204-706d-4bc1-bc29-8b92e0485636
  • Loading branch information...
1 parent a37ce62 commit 1bf477405c3038e99f083062b310e2f78e91d459 greenshady committed Oct 14, 2010
Showing with 0 additions and 4 deletions.
  1. +0 −4 functions/shortcodes.php
View
@@ -22,10 +22,6 @@
*/
function hybrid_add_shortcodes() {
- /* If the current theme doesn't support core shortcodes, return. */
- if ( !current_theme_supports( 'hybrid-core-shortcodes' ) )
- return;
-
/* Add theme-specific shortcodes. */
add_shortcode( 'the-year', 'hybrid_the_year_shortcode' );
add_shortcode( 'site-link', 'hybrid_site_link_shortcode' );

0 comments on commit 1bf4774

Please sign in to comment.