Making WordPress.org

Changeset 5902


Ignore:
Timestamp:
09/08/2017 07:02:48 PM (7 years ago)
Author:
iandunn
Message:

WordCamp Post Types: Remove unnecessary Base theme back-compat filter calls.

The speaker/session/sponsor modules were removed in r5900 because they were no longer being used. Now that they're gone, we no longer need to disable them here.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordcamp.org/public_html/wp-content/plugins/wc-post-types/inc/back-compat.php

    r1945 r5902  
    3838                add_action( 'wcpt_back_compat_init', array( $this, 'wcpt_back_compat_init' ) );
    3939            }
    40 
    41             // Base theme should not load the following modules.
    42             add_filter( 'wcb_load_component_speakers', '__return_false' );
    43             add_filter( 'wcb_load_component_sessions', '__return_false' );
    44             add_filter( 'wcb_load_component_sponsors', '__return_false' );
    4540        }
    4641    }
Note: See TracChangeset for help on using the changeset viewer.