mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Twenty Twelve: remove doc block comments for @return void
. See #27098.
Built from https://develop.svn.wordpress.org/trunk@27599 git-svn-id: http://core.svn.wordpress.org/trunk@27442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4305c85fb2
commit
bba0e99688
@ -128,8 +128,6 @@ function twentytwelve_get_font_url() {
|
|||||||
* Enqueue scripts and styles for front-end.
|
* Enqueue scripts and styles for front-end.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_scripts_styles() {
|
function twentytwelve_scripts_styles() {
|
||||||
global $wp_styles;
|
global $wp_styles;
|
||||||
@ -303,8 +301,6 @@ if ( ! function_exists( 'twentytwelve_comment' ) ) :
|
|||||||
* Used as a callback by wp_list_comments() for displaying the comments.
|
* Used as a callback by wp_list_comments() for displaying the comments.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_comment( $comment, $args, $depth ) {
|
function twentytwelve_comment( $comment, $args, $depth ) {
|
||||||
$GLOBALS['comment'] = $comment;
|
$GLOBALS['comment'] = $comment;
|
||||||
@ -368,8 +364,6 @@ if ( ! function_exists( 'twentytwelve_entry_meta' ) ) :
|
|||||||
* Create your own twentytwelve_entry_meta() to override in a child theme.
|
* Create your own twentytwelve_entry_meta() to override in a child theme.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_entry_meta() {
|
function twentytwelve_entry_meta() {
|
||||||
// Translators: used between list items, there is a space after the comma.
|
// Translators: used between list items, there is a space after the comma.
|
||||||
@ -467,8 +461,6 @@ add_filter( 'body_class', 'twentytwelve_body_class' );
|
|||||||
* templates, and when there are no active widgets in the sidebar.
|
* templates, and when there are no active widgets in the sidebar.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_content_width() {
|
function twentytwelve_content_width() {
|
||||||
if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) {
|
if ( is_page_template( 'page-templates/full-width.php' ) || is_attachment() || ! is_active_sidebar( 'sidebar-1' ) ) {
|
||||||
@ -486,7 +478,6 @@ add_action( 'template_redirect', 'twentytwelve_content_width' );
|
|||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
*
|
||||||
* @param WP_Customize_Manager $wp_customize Customizer object.
|
* @param WP_Customize_Manager $wp_customize Customizer object.
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_customize_register( $wp_customize ) {
|
function twentytwelve_customize_register( $wp_customize ) {
|
||||||
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
|
$wp_customize->get_setting( 'blogname' )->transport = 'postMessage';
|
||||||
@ -501,8 +492,6 @@ add_action( 'customize_register', 'twentytwelve_customize_register' );
|
|||||||
* Binds JS handlers to make the Customizer preview reload changes asynchronously.
|
* Binds JS handlers to make the Customizer preview reload changes asynchronously.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.0
|
* @since Twenty Twelve 1.0
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_customize_preview_js() {
|
function twentytwelve_customize_preview_js() {
|
||||||
wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130301', true );
|
wp_enqueue_script( 'twentytwelve-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20130301', true );
|
||||||
|
@ -51,8 +51,6 @@ add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' );
|
|||||||
* Load our special font CSS file.
|
* Load our special font CSS file.
|
||||||
*
|
*
|
||||||
* @since Twenty Twelve 1.2
|
* @since Twenty Twelve 1.2
|
||||||
*
|
|
||||||
* @return void
|
|
||||||
*/
|
*/
|
||||||
function twentytwelve_custom_header_fonts() {
|
function twentytwelve_custom_header_fonts() {
|
||||||
$font_url = twentytwelve_get_font_url();
|
$font_url = twentytwelve_get_font_url();
|
||||||
|
Loading…
Reference in New Issue
Block a user