Plugin Directory

Changeset 651232


Ignore:
Timestamp:
01/11/2013 09:47:02 AM (13 years ago)
Author:
ronakg
Message:

releasing version 3.3.4

Location:
awesome-flickr-gallery-plugin
Files:
9 edited
2 copied

Legend:

Unmodified
Added
Removed
  • awesome-flickr-gallery-plugin/tags/3.3.4/README.txt

    r637174 r651232  
    55Requires at least: 3.0
    66Tested up to: 3.5
    7 Stable tag: 3.3.3
     7Stable tag: 3.3.4
    88License: GPLv2 or later
    99
     
    113113
    114114== Upgrade Notice ==
     115
     116= 3.3.4 =
     117[Bug Fix] Get rid of annoying warning messages when DEBUG is enabled.
    115118
    116119= 3.3.3 =
     
    273276== Changelog ==
    274277
     278= 3.3.4 =
     279[Bug Fix] Get rid of annoying warning messages when DEBUG is enabled.
     280
    275281= 3.3.2 =
    276282* [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  
    33
    44if (is_admin()) {
     5    add_action('admin_enqueue_scripts', 'afg_admin_enqueue_scripts');
     6    add_action('admin_head', 'afg_advanced_headers');
     7}
     8
     9function afg_admin_enqueue_scripts() {
    510    wp_enqueue_script('jquery');
    611    wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/lib/codemirror.css");
     
    914    wp_enqueue_style('afg_custom_css_theme_css', BASE_URL . "/CodeMirror/theme/cobalt.css");
    1015    wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/css/docs.css");
    11     add_action('admin_head', 'afg_advanced_headers');
    1216}
    1317
  • awesome-flickr-gallery-plugin/tags/3.3.4/afg_libs.php

    r517160 r651232  
    44define('SITE_URL', get_option('siteurl'));
    55define('DEBUG', false);
    6 define('VERSION', '3.3.3');
     6define('VERSION', '3.3.4');
    77
    88$afg_sort_order_map = array(
  • awesome-flickr-gallery-plugin/tags/3.3.4/edit_galleries.php

    r507598 r651232  
    44$warning = false;
    55
    6 if ($_POST && $_POST['afg_edit_gallery_name']) {
     6if ($_POST && isset($_POST['afg_edit_gallery_name'])) {
    77    global $default_gallery_id;
    88    global $warning;
  • awesome-flickr-gallery-plugin/tags/3.3.4/index.php

    r517310 r651232  
    123123     */
    124124    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');
    126126
    127127    $enable_colorbox = false;
     
    132132    }
    133133
    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');
    137135}
    138136
    139137add_action('wp_head', 'add_afg_headers');
    140138
    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");
     139function 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    }
    146146}
    147147
  • awesome-flickr-gallery-plugin/trunk/README.txt

    r637174 r651232  
    55Requires at least: 3.0
    66Tested up to: 3.5
    7 Stable tag: 3.3.3
     7Stable tag: 3.3.4
    88License: GPLv2 or later
    99
     
    113113
    114114== Upgrade Notice ==
     115
     116= 3.3.4 =
     117[Bug Fix] Get rid of annoying warning messages when DEBUG is enabled.
    115118
    116119= 3.3.3 =
     
    273276== Changelog ==
    274277
     278= 3.3.4 =
     279[Bug Fix] Get rid of annoying warning messages when DEBUG is enabled.
     280
    275281= 3.3.2 =
    276282* [ENHANCEMENT] Intelligently resize images based on orientation of the image (landscape vs portrait).
  • awesome-flickr-gallery-plugin/trunk/advanced_settings.php

    r508750 r651232  
    33
    44if (is_admin()) {
     5    add_action('admin_enqueue_scripts', 'afg_admin_enqueue_scripts');
     6    add_action('admin_head', 'afg_advanced_headers');
     7}
     8
     9function afg_admin_enqueue_scripts() {
    510    wp_enqueue_script('jquery');
    611    wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/lib/codemirror.css");
     
    914    wp_enqueue_style('afg_custom_css_theme_css', BASE_URL . "/CodeMirror/theme/cobalt.css");
    1015    wp_enqueue_style('afg_custom_css_style', BASE_URL . "/CodeMirror/css/docs.css");
    11     add_action('admin_head', 'afg_advanced_headers');
    1216}
    1317
  • awesome-flickr-gallery-plugin/trunk/afg_libs.php

    r517160 r651232  
    44define('SITE_URL', get_option('siteurl'));
    55define('DEBUG', false);
    6 define('VERSION', '3.3.3');
     6define('VERSION', '3.3.4');
    77
    88$afg_sort_order_map = array(
  • awesome-flickr-gallery-plugin/trunk/edit_galleries.php

    r507598 r651232  
    44$warning = false;
    55
    6 if ($_POST && $_POST['afg_edit_gallery_name']) {
     6if ($_POST && isset($_POST['afg_edit_gallery_name'])) {
    77    global $default_gallery_id;
    88    global $warning;
  • awesome-flickr-gallery-plugin/trunk/index.php

    r517310 r651232  
    123123     */
    124124    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');
    126126
    127127    $enable_colorbox = false;
     
    132132    }
    133133
    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');
    137135}
    138136
    139137add_action('wp_head', 'add_afg_headers');
    140138
    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");
     139function 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    }
    146146}
    147147
Note: See TracChangeset for help on using the changeset viewer.