Changeset 1594917
- Timestamp:
- 02/13/2017 12:41:49 PM (3 years ago)
- Location:
- twentyfifteen-noto-sans-jp/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
twentyfifteen-noto-sans-jp/trunk/2015-notosans-ja.php
r1594495 r1594917 5 5 Plugin URI: https://hinaloe.net/portfolio/twentyfifteen-noto-sans-jp 6 6 Description: The font of TwentyFifteen is changed to a Japanese Gothic font. 7 Version: 0.2. 07 Version: 0.2.1 8 8 Author: Hinaloe 9 9 Author URI: https://hinaloe.net/ … … 15 15 16 16 require_once( dirname( __FILE__ ) . '/admin/customizer.php' ); 17 if ( is_admin() ) { require_once( dirname( __FILE__ ) . '/admin/editor-style.php' ); } 17 if ( is_admin() ) { 18 require_once( dirname( __FILE__ ) . '/admin/editor-style.php' ); 19 } 18 20 19 21 if ( ! function_exists( 'twentyfifteen_fonts_url' ) ) : … … 36 38 function tfnsj_font_weight_genearate_css( $important = false ) { 37 39 if ( $weights = get_option( 'tf_font_weight' ) ) { 38 $css = '';40 $css = ''; 39 41 $important = $important ? '!important' : ''; 40 42 if ( isset( $weights['normal'] ) ) { -
twentyfifteen-noto-sans-jp/trunk/admin/editor-style.php
r1594495 r1594917 1 1 <?php 2 2 3 if ( ! function_exists( 'add_action' ) ) { 3 4 exit; … … 56 57 } 57 58 58 TfNsJ_Admin_Style::init();59 add_action( 'admin_init', array( 'TfNsJ_Admin_Style', 'init' ) );
Note: See TracChangeset
for help on using the changeset viewer.