Skip to content

Commit

Permalink
remove wogh_ignore_metas key
Browse files Browse the repository at this point in the history
  • Loading branch information
litefeel committed Jul 31, 2017
1 parent 24c1a60 commit 67312d8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lib/admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ public function register_settings() {
)
);

register_setting( Writing_On_GitHub::$text_domain, 'wogh_ignore_metas' );
add_settings_field( 'wogh_ignore_metas', __( 'Ignore post metas', 'writing-on-github' ), array( &$this, 'textarea_field_callback' ), Writing_On_GitHub::$text_domain, 'general', array(
'default' => '',
'name' => 'wogh_ignore_metas',
'help_text' => __( 'These meta keys will be ignored and cannot be imported and exported. One meta key per line.', 'writing-on-github' ),
)
);
// register_setting( Writing_On_GitHub::$text_domain, 'wogh_ignore_metas' );
// add_settings_field( 'wogh_ignore_metas', __( 'Ignore post metas', 'writing-on-github' ), array( &$this, 'textarea_field_callback' ), Writing_On_GitHub::$text_domain, 'general', array(
// 'default' => '',
// 'name' => 'wogh_ignore_metas',
// 'help_text' => __( 'These meta keys will be ignored and cannot be imported and exported. One meta key per line.', 'writing-on-github' ),
// )
// );
}

/**
Expand Down

0 comments on commit 67312d8

Please sign in to comment.