]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentythirteen/inc/custom-header.php
Wordpress 3.7
[autoinstalls/wordpress.git] / wp-content / themes / twentythirteen / inc / custom-header.php
index a835061f79a18281433c0ad315365e93add59b5f..3214f630038fe943838a4b3371b55821b60892ae 100644 (file)
@@ -1,7 +1,8 @@
 <?php
 /**
- * Implements a custom header for Twenty Thirteen.
- * See http://codex.wordpress.org/Custom_Headers
+ * Implement a custom header for Twenty Thirteen
+ *
+ * @link http://codex.wordpress.org/Custom_Headers
  *
  * @package WordPress
  * @subpackage Twenty_Thirteen
@@ -9,7 +10,7 @@
  */
 
 /**
- * Sets up the WordPress core custom header arguments and settings.
+ * Set up the WordPress core custom header arguments and settings.
  *
  * @uses add_theme_support() to register support for 3.4 and up.
  * @uses twentythirteen_header_style() to style front-end.
@@ -18,6 +19,8 @@
  * @uses register_default_headers() to set up the bundled header images.
  *
  * @since Twenty Thirteen 1.0
+ *
+ * @return void
  */
 function twentythirteen_custom_header_setup() {
        $args = array(
@@ -59,15 +62,17 @@ function twentythirteen_custom_header_setup() {
                ),
        ) );
 }
-add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup' );
+add_action( 'after_setup_theme', 'twentythirteen_custom_header_setup', 11 );
 
 /**
- * Loads our special font CSS files.
+ * Load our special font CSS files.
  *
  * @since Twenty Thirteen 1.0
+ *
+ * @return void
  */
 function twentythirteen_custom_header_fonts() {
-       // Add Open Sans and Bitter fonts.
+       // Add Source Sans Pro and Bitter fonts.
        wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), null );
 
        // Add Genericons font.
@@ -76,11 +81,13 @@ function twentythirteen_custom_header_fonts() {
 add_action( 'admin_print_styles-appearance_page_custom-header', 'twentythirteen_custom_header_fonts' );
 
 /**
- * Styles the header text displayed on the blog.
+ * Style the header text displayed on the blog.
  *
  * get_header_textcolor() options: Hide text (returns 'blank'), or any hex value.
  *
  * @since Twenty Thirteen 1.0
+ *
+ * @return void
  */
 function twentythirteen_header_style() {
        $header_image = get_header_image();
@@ -134,9 +141,11 @@ function twentythirteen_header_style() {
 }
 
 /**
- * Styles the header image displayed on the Appearance > Header admin panel.
+ * Style the header image displayed on the Appearance > Header admin panel.
  *
  * @since Twenty Thirteen 1.0
+ *
+ * @return void
  */
 function twentythirteen_admin_header_style() {
        $header_image = get_header_image();
@@ -198,10 +207,13 @@ function twentythirteen_admin_header_style() {
 }
 
 /**
- * Outputs markup to be displayed on the Appearance > Header admin panel.
+ * Output markup to be displayed on the Appearance > Header admin panel.
+ *
  * This callback overrides the default markup displayed there.
  *
  * @since Twenty Thirteen 1.0
+ *
+ * @return void
  */
 function twentythirteen_admin_header_image() {
        ?>