Skip to content

Commit

Permalink
Version 1.1 - Fix Wings
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurorum authored Jul 7, 2020
1 parent c9328d4 commit 6349de6
Show file tree
Hide file tree
Showing 11 changed files with 5 additions and 5 deletions.
Binary file added assets/3025.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3033.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3034.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3088.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3089.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3090.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3133.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3135.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/3164.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
0 items.json → items.js
100644 → 100755
File renamed without changes.
10 changes: 5 additions & 5 deletions puffles.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Puffles - for Club Penguin Bloggers
* Plugin URI: https://github.com/Aurorum/club-penguin-wordpress-plugin
* Description: Currently offers a playercard generator based on Club Penguin's assets.
* Version: 1.0.0
* Version: 1.1
* Author: Aurorum
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Expand All @@ -29,13 +29,13 @@ function pufflesPlayercardGeneratorShortcode($content = null)
add_filter( 'js_do_concat', '__return_false' );
}

wp_register_script('puffles-items', plugin_dir_url(__FILE__) . 'items.js', '', '', true);
wp_enqueue_script('puffles-items');

wp_register_script('puffles_scripts', plugin_dir_url(__FILE__) . 'scripts.js', '', '', true);
wp_localize_script('puffles_scripts', 'pufflesPlayercardItems', $data);
wp_enqueue_script('puffles_scripts');

wp_register_script('puffles-items', plugin_dir_url(__FILE__) . 'items.json', '', '', true);
wp_enqueue_script('puffles-items');

$pufflesEmptyFile = plugins_url('assets/empty.png', __FILE__);

return '
Expand Down Expand Up @@ -106,4 +106,4 @@ function pufflesEnqueuePlayercardStyling()
wp_enqueue_style('puffles-styles', plugin_dir_url(__FILE__) . 'style.css');
}

add_action('wp_enqueue_scripts', 'pufflesEnqueuePlayercardStyling');
add_action('wp_enqueue_scripts', 'pufflesEnqueuePlayercardStyling');

0 comments on commit 6349de6

Please sign in to comment.