Skip to content

Commit 4a17493

Browse files
committed
in admin column, use post meta, prevents triggering an update
1 parent a39f467 commit 4a17493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-shared-counts-admin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ public function add_shared_count_column( $columns ) {
775775
*/
776776
public function shared_count_column( $column, $post_id ) {
777777
if( 'shared_counts' == $column )
778-
shared_counts()->core->count( $post_id, 'total', $echo = true, $round = 2 );
778+
echo get_post_meta( $post_id, 'shared_counts_total', true );
779779
}
780780

781781
/**

0 commit comments

Comments
 (0)