Plugin Directory

Changeset 2059572


Ignore:
Timestamp:
03/29/2019 10:51:13 AM (7 years ago)
Author:
sujin2f
Message:

4.0

  • ES6, SCSS, PHPCS
  • Fixing Errors
  • Unit Test
  • Gutenberg Support
Location:
korean-spell-checker/trunk
Files:
36 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • korean-spell-checker/trunk

    • Property svn:ignore set to
      .git
      .gitignore
      node_modules
      vendor
  • korean-spell-checker/trunk/korean-spell-checker.php

    r1315991 r2059572  
    44 * Plugin URI: http://www.sujinc.com/
    55 * Description: 워드프레스 리치 에디터에 한글 맞춤법 검사기로 바로 가는 버튼을 삽입합니다. 이제 쪽팔리게 맞춤법 틀리지 마세요. (저도 못하지만)
    6  * Version: 3.1
     6 * Version: 4.0
    77 * Author: Sujin 수진 Choi
    88 * Author URI: http://www.sujinc.com/
     
    1111 */
    1212
    13 if ( !defined( 'ABSPATH' ) ) {
     13if ( ! defined( 'ABSPATH' ) ) {
    1414    header( 'Status: 403 Forbidden' );
    1515    header( 'HTTP/1.1 403 Forbidden' );
     
    1717}
    1818
    19 # Definitions
    20 if ( !defined( 'KSC_PLUGIN_NAME' ) ) {
    21     $basename = trim( dirname( plugin_basename( __FILE__ ) ), '/' );
    22     if ( !is_dir( WP_PLUGIN_DIR . '/' . $basename ) ) {
    23         $basename = explode( '/', $basename );
    24         $basename = array_pop( $basename );
    25     }
     19include_once( plugin_dir_path( __FILE__ ) . 'classes/class-base.php' );
     20include_once( plugin_dir_path( __FILE__ ) . 'classes/class-editor.php' );
     21include_once( plugin_dir_path( __FILE__ ) . 'classes/class-gutenberg.php' );
    2622
    27     define( 'KSC_PLUGIN_NAME', $basename );
    28 
    29     if ( !defined( 'KSC_PLUGIN_BASE' ) )
    30         define( 'KSC_PLUGIN_BASE', WP_PLUGIN_DIR . '/' . KSC_PLUGIN_NAME . '/' . basename(__FILE__) );
    31 
    32     if ( !defined( 'KSC_PLUGIN_DIR' ) )
    33         define( 'KSC_PLUGIN_DIR', WP_PLUGIN_DIR . '/' . KSC_PLUGIN_NAME );
    34 
    35     if ( !defined( 'KSC_CLASS_DIR' ) )
    36         define( 'KSC_CLASS_DIR', WP_PLUGIN_DIR . '/' . KSC_PLUGIN_NAME . '/classes/' );
    37 
    38     if ( !defined( 'KSC_VIEW_DIR' ) )
    39         define( 'KSC_VIEW_DIR', WP_PLUGIN_DIR . '/' . KSC_PLUGIN_NAME . '/views/' );
    40 
    41     if ( !defined( 'KSC_ASSETS_URL' ) )
    42         define( 'KSC_ASSETS_URL', plugin_dir_url( __FILE__ ) . 'assets/' );
    43 }
    44 
    45 # Load Classes
    46 include_once( KSC_CLASS_DIR . 'mce.php');
    47 include_once( KSC_CLASS_DIR . 'init.php');
    48 
    49 KSC::initialize();
     23Sujin\Wordpress\Plugin\Korean_Spell_Checker::get_instance();
  • korean-spell-checker/trunk/readme.txt

    r1315991 r2059572  
    11=== 한글 맞춤법 검사기 - Korean Spell Checker! ===
    22Contributors: sujin2f
    3 Donate link: http://www.sujinc.com/lab/korean-spell-checker/
     3Donate link: http://sujinc.com/donation
    44Tags: korean, spell, tinymce, 한글
    55Requires at least: 2.8
    66Tested up to: 4.4
    7 Stable tag: 3.1
     7Stable tag: 4.0.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828
    2929== Changelog ==
     30= 4.0.0 =
     31* 부산대 API 주소 수정
     32* SCSS, ES6, PHPCS 적용
     33* Gutenberg 지원
     34
    3035= 3.1 =
    3136* 에러 수정
Note: See TracChangeset for help on using the changeset viewer.