WordPress.org

Plugin Directory

Changeset 1553965


Ignore:
Timestamp:
12/13/16 20:10:28 (10 months ago)
Author:
Elvin.Haci
Message:

2.0.1 uploaded

Location:
sql-chart-builder/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sql-chart-builder/trunk/functions.php

    r1553950 r1553965  
    4949function guaven_sqlcharts_enqueue_chart() 
    5050{ 
    51     wp_enqueue_script('guaven_sqlcharts_chartjs', plugins_url('assets/bundle.min.js', __FILE__)); 
     51    wp_enqueue_script('guaven_sqlcharts_chartjs', plugins_url('asset/bundle.min.js', __FILE__)); 
    5252    wp_enqueue_script('guaven_sqlcharts_googlechart', 'https://www.gstatic.com/charts/loader.js'); 
    5353     
     
    5858function guaven_sqlcharts_enqueue_main_style() 
    5959{ 
    60     wp_enqueue_style('guaven_sqlcharts_main_style', plugins_url('assets/guaven_sqlcharts.css', __FILE__)); 
     60    wp_enqueue_style('guaven_sqlcharts_main_style', plugins_url('asset/guaven_sqlcharts.css', __FILE__)); 
    6161} 
    6262add_action('admin_enqueue_scripts', 'guaven_sqlcharts_enqueue_main_style'); 
  • sql-chart-builder/trunk/guaven_sqlcharts.php

    r1553952 r1553965  
    44 * Plugin URI:        http://guaven.com/updatepusher 
    55 * Description:       Turn your SQL queries to Google Charts 
    6  * Version:           2.0.1 
     6 * Version:           2.0.2 
    77 * Author:            Guaven Labs 
    88 * Author URI:        http://guaven.com/ 
  • sql-chart-builder/trunk/initial_data.php

    r1553950 r1553965  
    1515  select count(*) postcount,SUBSTRING(`post_date`,6,2) monthnum,SUBSTRING(`post_date`,1,4) yearnum,SUBSTRING(`post_date`,1,7) monthandyear from $wpdb->posts where post_type!='post' group by monthnum,yearnum  order by monthnum", 
    1616         
    17         "select count(*) postcount, SUBSTR(`post_date`,1,4) il from $wpdb->posts  group by il order by il asc limit 10 ", 
     17        "select count(*) postcount, SUBSTR(`post_date`,1,4) yearnum from $wpdb->posts  group by yearnum order by yearnum asc limit 10 ", 
    1818         
    1919        "select count(*) as postcount,a.post_author,b.display_name as dname 
     
    5050            'postcount', 
    5151            'Years', 
    52             'il', 
     52            'yearnum', 
    5353            500, 
    5454            400, 
     
    8686            add_post_meta($newid, 'guaven_sqlcharts_chartheight', $data["others"][$key][5]); 
    8787            add_post_meta($newid, 'guaven_sqlcharts_xarg_s', $data["others"][$key][3]); 
    88             add_post_meta($newid, 'guaven_sqlcharts_xarg_l', $data["others"][$key][1]); 
     88            add_post_meta($newid, 'guaven_sqlcharts_xarg_l', $data["others"][$key][2]); 
    8989            add_post_meta($newid, 'guaven_sqlcharts_yarg_s', $data["others"][$key][1]); 
    9090            add_post_meta($newid, 'guaven_sqlcharts_yarg_l', $data["others"][$key][0]); 
  • sql-chart-builder/trunk/readme.txt

    r1553952 r1553965  
    44Requires at least: 3.9.0 
    55Tested up to: 4.7.0 
    6 Stable tag: 2.0.1 
     6Stable tag: 2.0.2 
    77Donate link: http://guaven.com/donate 
    88License: GPLv2 or later 
Note: See TracChangeset for help on using the changeset viewer.