if ( ! empty( $category_description ) )
echo '
* tag of your theme, or you will break many plugins, which
* generally use this hook to reference JavaScript files.
diff --git a/src/wp-content/themes/twentyten/functions.php b/src/wp-content/themes/twentyten/functions.php
index df4e84d995..341f57b894 100644
--- a/src/wp-content/themes/twentyten/functions.php
+++ b/src/wp-content/themes/twentyten/functions.php
@@ -38,7 +38,7 @@
* @since Twenty Ten 1.0
*/
-/**
+/*
* Set the content width based on the theme's design and stylesheet.
*
* Used to set the width of images and content. Should be equal to the width the theme
@@ -47,7 +47,7 @@
if ( ! isset( $content_width ) )
$content_width = 640;
-/** Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */
+/* Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */
add_action( 'after_setup_theme', 'twentyten_setup' );
if ( ! function_exists( 'twentyten_setup' ) ):
@@ -84,7 +84,7 @@ function twentyten_setup() {
// Add default posts and comments RSS feed links to head
add_theme_support( 'automatic-feed-links' );
- /**
+ /*
* Make theme available for translation.
* Translations can be filed in the /languages/ directory
*/
@@ -104,7 +104,7 @@ function twentyten_setup() {
// The custom header business starts here.
$custom_header_support = array(
- /**
+ /*
* The default image to use.
* The %s is a placeholder for the theme template directory URI.
*/
@@ -147,7 +147,7 @@ function twentyten_setup() {
add_custom_background();
}
- /**
+ /*
* We'll be using post thumbnails for custom header images on posts and pages.
* We want them to be 940 pixels wide by 198 pixels tall.
* Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php.
diff --git a/src/wp-content/themes/twentyten/header.php b/src/wp-content/themes/twentyten/header.php
index 56035b5ba2..9f8aacc1ac 100644
--- a/src/wp-content/themes/twentyten/header.php
+++ b/src/wp-content/themes/twentyten/header.php
@@ -37,14 +37,14 @@
* tag of your theme, or you will break many plugins, which
* generally use this hook to add elements to such
@@ -70,7 +70,7 @@
';
- /**
+ /*
* Run the loop for the category page to output the posts.
* If you want to overload this in a child theme then include a file
* called loop-category.php and that will be used instead.
diff --git a/src/wp-content/themes/twentyten/comments.php b/src/wp-content/themes/twentyten/comments.php
index 7d36005eaa..6825a510ba 100644
--- a/src/wp-content/themes/twentyten/comments.php
+++ b/src/wp-content/themes/twentyten/comments.php
@@ -18,7 +18,7 @@
' . get_search_query() . '' ); ?>
?>
for posts and comments.
add_theme_support( 'automatic-feed-links' );
- /**
+ /*
* Switches default core markup for search form, comment form,
* and comments to output valid HTML5.
*/
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list' ) );
- /**
+ /*
* This theme supports all available post formats by default.
* See http://codex.wordpress.org/Post_Formats
*/
@@ -96,7 +96,7 @@ function twentythirteen_setup() {
// This theme uses wp_nav_menu() in one location.
register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );
- /**
+ /*
* This theme uses a custom image size for featured images, displayed on
* "standard" posts and pages.
*/
@@ -121,14 +121,14 @@ add_action( 'after_setup_theme', 'twentythirteen_setup' );
function twentythirteen_fonts_url() {
$fonts_url = '';
- /**
+ /*
* Translators: If there are characters in your language that are not
* supported by Source Sans Pro, translate this to 'off'. Do not translate
* into your own language.
*/
$source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' );
- /**
+ /*
* Translators: If there are characters in your language that are not
* supported by Bitter, translate this to 'off'. Do not translate into your
* own language.
@@ -162,7 +162,7 @@ function twentythirteen_fonts_url() {
* @return void
*/
function twentythirteen_scripts_styles() {
- /**
+ /*
* Adds JavaScript to pages with the comment form to support
* sites with threaded comments (when in use).
*/
@@ -413,7 +413,7 @@ function twentythirteen_the_attached_image() {
$next_attachment_url = wp_get_attachment_url();
$post = get_post();
- /**
+ /*
* Grab the IDs of all the image attachments in a gallery so we can get the URL
* of the next adjacent image in a gallery, or the first image (if we're
* looking at the last image in a gallery), or, in a gallery of one, just the
diff --git a/src/wp-content/themes/twentythirteen/inc/custom-header.php b/src/wp-content/themes/twentythirteen/inc/custom-header.php
index 5198488c00..98b4291118 100644
--- a/src/wp-content/themes/twentythirteen/inc/custom-header.php
+++ b/src/wp-content/themes/twentythirteen/inc/custom-header.php
@@ -40,7 +40,7 @@ function twentythirteen_custom_header_setup() {
add_theme_support( 'custom-header', $args );
- /**
+ /*
* Default custom headers packaged with the theme.
* %s is a placeholder for the theme template directory URI.
*/
diff --git a/src/wp-content/themes/twentytwelve/comments.php b/src/wp-content/themes/twentytwelve/comments.php
index 0fb312f36c..d6a733efe4 100644
--- a/src/wp-content/themes/twentytwelve/comments.php
+++ b/src/wp-content/themes/twentytwelve/comments.php
@@ -12,7 +12,7 @@
* @since Twenty Twelve 1.0
*/
-/**
+/*
* If the current post is protected by a password and
* the visitor has not yet entered the password we will
* return early without loading the comments.
diff --git a/src/wp-content/themes/twentytwelve/functions.php b/src/wp-content/themes/twentytwelve/functions.php
index 1001b1926f..aef6414fe7 100644
--- a/src/wp-content/themes/twentytwelve/functions.php
+++ b/src/wp-content/themes/twentytwelve/functions.php
@@ -22,9 +22,7 @@
* @since Twenty Twelve 1.0
*/
-/**
- * Set up the content width value based on the theme's design and stylesheet.
- */
+// Set up the content width value based on the theme's design and stylesheet.
if ( ! isset( $content_width ) )
$content_width = 625;
@@ -44,7 +42,7 @@ if ( ! isset( $content_width ) )
* @since Twenty Twelve 1.0
*/
function twentytwelve_setup() {
- /**
+ /*
* Makes Twenty Twelve available for translation.
*
* Translations can be added to the /languages/ directory.
@@ -65,7 +63,7 @@ function twentytwelve_setup() {
// This theme uses wp_nav_menu() in one location.
register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );
- /**
+ /*
* This theme supports custom background color and image,
* and here we also set up the default background color.
*/
@@ -97,14 +95,14 @@ require( get_template_directory() . '/inc/custom-header.php' );
function twentytwelve_get_font_url() {
$font_url = '';
- /**
+ /*
* translators: If there are characters in your language that are not supported
* by Open Sans, translate this to 'off'. Do not translate into your own language.
*/
if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) {
$subsets = 'latin,latin-ext';
- /**
+ /*
* translators: To add an additional Open Sans character subset specific to your language,
* translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language.
*/
@@ -138,30 +136,24 @@ function twentytwelve_get_font_url() {
function twentytwelve_scripts_styles() {
global $wp_styles;
- /**
+ /*
* Adds JavaScript to pages with the comment form to support
* sites with threaded comments (when in use).
*/
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
wp_enqueue_script( 'comment-reply' );
- /**
- * Adds JavaScript for handling the navigation menu hide-and-show behavior.
- */
+ // Adds JavaScript for handling the navigation menu hide-and-show behavior.
wp_enqueue_script( 'twentytwelve-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '1.0', true );
$font_url = twentytwelve_get_font_url();
if ( ! empty( $font_url ) )
wp_enqueue_style( 'twentytwelve-fonts', esc_url_raw( $font_url ), array(), null );
- /**
- * Loads our main stylesheet.
- */
+ // Loads our main stylesheet.
wp_enqueue_style( 'twentytwelve-style', get_stylesheet_uri() );
- /**
- * Loads the Internet Explorer specific stylesheet.
- */
+ // Loads the Internet Explorer specific stylesheet.
wp_enqueue_style( 'twentytwelve-ie', get_template_directory_uri() . '/css/ie.css', array( 'twentytwelve-style' ), '20121010' );
$wp_styles->add_data( 'twentytwelve-ie', 'conditional', 'lt IE 9' );
}
diff --git a/src/wp-content/themes/twentytwelve/image.php b/src/wp-content/themes/twentytwelve/image.php
index 44e2f8c031..285e453c71 100644
--- a/src/wp-content/themes/twentytwelve/image.php
+++ b/src/wp-content/themes/twentytwelve/image.php
@@ -48,7 +48,7 @@ get_header(); ?>