Permalink
Browse files

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

Change documentation URL and add my new username as contributor
  • Loading branch information...
1 parent 7cf9f3c commit 84bebe892616924ff745e557deaf5e467a37cd46 @jeherve committed Mar 14, 2012
Showing with 7 additions and 15 deletions.
  1. +1 −6 css/fblayout.css
  2. +3 −6 readme.txt
  3. +3 −3 wp-fb-applications.php
View
@@ -151,9 +151,4 @@ h4 {
padding: 10px;
font-size: 13px;
font-weight: bold;
-}
-
-/* Hide WordPress admin bar at all times */
-.show-admin-bar {
- display: none;
-}
+}
View
@@ -1,6 +1,6 @@
=== WP-Facebook applications ===
-Contributors: hd-J
-Donate link: http://jeremy.tagada.hu
+Contributors: jeherve, hd-J
+Donate link: http://jeremyherve.com
Tags: facebook, application, campaign, tab, custom post type, custom fields
Requires at least: 3.0
Tested up to: 3.3
@@ -18,7 +18,7 @@ Thus plugin allows you to create as many tabs as you wish through WordPress.
For more information, check the documentation:
- [Documentation - EN](http://www.werewp.com/my-plugins/wp-facebook-applications/ "WP Facebook Applications documentation")
-- [Documentation - FR](http://jeremy.tagada.hu/extension-wp-facebook-applications/ "Extension : WP Facebook Applications")
+- [Documentation - FR](http://jeremyherve.com/extension-wp-facebook-applications/ "Extension : WP Facebook Applications")
This plugin is a work in progress. Do not hesitate to send me your remarks, suggestions and ideas for the future version of this plugin.
@@ -62,9 +62,6 @@ When viewing your [application settings page](http://www.facebook.com/developers
== Changelog ==
-= Current =
-* Hide WP admin bar on tab view
-
= 0.4.4 =
* Save Facebook App settings only for the plugin tabs, not for other custom post types
View
@@ -5,10 +5,10 @@
Plugin URI: http://www.werewp.com/my-plugins/wp-facebook-applications/
Description: Create custom tabs for your Facebook pages, hosted on your WordPress blog.
Author: Jeremy Herve
-Author URI: http://jeremy.tagada.hu
+Author URI: http://jeremyherve.com
License: GPL2
*/
-/* Copyright 2011 Jeremy Herve (email : jeremy@tagada.hu)
+/* Copyright 2012 Jeremy Herve (email : jeremy@jeremyherve.com)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
@@ -193,7 +193,7 @@ function werewp_fbapp_template() {
function werewp_fbapps_style() {
$fbapps_style = WPFBAPPS_URL . 'css/fblayout.css';
- if ( 'werewp_fbapp' == get_post_type() && !is_admin() ) {
+ if ( 'werewp_fbapp' == get_post_type() && !is_admin() ) {
wp_register_style('werewp-fbapps', $fbapps_style);
wp_enqueue_style( 'werewp-fbapps');
}

0 comments on commit 84bebe8

Please sign in to comment.