WordPress.org

Plugin Directory

Changeset 669963


Ignore:
Timestamp:
02/18/13 20:37:08 (14 months ago)
Author:
Otto42
Message:

only load the preview JS on the sgc settings screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • simple-google-connect/trunk/sgc-plusone.php

    r469666 r669963  
    101101 
    102102function sgc_plusone_preview_script() { 
     103    $screen = get_current_screen(); 
     104    if ( isset($screen) && $screen->id != 'settings_page_sgc' ) 
     105        return; 
    103106?> 
    104107<script type="text/javascript"> 
Note: See TracChangeset for help on using the changeset viewer.