WordPress.org

Making WordPress.org

Changeset 3149


Ignore:
Timestamp:
05/14/2016 07:53:30 PM (6 years ago)
Author:
obenland
Message:

Theme Directory: Don't load Grofiles script.

It is not needed in the theme directory.

File:
1 edited

Legend:

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

    r2757 r3149  
    9696    wp_deregister_style( 'dashicons' );
    9797    wp_register_style( 'dashicons', '' );
     98
     99    /*
     100     * No Grofiles needed.
     101     *
     102     * Enqueued so that it's overridden in the global footer.
     103     */
     104    wp_register_script( 'grofiles-cards', false );
     105    wp_enqueue_script( 'grofiles-cards' );
    98106}
    99107add_action( 'wp_enqueue_scripts', 'wporg_themes_scripts' );
Note: See TracChangeset for help on using the changeset viewer.