wordpressの個人設定メモ。

2014.04.07 Utility 

毎回忘れそうなので。

所有権を渡す、返す

$ sudo chown -R hoge:hoge wp

月表示を英字にする

/wp-includes/locale.php #130

// The Months
// $this->month['01'] = /* translators: month name */ __('January');
// $this->month['02'] = /* translators: month name */ __('February');
// $this->month['03'] = /* translators: month name */ __('March');
// $this->month['04'] = /* translators: month name */ __('April');
// $this->month['05'] = /* translators: month name */ __('May');
// $this->month['06'] = /* translators: month name */ __('June');
// $this->month['07'] = /* translators: month name */ __('July');
// $this->month['08'] = /* translators: month name */ __('August');
// $this->month['09'] = /* translators: month name */ __('September');
// $this->month['10'] = /* translators: month name */ __('October');
// $this->month['11'] = /* translators: month name */ __('November');
// $this->month['12'] = /* translators: month name */ __('December');
$this->month['01'] = 'January';
$this->month['02'] = 'February';
$this->month['03'] = 'March';
$this->month['04'] = 'April';
$this->month['05'] = 'May';
$this->month['06'] = 'June';
$this->month['07'] = 'July';
$this->month['08'] = 'August';
$this->month['09'] = 'September';
$this->month['10'] = 'October';
$this->month['11'] = 'November';
$this->month['12'] = 'December';

/wp-includes/general-template.php #1410

$text = sprintf(__('%1$s, %2$d'), $wp_locale->get_month($result->month), $result->year);

他なんかあったっけな。。
なんか忘れてたら追記します。。

you

© rettuce.com