Making WordPress.org


Ignore:
Timestamp:
11/21/2016 03:23:52 AM (10 years ago)
Author:
dd32
Message:

Plugin Directory: Toggle the "Read More" links to "Show Less" after the section is expanded.
This also fixes a bug where the toggle was incorrectly hidden when visiting a page such as /hello-dolly/#changelog.

Fixes #2206

File:
1 edited

Legend:

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

    r4376 r4387  
    7474
    7575        if ( is_singular( 'plugin' ) ) {
    76                 wp_enqueue_script( 'wporg-plugins-accordion', get_template_directory_uri() . '/js/section-accordion.js', array(), '20160525', true );
     76                wp_enqueue_script( 'wporg-plugins-accordion', get_template_directory_uri() . '/js/section-accordion.js', array(), '20161121', true );
    7777        }
    7878
Note: See TracChangeset for help on using the changeset viewer.