This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone --depth=1 -b $(curl -s https://api.github.com/repos/WordPress/WordPress/tags | grep -m 1 -o -E '[0-9\.]+') https://github.com/WordPress/WordPress.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const upsert = async (model, values, where, updateFn) => { | |
const obj = await model.findOne({ where }); | |
if (obj) { | |
if (typeof updateFn === 'function') { | |
return model.update(updateFn(obj, values), { where }); | |
} | |
return model.update(values, { where }); | |
} | |
return model.create(values); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, PropTypes } from 'react'; | |
class LoadingIndicator extends Component { | |
static propTypes = { | |
loading: PropTypes.bool.isRequired, | |
label: PropTypes.string.isRequired, | |
color: PropTypes.string, | |
}; | |
static defaultPropTypes = { |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Front to the WordPress application. This file doesn't do anything, but loads | |
* wp-blog-header.php which does and tells WordPress to load the theme. | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Tells WordPress to load the WordPress theme and output it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress の基本設定 | |
* | |
* このファイルは、インストール時に wp-config.php 作成ウィザードが利用します。 | |
* ウィザードを介さずにこのファイルを "wp-config.php" という名前でコピーして | |
* 直接編集して値を入力してもかまいません。 | |
* | |
* このファイルは、以下の設定を含みます。 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WordPress の基本設定 | |
* | |
* このファイルは、インストール時に wp-config.php 作成ウィザードが利用します。 | |
* ウィザードを介さずにこのファイルを "wp-config.php" という名前でコピーして | |
* 直接編集して値を入力してもかまいません。 | |
* | |
* このファイルは、以下の設定を含みます。 | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: JpSans; | |
font-style: normal; | |
font-weight: 400; | |
font-display: swap; | |
src: local("Hiragino Kaku Gothic ProN"), local("Noto Sans CJK JP Regular"), local("NotoSansCJKJP-Regular"), local("Noto Sans JP Regular"), local("NotoSansJP-Regular"), local("Yu Gothic Medium"), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff2) format('woff2'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.woff) format('woff'), url(//fonts.gstatic.com/ea/notosansjapanese/v6/NotoSansJP-Regular.otf) format('opentype'); | |
} | |
@font-face { | |
font-family: JpSans; |
OlderNewer