Skip to content

Commit bab83f9

Browse files
committed
fix on activation
1 parent d370d0b commit bab83f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/class-hook-flowchart.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,14 +209,14 @@ function register_menu( $wp_admin_bar ) {
209209
* @since 1.0.0
210210
*/
211211
private static function single_activate() {
212-
$settings = get_option( $this->get_plugin_slug() );
212+
$settings = get_option( self::$plugin_slug );
213213
$settings_new = false;
214214
//Set default values
215215
if ( empty( $settings[ 'excluded' ] ) ) {
216216
$settings_new[ 'excluded' ] = 'wp_default_scripts,map_meta_cap,get_avatar,custom_menu_order,admin_body_class,admin_footer_text,pre_option_gmt_offset,welcome_panel,date_i18n,pre_http_request,determine_current_user,in_admin_header,update_footer';
217217
}
218218
if ( $settings_new !== false ) {
219-
update_option( $this->get_plugin_slug(), $settings_new );
219+
update_option( self::$plugin_slug, $settings_new );
220220
}
221221
}
222222

0 commit comments

Comments
 (0)