Plugin Directory

Changeset 672484

Timestamp:
02/24/2013 10:00:13 AM (11 years ago)
Author:
mbijon
Message:

Fixed: JS was printing on all wp-admin pages & not just plugin's own page.

  • Remove debugging logic
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-resized-image-quality/trunk/wp-resized-image-quality.php

    r672048 r672484  
    110110    // For admin-only scripts
    111111    public function admin_page_statics() {
    112         if ( isset( $_REQUEST['page'] ) && $_REQUEST['page'] == 'riq-admin' || 1 == 1 ) {
     112        if ( isset( $_REQUEST['page'] ) && $_REQUEST['page'] == 'riq-admin' ) {
    113113            // JS
    114114            wp_enqueue_script( 'jquery-ui-slider' );
Note: See TracChangeset for help on using the changeset viewer.