Skip to:
Content

BuddyPress.org

Changeset 10630


Ignore:
Timestamp:
03/04/2016 06:01:42 PM (9 years ago)
Author:
imath
Message:

Make sure the style for the Private Messages autocomplete UI is enqueued.

  • Use wp_enqueue_style() instead of wp_register_style()
  • fix a typo in the stylesheet filename.

Fixes #6939 (trunk)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-messages/bp-messages-cssjs.php

    r10613 r10630  
    4141        $url = buddypress()->plugin_url . 'bp-messages/css/';
    4242
    43         wp_register_style( 'bp-messages-autocomplete', "{$url}autocomplete/jquery.autocompletfb{$min}.css", array(), bp_get_version() );
     43        wp_enqueue_style( 'bp-messages-autocomplete', "{$url}autocomplete/jquery.autocompletefb{$min}.css", array(), bp_get_version() );
    4444
    4545        wp_style_add_data( 'bp-messages-autocomplete', 'rtl', true );
Note: See TracChangeset for help on using the changeset viewer.