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:
+2
-2
@@ -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
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user