Skip to:
Content

BuddyPress.org

Changeset 2866


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

JS should be enqueued on the wp_print_scripts action.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-signup.php

    r2863 r2866  
    170170
    171171                        /* Make sure we include the jQuery jCrop file for image cropping */
    172                         add_action( 'wp', 'bp_core_add_jquery_cropper' );
     172                        add_action( 'wp_print_scripts', 'bp_core_add_jquery_cropper' );
    173173                }
    174174        }
  • 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                }
  • trunk/bp-xprofile.php

    r2863 r2866  
    293293
    294294                        /* Make sure we include the jQuery jCrop file for image cropping */
    295                         add_action( 'wp', 'bp_core_add_jquery_cropper' );
     295                        add_action( 'wp_print_scripts', 'bp_core_add_jquery_cropper' );
    296296                }
    297297        }
Note: See TracChangeset for help on using the changeset viewer.