Skip to content

Commit

Permalink
See pewresearch/pewresearch-org@5ef9b95 from refs/heads/main
Browse files Browse the repository at this point in the history
  • Loading branch information
prcdevgitbot committed Jun 11, 2024
1 parent 99bbafe commit 8a19318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion includes/wp-admin/admin-columns/class-admin-columns.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ class Admin_Columns_Pro {
* @param string $version The version of this plugin.
*/
public function __construct( $loader ) {
if ( PRC_PRIMARY_SITE_ID !== get_current_blog_id() ) {
do_action('qm/debug', 'ADMIN COLUMNS');
if ( PRC_PRIMARY_SITE_ID === get_current_blog_id() ) {
$loader->add_filter( 'acp/storage/file/directory', $this, 'acp_load_via_files' );
}
$loader->add_action( 'ac/ready', $this, 'register_columns' );
Expand Down

0 comments on commit 8a19318

Please sign in to comment.