Skip to:
Content

BuddyPress.org

Changeset 2866 for trunk/bp-groups.php


Ignore:
Timestamp:
03/22/2010 01:55:42 PM (17 years ago)
Author:
apeatling
Message:

JS should be enqueued on the wp_print_scripts action.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r2863 r2866  
    674674
    675675                                /* Make sure we include the jQuery jCrop file for image cropping */
    676                                 add_action( 'wp', 'bp_core_add_jquery_cropper' );
     676                                add_action( 'wp_print_scripts', 'bp_core_add_jquery_cropper' );
    677677                        }
    678678
    … …  
    10841084
    10851085                                /* Make sure we include the jQuery jCrop file for image cropping */
    1086                                 add_action( 'wp', 'bp_core_add_jquery_cropper' );
     1086                                add_action( 'wp_print_scripts', 'bp_core_add_jquery_cropper' );
    10871087                        }
    10881088                }
Note: See TracChangeset for help on using the changeset viewer.