Version Description
Download this release
Release Info
Developer | sakurainternet |
Plugin | TypeSquare Webfonts SAKURA for SAKURA Rental Server |
Version | 1.0.5 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.5
- inc/class/class.fonttheme.php +1 -1
- readme.txt +6 -2
- ts-webfonts-for-sakura.php +1 -1
- typesquare-admin.php +7 -2
inc/class/class.fonttheme.php
CHANGED
@@ -31,7 +31,7 @@ class TypeSquare_ST_Fonttheme {
|
|
31 |
'name' => 'ニュース',
|
32 |
'fonts' => array(
|
33 |
'title' => 'ゴシックMB101 B',
|
34 |
-
'lead' => 'カクミン
|
35 |
'content' => 'UD新ゴ R',
|
36 |
'bold' => 'UD新ゴ M',
|
37 |
),
|
31 |
'name' => 'ニュース',
|
32 |
'fonts' => array(
|
33 |
'title' => 'ゴシックMB101 B',
|
34 |
+
'lead' => 'カクミン R',
|
35 |
'content' => 'UD新ゴ R',
|
36 |
'bold' => 'UD新ゴ M',
|
37 |
),
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: SAKURA internet Inc.
|
|
3 |
Donate link:
|
4 |
Tags: font
|
5 |
Requires at least: 4.3.1
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -83,6 +83,10 @@ UD新ゴ R/UD新ゴ M/UD新ゴ コンデンス90 L/UD新ゴ コンデン
|
|
83 |
|
84 |
1.0.3:一覧ページで個別に設定されたテーマを解除できない場合がある不具合を修正
|
85 |
|
|
|
|
|
|
|
|
|
86 |
== Upgrade notice ==
|
87 |
|
88 |
== Arbitrary section 1 ==
|
3 |
Donate link:
|
4 |
Tags: font
|
5 |
Requires at least: 4.3.1
|
6 |
+
Tested up to: 4.7
|
7 |
+
Stable tag: 1.0.5
|
8 |
License: GPLv3 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
83 |
|
84 |
1.0.3:一覧ページで個別に設定されたテーマを解除できない場合がある不具合を修正
|
85 |
|
86 |
+
1.0.4:ニューステーマにおいて本来利用できない「カクミンM」が使われていたため、「カクミンR」に修正
|
87 |
+
|
88 |
+
1.0.5:PHPの設定によってカスタムフォントテーマ編集時にエラーが表示される場合がある不具合を修正
|
89 |
+
|
90 |
== Upgrade notice ==
|
91 |
|
92 |
== Arbitrary section 1 ==
|
ts-webfonts-for-sakura.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: TS Webfonts for SAKURA RS
|
4 |
-
Version: 1.0.
|
5 |
Description: さくらのレンタルサーバで株式会社モリサワ提供のWebフォント30書体が無料で利用できるプラグインです。
|
6 |
Author: SAKURA Internet Inc.
|
7 |
Author URI: http://www.sakura.ne.jp/
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: TS Webfonts for SAKURA RS
|
4 |
+
Version: 1.0.5
|
5 |
Description: さくらのレンタルサーバで株式会社モリサワ提供のWebフォント30書体が無料で利用できるプラグインです。
|
6 |
Author: SAKURA Internet Inc.
|
7 |
Author URI: http://www.sakura.ne.jp/
|
typesquare-admin.php
CHANGED
@@ -23,6 +23,7 @@ class TypeSquare_Admin extends TypeSquare_Admin_Base {
|
|
23 |
add_action( 'admin_menu', array( $this, 'typesquare_setting_menu' ) );
|
24 |
add_action( 'admin_menu', array( $root, 'typesquare_post_metabox' ) );
|
25 |
add_action( 'admin_init', array( $this, 'typesquare_admin_init' ) );
|
|
|
26 |
add_action( 'admin_notices', array( $root, 'typesquare_admin_notices' ) );
|
27 |
add_action( 'save_post', array( $root, 'typesquare_save_post' ) );
|
28 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_theme_style' ) );
|
@@ -101,8 +102,12 @@ class TypeSquare_Admin extends TypeSquare_Admin_Base {
|
|
101 |
if ( check_admin_referer( 'ts_update_font_settings', 'ts_update_font_settings' ) ) {
|
102 |
$fonts = TypeSquare_ST_Fonts::get_instance();
|
103 |
$fonts->update_font_theme_setting();
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
|
|
106 |
if ( check_admin_referer( 'ts_update_font_name_setting', 'ts_update_font_name_setting' ) ) {
|
107 |
$fonts = TypeSquare_ST_Fonts::get_instance();
|
108 |
if ( 'delete' == $_POST['ts_edit_mode'] ) {
|
23 |
add_action( 'admin_menu', array( $this, 'typesquare_setting_menu' ) );
|
24 |
add_action( 'admin_menu', array( $root, 'typesquare_post_metabox' ) );
|
25 |
add_action( 'admin_init', array( $this, 'typesquare_admin_init' ) );
|
26 |
+
add_action( 'admin_notices', array( $this, 'typesquare_admin_init_notices' ) );
|
27 |
add_action( 'admin_notices', array( $root, 'typesquare_admin_notices' ) );
|
28 |
add_action( 'save_post', array( $root, 'typesquare_save_post' ) );
|
29 |
add_action( 'admin_enqueue_scripts', array( $this, 'admin_theme_style' ) );
|
102 |
if ( check_admin_referer( 'ts_update_font_settings', 'ts_update_font_settings' ) ) {
|
103 |
$fonts = TypeSquare_ST_Fonts::get_instance();
|
104 |
$fonts->update_font_theme_setting();
|
105 |
+
}
|
106 |
+
}
|
107 |
+
}
|
108 |
+
|
109 |
+
public function typesquare_admin_init_notices() {
|
110 |
+
if ( isset( $_POST['ts_update_font_name_setting'] ) && $_POST['ts_update_font_name_setting'] ) {
|
111 |
if ( check_admin_referer( 'ts_update_font_name_setting', 'ts_update_font_name_setting' ) ) {
|
112 |
$fonts = TypeSquare_ST_Fonts::get_instance();
|
113 |
if ( 'delete' == $_POST['ts_edit_mode'] ) {
|