File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
classes/Visualizer/Module Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -80,14 +80,14 @@ public function getLoggerData( $data ) {
80
80
* @access private
81
81
*/
82
82
public function getChartCountsByTypeAndMeta ( $ meta_keys = array () ) {
83
- $ charts = array ();
84
- $ charts ['chart_types ' ] = array ();
83
+ $ charts = array ();
84
+ $ charts ['chart_types ' ] = array ();
85
85
// the initial query arguments to fetch charts
86
86
$ query_args = array (
87
87
'post_type ' => Visualizer_Plugin::CPT_VISUALIZER ,
88
88
'posts_per_page ' => 300 ,
89
89
'fields ' => 'ids ' ,
90
- 'no_rows_found ' => false ,
90
+ 'no_rows_found ' => false ,
91
91
'update_post_meta_cache ' => false ,
92
92
'update_post_term_cache ' => false ,
93
93
@@ -100,7 +100,7 @@ public function getChartCountsByTypeAndMeta( $meta_keys = array() ) {
100
100
$ charts ['chart_types ' ][ $ type ] = isset ( $ charts ['chart_types ' ][ $ type ] ) ? $ charts ['chart_types ' ][ $ type ] + 1 : 1 ;
101
101
if ( ! empty ( $ meta_keys ) ) {
102
102
foreach ( $ meta_keys as $ name => $ key ) {
103
- $ data = get_post_meta ( $ chart_id , $ key , true );
103
+ $ data = get_post_meta ( $ chart_id , $ key , true );
104
104
if ( ! empty ( $ data ) ) {
105
105
$ charts [ $ name ] = isset ( $ charts [ $ name ] ) ? $ charts [ $ name ] + 1 : 1 ;
106
106
} else {
You can’t perform that action at this time.
0 commit comments