WordPress.org

Plugin Directory

Changeset 470322


Ignore:
Timestamp:
12/02/11 19:41:19 (2 years ago)
Author:
hd-J
Message:

Fix for WP 3.3 - do not load styles on post type admin page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-facebook-applications/trunk/wp-fb-applications.php

    r457935 r470322  
    192192    $fbapps_style = WPFBAPPS_URL . 'css/fblayout.css'; 
    193193     
    194     if ( 'werewp_fbapp' == get_post_type() ) {  
     194    if ( 'werewp_fbapp' == get_post_type() && !is_admin() ) { 
    195195        wp_register_style('werewp-fbapps', $fbapps_style); 
    196196        wp_enqueue_style( 'werewp-fbapps'); 
Note: See TracChangeset for help on using the changeset viewer.