Make WordPress Core


Ignore:
Timestamp:
09/25/2013 05:03:34 PM (13 years ago)
Author:
lancewillett
Message:

Twenty Ten: update code comments to reflect WP inline docs standards. Props DrewAPicture, closes #25256.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/header.php

    r23778 r25627  
    11<?php
    22/**
    3  * The Header for our theme.
     3 * Header template for our theme
    44 *
    5  * Displays all of the <head> section and everything up till <div id="main">
     5 * Displays all of the <head> section and everything up till <div id="main">.
    66 *
    77 * @package WordPress
     
    3838<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    3939<?php
    40         /* We add some JavaScript to pages with the comment form
     40        /**
     41         * We add some JavaScript to pages with the comment form
    4142         * to support sites with threaded comments (when in use).
    4243         */
     
    4445                wp_enqueue_script( 'comment-reply' );
    4546
    46         /* Always have wp_head() just before the closing </head>
     47        /**
     48         * Always have wp_head() just before the closing </head>
    4749         * tag of your theme, or you will break many plugins, which
    4850         * generally use this hook to add elements to <head> such
     
    6971                                        // Compatibility with versions of WordPress prior to 3.4.
    7072                                        if ( function_exists( 'get_custom_header' ) ) {
    71                                                 // We need to figure out what the minimum width should be for our featured image.
    72                                                 // This result would be the suggested width if the theme were to implement flexible widths.
     73                                                /**
     74                                                 * We need to figure out what the minimum width should be for our featured image.
     75                                                 * This result would be the suggested width if the theme were to implement flexible widths.
     76                                                 */
    7377                                                $header_image_width = get_theme_support( 'custom-header', 'width' );
    7478                                        } else {
Note: See TracChangeset for help on using the changeset viewer.