Changeset 651232
- Timestamp:
- 01/11/2013 09:47:02 AM (13 years ago)
- Location:
- awesome-flickr-gallery-plugin
- Files:
-
- 9 edited
- 2 copied
-
tags/3.3.4 (copied) (copied from awesome-flickr-gallery-plugin/trunk)
-
tags/3.3.4/README.txt (copied) (copied from awesome-flickr-gallery-plugin/trunk/README.txt) (3 diffs)
-
tags/3.3.4/advanced_settings.php (modified) (2 diffs)
-
tags/3.3.4/afg_libs.php (modified) (1 diff)
-
tags/3.3.4/edit_galleries.php (modified) (1 diff)
-
tags/3.3.4/index.php (modified) (2 diffs)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/advanced_settings.php (modified) (2 diffs)
-
trunk/afg_libs.php (modified) (1 diff)
-
trunk/edit_galleries.php (modified) (1 diff)
-
trunk/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
awesome-flickr-gallery-plugin/tags/3.3.4/README.txt
r637174 r651232 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5 7 Stable tag: 3.3. 37 Stable tag: 3.3.4 8 8 License: GPLv2 or later 9 9 … … 113 113 114 114 == Upgrade Notice == 115 116 = 3.3.4 = 117 [Bug Fix] Get rid of annoying warning messages when DEBUG is enabled. 115 118 116 119 = 3.3.3 = … … 273 276 == Changelog == 274 277 278 = 3.3.4 = 279 [Bug Fix] Get rid of annoying warning messages when DEBUG is enabled. 280 275 281 = 3.3.2 = 276 282 * [ENHANCEMENT] Intelligently resize images based on orientation of the image (landscape vs portrait). -
awesome-flickr-gallery-plugin/tags/3.3.4/advanced_settings.php
r508750 r651232 3 3 4 4 if (is_admin()) { 5 add_action('admin_enqueue_scripts', 'afg_admin_enqueue_scripts'); 6 add_action('admin_head', 'afg_advanced_headers'); 7 } 8 9 function afg_admin_enqueue_scripts() { 5 10 wp_enqueue_script('jquery'); 6 11 wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/lib/codemirror.css"); … … 9 14 wp_enqueue_style('afg_custom_css_theme_css', BASE_URL . "/CodeMirror/theme/cobalt.css"); 10 15 wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/css/docs.css"); 11 add_action('admin_head', 'afg_advanced_headers');12 16 } 13 17 -
awesome-flickr-gallery-plugin/tags/3.3.4/afg_libs.php
r517160 r651232 4 4 define('SITE_URL', get_option('siteurl')); 5 5 define('DEBUG', false); 6 define('VERSION', '3.3. 3');6 define('VERSION', '3.3.4'); 7 7 8 8 $afg_sort_order_map = array( -
awesome-flickr-gallery-plugin/tags/3.3.4/edit_galleries.php
r507598 r651232 4 4 $warning = false; 5 5 6 if ($_POST && $_POST['afg_edit_gallery_name']) {6 if ($_POST && isset($_POST['afg_edit_gallery_name'])) { 7 7 global $default_gallery_id; 8 8 global $warning; -
awesome-flickr-gallery-plugin/tags/3.3.4/index.php
r517310 r651232 123 123 */ 124 124 add_shortcode('AFG_gallery', 'afg_display_gallery'); 125 add_filter('widget_text', 'do_shortcode', SHORTCODE_PRIORITY);125 add_filter('widget_text', 'do_shortcode', 'SHORTCODE_PRIORITY'); 126 126 127 127 $enable_colorbox = false; … … 132 132 } 133 133 134 if (get_option('afg_slideshow_option') == 'colorbox' || $enable_colorbox) 135 add_action('wp_print_scripts', 'enqueue_cbox_scripts'); 136 add_action('wp_print_styles', 'enqueue_afg_styles'); 134 add_action('wp_enqueue_scripts', 'enqueue_afg_scripts'); 137 135 } 138 136 139 137 add_action('wp_head', 'add_afg_headers'); 140 138 141 function enqueue_cbox_scripts() { 142 wp_enqueue_script('jquery'); 143 wp_enqueue_script('afg_colorbox_script', BASE_URL . "/colorbox/jquery.colorbox.js" , array('jquery')); 144 wp_enqueue_script('afg_colorbox_js', BASE_URL . "/colorbox/mycolorbox.js" , array('jquery')); 145 wp_enqueue_style('afg_colorbox_css', BASE_URL . "/colorbox/colorbox.css"); 139 function enqueue_afg_scripts() { 140 if (get_option('afg_slideshow_option') == 'colorbox' || $enable_colorbox) { 141 wp_enqueue_script('jquery'); 142 wp_enqueue_script('afg_colorbox_script', BASE_URL . "/colorbox/jquery.colorbox.js" , array('jquery')); 143 wp_enqueue_script('afg_colorbox_js', BASE_URL . "/colorbox/mycolorbox.js" , array('jquery')); 144 wp_enqueue_style('afg_colorbox_css', BASE_URL . "/colorbox/colorbox.css"); 145 } 146 146 } 147 147 -
awesome-flickr-gallery-plugin/trunk/README.txt
r637174 r651232 5 5 Requires at least: 3.0 6 6 Tested up to: 3.5 7 Stable tag: 3.3. 37 Stable tag: 3.3.4 8 8 License: GPLv2 or later 9 9 … … 113 113 114 114 == Upgrade Notice == 115 116 = 3.3.4 = 117 [Bug Fix] Get rid of annoying warning messages when DEBUG is enabled. 115 118 116 119 = 3.3.3 = … … 273 276 == Changelog == 274 277 278 = 3.3.4 = 279 [Bug Fix] Get rid of annoying warning messages when DEBUG is enabled. 280 275 281 = 3.3.2 = 276 282 * [ENHANCEMENT] Intelligently resize images based on orientation of the image (landscape vs portrait). -
awesome-flickr-gallery-plugin/trunk/advanced_settings.php
r508750 r651232 3 3 4 4 if (is_admin()) { 5 add_action('admin_enqueue_scripts', 'afg_admin_enqueue_scripts'); 6 add_action('admin_head', 'afg_advanced_headers'); 7 } 8 9 function afg_admin_enqueue_scripts() { 5 10 wp_enqueue_script('jquery'); 6 11 wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/lib/codemirror.css"); … … 9 14 wp_enqueue_style('afg_custom_css_theme_css', BASE_URL . "/CodeMirror/theme/cobalt.css"); 10 15 wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/css/docs.css"); 11 add_action('admin_head', 'afg_advanced_headers');12 16 } 13 17 -
awesome-flickr-gallery-plugin/trunk/afg_libs.php
r517160 r651232 4 4 define('SITE_URL', get_option('siteurl')); 5 5 define('DEBUG', false); 6 define('VERSION', '3.3. 3');6 define('VERSION', '3.3.4'); 7 7 8 8 $afg_sort_order_map = array( -
awesome-flickr-gallery-plugin/trunk/edit_galleries.php
r507598 r651232 4 4 $warning = false; 5 5 6 if ($_POST && $_POST['afg_edit_gallery_name']) {6 if ($_POST && isset($_POST['afg_edit_gallery_name'])) { 7 7 global $default_gallery_id; 8 8 global $warning; -
awesome-flickr-gallery-plugin/trunk/index.php
r517310 r651232 123 123 */ 124 124 add_shortcode('AFG_gallery', 'afg_display_gallery'); 125 add_filter('widget_text', 'do_shortcode', SHORTCODE_PRIORITY);125 add_filter('widget_text', 'do_shortcode', 'SHORTCODE_PRIORITY'); 126 126 127 127 $enable_colorbox = false; … … 132 132 } 133 133 134 if (get_option('afg_slideshow_option') == 'colorbox' || $enable_colorbox) 135 add_action('wp_print_scripts', 'enqueue_cbox_scripts'); 136 add_action('wp_print_styles', 'enqueue_afg_styles'); 134 add_action('wp_enqueue_scripts', 'enqueue_afg_scripts'); 137 135 } 138 136 139 137 add_action('wp_head', 'add_afg_headers'); 140 138 141 function enqueue_cbox_scripts() { 142 wp_enqueue_script('jquery'); 143 wp_enqueue_script('afg_colorbox_script', BASE_URL . "/colorbox/jquery.colorbox.js" , array('jquery')); 144 wp_enqueue_script('afg_colorbox_js', BASE_URL . "/colorbox/mycolorbox.js" , array('jquery')); 145 wp_enqueue_style('afg_colorbox_css', BASE_URL . "/colorbox/colorbox.css"); 139 function enqueue_afg_scripts() { 140 if (get_option('afg_slideshow_option') == 'colorbox' || $enable_colorbox) { 141 wp_enqueue_script('jquery'); 142 wp_enqueue_script('afg_colorbox_script', BASE_URL . "/colorbox/jquery.colorbox.js" , array('jquery')); 143 wp_enqueue_script('afg_colorbox_js', BASE_URL . "/colorbox/mycolorbox.js" , array('jquery')); 144 wp_enqueue_style('afg_colorbox_css', BASE_URL . "/colorbox/colorbox.css"); 145 } 146 146 } 147 147
Note: See TracChangeset
for help on using the changeset viewer.