initial checkin with timeline
Added CSS for dasboard
fixed bug if no posts
Initial commit with new integration features
Initial commit with new integration features
prep for merge
more validation and setting page cleanup
Use add_query_arg to simplify building of iframe URLs for chartbeat console. Also make sure to wrap the whole URL in esc_url to properly escape it.
Fix escaping for usages of chartbeat_get_display_url and other escaping fixes
Prefix functions with chartbeat_
Only show widget if widgetconfig is valid json object
Move add_action for chartbeat_menu closer to the callback
Rename filter_where and move it outside the function its trapped in
Use $wpdb->prepare for building query
Missed a value that needed escaping
Fix indentation and some spacing so code is alot more readable
Simplify if block that decides whether code should be loaded
Remove add_option calls. They're not really needed, especially if you're not specifying any values. The way they're being included here runs them on every admin pageload which is unnecessary processing that doesn't need to be done.
Missing global $wpdb in function which causes a fatal
Don't load Dashboard Widget if Chartbeat isn't set up