version 0.5 ready; moved css moved one level upper; css dir deleted; finally corrected initial install bug git-svn-id: http://plugins.svn.wordpress.org/wp-ffpc/trunk@676974 b8457f37-d9ea-0310-8a92-e5e31aec5664
cadeyrn cadeyrn@b8457f37-d9ea-0310-8a92-e5e31aec5664
Wed, 06 Mar 2013 17:37:48 +0000
2 files changed,
3 insertions(+),
2 deletions(-)
M
wp-ffpc.php
→
wp-ffpc.php
@@ -120,7 +120,7 @@ /* add admin styling */
if( is_admin() ) { wp_enqueue_script ( "jquery-ui-tabs" ); - wp_enqueue_style( WP_FFPC_PARAM . '.admin.css' , WP_FFPC_URL . '/css/'. WP_FFPC_PARAM .'.admin.css', false, '0.1'); + wp_enqueue_style( WP_FFPC_PARAM . '.admin.css' , WP_FFPC_URL . '/' . WP_FFPC_PARAM .'.admin.css', false, '0.1'); } /* on activation */@@ -698,7 +698,7 @@ $update = $_POST[$key];
if ( strlen( $update ) !=0 && !is_numeric($update) ) $update = stripslashes($update); } - elseif ( ( empty( $_POST[$name] ) && is_bool ( $default ) ) || is_int( $default ) ) + elseif ( empty( $_POST[$name] ) && ( is_bool ( $default ) || is_int( $default ) ) ) { $update = 0; }@@ -750,6 +750,7 @@ *
*/ function uninstall ( ) { delete_site_option( WP_FFPC_PARAM ); + wp_ffpc_log ( "plugin uninstalled "); } }