Merge pull request 'WP PLUGIN MTEE(Meta Tag etc Extend)' (#1) from 修正_カスタムフィールドキー into master

Reviewed-on: https://develop.n-k-y.net/repo/WP_PLUGIN/Meta_Tag_etc_Extend/pulls/1
This commit was merged in pull request #1.
This commit is contained in:
nobu
2021-05-15 12:05:14 +09:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ const MTEE_CLASS_DIR = __DIR__ . '/class/';
const MTEE_TEMPLATE_DIR = __DIR__ . '/template/';
const MTEE_NAME_KEYWORDS = 'mtee_meta_keywords';
const MTEE_NAME_DESCRIPTION = 'mtee_meta_description';
const MTEE_NAME_NOINDEX = 'mtee_robots_noindex';
const MTEE_NAME_NOFOLLOW = 'mtee_robots_nofollow';
const MTEE_NAME_NOINDEX = '_mtee_robots_noindex';
const MTEE_NAME_NOFOLLOW = '_mtee_robots_nofollow';
const MTEE_META_DESC_TOP_BASE = 'トップページです';
const MTEE_META_DESC_SINGLE_BASE = 'ページです。';
+2 -2
View File
@@ -12,8 +12,8 @@ delete_option( '_mtee' );
$delete_post_meta_keys = array(
'mtee_meta_keywords',
'mtee_meta_description',
'mtee_robots_noindex',
'mtee_robots_nofollow',
'_mtee_robots_noindex',
'_mtee_robots_nofollow',
);
foreach ( $delete_post_meta_keys as $delete_post_meta_key ) {
delete_post_meta_by_key( $delete_post_meta_key );