WordPressをssh2で更新する設定メモ
WordPressのアップデート機能でftpではなくsshによる更新が可能なことを知ったのでメモ なんでsshなのかというとftpサーバを立てたくないから。 icoro : WordPress on CentOS – SSHで自動アップデートするには http://www.icoro.com/201001204678.html 基本的には上記記事を参考にすればOK [ad] ...
WordPressのアップデート機能でftpではなくsshによる更新が可能なことを知ったのでメモ なんでsshなのかというとftpサーバを立てたくないから。 icoro : WordPress on CentOS – SSHで自動アップデートするには http://www.icoro.com/201001204678.html 基本的には上記記事を参考にすればOK [ad] ...
時間がないときのお茶濁エントリーです。 前回から引き続きやってみました。(前回の記事) wordpress 2.9.1 から 2.9.2 で修正されたファイルの一覧(日本語版)です。 今回は少なめですね。 ...
遅ればせながら、明けましておめでとうございます。 前回から引き続きやってみました。(前回の記事) wordpress 2.9 から 2.9.1 で修正されたファイルの一覧(日本語版)です。 ...
また、何となくですがやってみました。(前回の記事) wordpress 2.8.6から 2.9 で修正されたファイルの一覧(日本語版)です。 ...
たまには更新しないとな、ということで子ネタ。 wordpress 2.8.5から 2.8.6 で修正されたファイルの一覧(日本語版)です。 wordpress/readme.html wordpress/wp-admin/press-this.php wordpress/wp-content/languages/continents-cities-ja.po wordpress/wp-content/languages/ja.mo wordpress/wp-content/languages/ja.po wordpress/wp-content/plugins/akismet/akismet.php wordpress/wp-content/plugins/akismet/readme.txt wordpress/wp-content/themes/default/style.css wordpress/wp-includes/formatting.php wordpress/wp-includes/functions.php wordpress/wp-includes/js/swfupload/plugins/swfupload.speed.js wordpress/wp-includes/version.php これを、tarとかで固めてアップロードすれば、全部アップロードするより早いのかなと。 ...
適当すぎるけどこんな感じのパッチ。 wp-to-twitter-mb.patch *** wp-to-twitter.php 2009-08-20 22:04:29.000000000 +0900 --- wp-to-twitter-fixed.php 2009-08-20 22:36:38.000000000 +0900 *************** *** 206,227 **** $sentence = $sentence . " " . get_option( 'jd_twit_append' ); } ! $twit_length = strlen( $sentence ); ! $title_length = strlen( $thisposttitle ); ! $blog_length = strlen( $thisblogtitle ); if ( ( ( $twit_length + $title_length ) - 7 ) < 140 ) { $sentence = str_ireplace( '#title#', $thisposttitle, $sentence ); ! $twit_length = strlen( $sentence ); } else { ! $thisposttitle = substr( $thisposttitle, 0, ( 140- ( $twit_length-3 ) ) ) . "..."; $sentence = str_ireplace ( '#title#', $thisposttitle, $sentence ); ! $twit_length = strlen( $sentence ); } if ( ( ( $twit_length + $blog_length ) - 6 ) < 140 ) { $sentence = str_ireplace ( '#blog#',$thisblogtitle,$sentence ); ! $twit_length = strlen( $sentence ); } else { ! $thisblogtitle = substr( $thisblogtitle, 0, ( 140-( $twit_length-3 ) ) ) . "..."; $sentence = str_ireplace ( '#blog#',$thisblogtitle,$sentence ); } return $sentence; --- 206,230 ---- $sentence = $sentence . " " . get_option( 'jd_twit_append' ); } ! mb_internal_encoding('UTF-8'); ! $thisposttitle = urldecode($thisposttitle); ! $thisblogtitle = urldecode($thisblogtitle); ! $twit_length = mb_strlen( $sentence ); ! $title_length = mb_strlen( $thisposttitle ); ! $blog_length = mb_strlen( $thisblogtitle ); if ( ( ( $twit_length + $title_length ) - 7 ) < 140 ) { $sentence = str_ireplace( '#title#', $thisposttitle, $sentence ); ! $twit_length = mb_strlen( $sentence ); } else { ! $thisposttitle = mb_substr( $thisposttitle, 0, ( 140- ( $twit_length-3 ) ) ) . "..."; $sentence = str_ireplace ( '#title#', $thisposttitle, $sentence ); ! $twit_length = mb_strlen( $sentence ); } if ( ( ( $twit_length + $blog_length ) - 6 ) < 140 ) { $sentence = str_ireplace ( '#blog#',$thisblogtitle,$sentence ); ! $twit_length = mb_strlen( $sentence ); } else { ! $thisblogtitle = mb_substr( $thisblogtitle, 0, ( 140-( $twit_length-3 ) ) ) . "..."; $sentence = str_ireplace ( '#blog#',$thisblogtitle,$sentence ); } return $sentence;
WPtoTwitterプラグインのテストなのです。