Custom Column Bug
-
The plugin is a little over zealous when it comes to adding the “You need to log in and select an account in the options panel.” in the custom post-list column (screenshot), it adds the message to all custom columns.
It’s a quick fix to move the column check. Here’s my altered function in
gad-admin-pages-posts.php
function posts_pages_custom_column($column_name, $post_id) { if ( $column_name != 'analytics' ) return; if ( ($value = $this->security_check() ) !== true ) { echo $value; } else { echo '<div id="gad_ppp_' . $post_id . '" class="gad_ppp_loading"><p class="widget-loading hide-if-no-js">Loading…</p><p class="describe hide-if-js">This widget requires JavaScript.</p></div>'; } }
https://www.ads-software.com/extend/plugins/google-analytics-dashboard/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom Column Bug’ is closed to new replies.