Version Description
Download this release
Release Info
Developer | looswebstudio |
Plugin | SEO SIMPLE PACK |
Version | 1.0.9 |
Comparing to | |
See all releases |
Code changes from version 1.0.8 to 1.0.9
- assets/css/ssp.css +53 -62
- assets/img/noimg.gif +0 -0
- class/ssp_metabox.php +10 -2
- inc/page_help.php +4 -2
- inc/parts/tab_webmaster.php +1 -1
- readme.txt +4 -1
- seo-simple-pack.php +2 -2
assets/css/ssp.css
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
@charset "UTF-8";
|
|
|
2 |
#ssp_wrap{
|
3 |
box-sizing: border-box;
|
4 |
-
/* background: #fff; */
|
5 |
padding: 8px;
|
6 |
margin: 0 20px 20px 0;
|
7 |
}
|
@@ -11,10 +11,50 @@
|
|
11 |
|
12 |
#ssp_wrap #ssp_updated{
|
13 |
margin: 24px 0 24px;
|
14 |
-
}
|
15 |
-
|
16 |
-
|
17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
#ssp_wrap input[type="text"]{
|
19 |
width: 100%;
|
20 |
padding: 8px;
|
@@ -65,9 +105,7 @@
|
|
65 |
}
|
66 |
|
67 |
|
68 |
-
/*
|
69 |
-
table
|
70 |
-
*/
|
71 |
|
72 |
#ssp_wrap table.form-table th,
|
73 |
#ssp_wrap table.form-table td{
|
@@ -135,19 +173,18 @@
|
|
135 |
padding: 4px 8px;
|
136 |
}
|
137 |
|
|
|
|
|
|
|
138 |
#ssp_wrap #media_preview img{
|
139 |
-
|
140 |
}
|
141 |
#ssp_wrap #media_btn {
|
142 |
margin-right: 24px;
|
143 |
}
|
144 |
|
145 |
-
/*
|
146 |
-
|
147 |
-
*/
|
148 |
-
tr[data-disable="1"] {
|
149 |
-
/* background: #000; */
|
150 |
-
}
|
151 |
tr[data-disable="1"] + tr,
|
152 |
tr[data-disable="1"] + tr + tr,
|
153 |
tr[data-disable="1"] + tr + tr + tr{
|
@@ -181,57 +218,11 @@ tr[data-disable="1"] + tr + tr + tr{
|
|
181 |
margin: 0 2px;
|
182 |
font-size: 13px;
|
183 |
border-radius: 4px;
|
184 |
-
/* box-shadow: 0 0 0 1px #ccc; */
|
185 |
background: rgb(135, 171, 135);
|
186 |
}
|
187 |
|
188 |
|
189 |
-
/*
|
190 |
-
devエリア
|
191 |
-
*/
|
192 |
-
.dev_area{
|
193 |
-
padding: 8px;
|
194 |
-
margin: 16px;
|
195 |
-
background: #fff;
|
196 |
-
box-shadow: inset 0 0 4px #ccc;
|
197 |
-
overflow: auto;
|
198 |
-
max-height: 400px;
|
199 |
-
position: relative;
|
200 |
-
}
|
201 |
-
|
202 |
-
.dev_area p{
|
203 |
-
margin: -8px -8px 0;
|
204 |
-
background: #e6e6de;
|
205 |
-
font-size: 12px;
|
206 |
-
padding: 0 8px;
|
207 |
-
}
|
208 |
-
.dev_area pre{
|
209 |
-
font-size: 12px;
|
210 |
-
margin: 0;
|
211 |
-
}
|
212 |
-
.dev_area font{
|
213 |
-
color: rgb(201, 128, 110);
|
214 |
-
}
|
215 |
-
.dev_area pre small:nth-of-type(1) {
|
216 |
-
background: #e6e6de;
|
217 |
-
position: absolute;
|
218 |
-
top: 0;
|
219 |
-
right: 0;
|
220 |
-
padding: 4px;
|
221 |
-
}
|
222 |
-
.dev_area pre small{
|
223 |
-
font-size: 12px;
|
224 |
-
}
|
225 |
-
.dev_area pre i{
|
226 |
-
font-size: 12px;
|
227 |
-
color: #9973b9;
|
228 |
-
font-style: normal;
|
229 |
-
}
|
230 |
-
|
231 |
-
|
232 |
-
/*
|
233 |
-
タブコンテンツ
|
234 |
-
*/
|
235 |
|
236 |
.nav-tab{
|
237 |
cursor: pointer;
|
1 |
@charset "UTF-8";
|
2 |
+
|
3 |
#ssp_wrap{
|
4 |
box-sizing: border-box;
|
|
|
5 |
padding: 8px;
|
6 |
margin: 0 20px 20px 0;
|
7 |
}
|
11 |
|
12 |
#ssp_wrap #ssp_updated{
|
13 |
margin: 24px 0 24px;
|
14 |
+
}
|
15 |
+
|
16 |
+
/* devエリア */
|
17 |
+
.dev_area{
|
18 |
+
padding: 8px;
|
19 |
+
margin: 16px;
|
20 |
+
background: #fff;
|
21 |
+
box-shadow: inset 0 0 4px #ccc;
|
22 |
+
overflow: auto;
|
23 |
+
max-height: 400px;
|
24 |
+
position: relative;
|
25 |
+
}
|
26 |
+
|
27 |
+
.dev_area p{
|
28 |
+
margin: -8px -8px 0;
|
29 |
+
background: #e6e6de;
|
30 |
+
font-size: 12px;
|
31 |
+
padding: 0 8px;
|
32 |
+
}
|
33 |
+
.dev_area pre{
|
34 |
+
font-size: 12px;
|
35 |
+
margin: 0;
|
36 |
+
}
|
37 |
+
.dev_area font{
|
38 |
+
color: rgb(201, 128, 110);
|
39 |
+
}
|
40 |
+
.dev_area pre small:nth-of-type(1) {
|
41 |
+
background: #e6e6de;
|
42 |
+
position: absolute;
|
43 |
+
top: 0;
|
44 |
+
right: 0;
|
45 |
+
padding: 4px;
|
46 |
+
}
|
47 |
+
.dev_area pre small{
|
48 |
+
font-size: 12px;
|
49 |
+
}
|
50 |
+
.dev_area pre i{
|
51 |
+
font-size: 12px;
|
52 |
+
color: #9973b9;
|
53 |
+
font-style: normal;
|
54 |
+
}
|
55 |
+
|
56 |
+
|
57 |
+
/* フォームパーツ */
|
58 |
#ssp_wrap input[type="text"]{
|
59 |
width: 100%;
|
60 |
padding: 8px;
|
105 |
}
|
106 |
|
107 |
|
108 |
+
/* ssp form-table */
|
|
|
|
|
109 |
|
110 |
#ssp_wrap table.form-table th,
|
111 |
#ssp_wrap table.form-table td{
|
173 |
padding: 4px 8px;
|
174 |
}
|
175 |
|
176 |
+
#ssp_wrap #media_preview {
|
177 |
+
margin-bottom: 8px;
|
178 |
+
}
|
179 |
#ssp_wrap #media_preview img{
|
180 |
+
width: 400px;
|
181 |
}
|
182 |
#ssp_wrap #media_btn {
|
183 |
margin-right: 24px;
|
184 |
}
|
185 |
|
186 |
+
/* disable row */
|
187 |
+
|
|
|
|
|
|
|
|
|
188 |
tr[data-disable="1"] + tr,
|
189 |
tr[data-disable="1"] + tr + tr,
|
190 |
tr[data-disable="1"] + tr + tr + tr{
|
218 |
margin: 0 2px;
|
219 |
font-size: 13px;
|
220 |
border-radius: 4px;
|
|
|
221 |
background: rgb(135, 171, 135);
|
222 |
}
|
223 |
|
224 |
|
225 |
+
/* タブコンテンツ */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
.nav-tab{
|
228 |
cursor: pointer;
|
assets/img/noimg.gif
CHANGED
Binary file
|
class/ssp_metabox.php
CHANGED
@@ -97,8 +97,16 @@ class SSP_MetaBox {
|
|
97 |
return;
|
98 |
}
|
99 |
|
100 |
-
//
|
101 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
|
103 |
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
104 |
// :: 自動保存時にはメタボックスの内容を保存しないように、ここで処理を終える
|
97 |
return;
|
98 |
}
|
99 |
|
100 |
+
// SSPのnonceキーチェック
|
101 |
+
if ( ! isset( $_POST[SSP_Data::NOUNCE_NAME] ) ) {
|
102 |
+
return;
|
103 |
+
}
|
104 |
+
|
105 |
+
// Verify that the nonce is valid. nonceが正しいものか検証
|
106 |
+
if ( ! wp_verify_nonce( $_POST[SSP_Data::NOUNCE_NAME], SSP_Data::NOUNCE_ACTION ) ) {
|
107 |
+
return;
|
108 |
+
}
|
109 |
+
|
110 |
|
111 |
// If this is an autosave, our form has not been submitted, so we don't want to do anything.
|
112 |
// :: 自動保存時にはメタボックスの内容を保存しないように、ここで処理を終える
|
inc/page_help.php
CHANGED
@@ -43,8 +43,10 @@
|
|
43 |
?>
|
44 |
</tbody>
|
45 |
</table>
|
|
|
|
|
|
|
|
|
46 |
</div>
|
47 |
</div>
|
48 |
</div>
|
49 |
-
|
50 |
-
|
43 |
?>
|
44 |
</tbody>
|
45 |
</table>
|
46 |
+
|
47 |
+
<p>
|
48 |
+
「SEO SIMPLE PACK」に関する詳しい説明は <a href="https://wemo.tech/1670" target="blank_"> プラグインの使い方 </a> をご覧ください。
|
49 |
+
</p>
|
50 |
</div>
|
51 |
</div>
|
52 |
</div>
|
|
|
|
inc/parts/tab_webmaster.php
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
<tbody>
|
8 |
<?php
|
9 |
$webmas = [
|
10 |
-
'webmaster_google' => ['サーチコンソール', 'google-site-verification'],
|
11 |
'webmaster_bing' => ['Bing', 'msvalidate.01'],
|
12 |
'webmaster_baidu' => ['Baidu', 'baidu-site-verification'],
|
13 |
'webmaster_yandex' => ['Yandex', 'yandex-verification'],
|
7 |
<tbody>
|
8 |
<?php
|
9 |
$webmas = [
|
10 |
+
'webmaster_google' => ['Google サーチコンソール', 'google-site-verification'],
|
11 |
'webmaster_bing' => ['Bing', 'msvalidate.01'],
|
12 |
'webmaster_baidu' => ['Baidu', 'baidu-site-verification'],
|
13 |
'webmaster_yandex' => ['Yandex', 'yandex-verification'],
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://loos-web-studio.com/
|
|
4 |
Tags: SEO,meta,analytics,webmaster,simple,japan
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9.7
|
7 |
-
Stable tag: 1.0.
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -88,6 +88,9 @@ wp_head内( `_wp_render_title_tag` )で出力される`title`タグは削除す
|
|
88 |
|
89 |
== Changelog ==
|
90 |
|
|
|
|
|
|
|
91 |
= 1.0.8 =
|
92 |
スクリプトのjQuery依存を軽減
|
93 |
|
4 |
Tags: SEO,meta,analytics,webmaster,simple,japan
|
5 |
Requires at least: 4.6
|
6 |
Tested up to: 4.9.7
|
7 |
+
Stable tag: 1.0.9
|
8 |
Requires PHP: 5.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
88 |
|
89 |
== Changelog ==
|
90 |
|
91 |
+
= 1.0.9 =
|
92 |
+
他プラグインに影響を与える致命的なバグを改善。その他管理画面の微調整、コードの改善
|
93 |
+
|
94 |
= 1.0.8 =
|
95 |
スクリプトのjQuery依存を軽減
|
96 |
|
seo-simple-pack.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: SEO SIMPLE PACK
|
4 |
Plugin URI: https://wemo.tech/1670
|
5 |
Description: シンプルなSEOプラグイン。ページ種別・投稿ごとにmetaタグやOGPタグを簡単に設定・カスタマイズできます。
|
6 |
-
Version: 1.0.
|
7 |
Author: LOOS WEB STUDIO
|
8 |
Author URI: https://loos-web-studio.com/
|
9 |
License: GPL2
|
@@ -39,7 +39,7 @@ if ( ! function_exists( 'add_filter' ) ) {
|
|
39 |
* 定数宣言
|
40 |
*/
|
41 |
if ( ! defined( 'SSP_VERSION' ) ) {
|
42 |
-
define( 'SSP_VERSION', '1.0.
|
43 |
}
|
44 |
if ( ! defined( 'SSP_FILE' ) ) {
|
45 |
define( 'SSP_FILE', __FILE__ );
|
3 |
Plugin Name: SEO SIMPLE PACK
|
4 |
Plugin URI: https://wemo.tech/1670
|
5 |
Description: シンプルなSEOプラグイン。ページ種別・投稿ごとにmetaタグやOGPタグを簡単に設定・カスタマイズできます。
|
6 |
+
Version: 1.0.9
|
7 |
Author: LOOS WEB STUDIO
|
8 |
Author URI: https://loos-web-studio.com/
|
9 |
License: GPL2
|
39 |
* 定数宣言
|
40 |
*/
|
41 |
if ( ! defined( 'SSP_VERSION' ) ) {
|
42 |
+
define( 'SSP_VERSION', '1.0.9' );
|
43 |
}
|
44 |
if ( ! defined( 'SSP_FILE' ) ) {
|
45 |
define( 'SSP_FILE', __FILE__ );
|