WordPress.org

Making WordPress.org


Ignore:
Timestamp:
10/27/2017 06:47:58 PM (3 years ago)
Author:
obenland
Message:

Main: Style updates.

  • Fixes a bug where pages were misaligned.
  • Underlines links in entry content and lists. Fixes #3216.
  • Improves comment metadata and reply.
  • Adds wporg header styles in case we ever get to a point where we can ditch wp4.css.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/functions.php

    r5945 r6058  
    7878    wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
    7979    wp_enqueue_script( 'wporg-plugins-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
     80
     81    if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
     82        wp_enqueue_script( 'comment-reply' );
     83    }
    8084}
    8185add_action( 'wp_enqueue_scripts', __NAMESPACE__ . '\scripts' );
Note: See TracChangeset for help on using the changeset viewer.