WordPressをssh2で更新する設定メモ
WordPressのアップデート機能でftpではなくsshによる更新が可能なことを知ったのでメモ なんでsshなのかというとftpサーバを立てたくないから。 icoro : WordPress on CentOS – S […]
WordPressのアップデート機能でftpではなくsshによる更新が可能なことを知ったのでメモ なんでsshなのかというとftpサーバを立てたくないから。 icoro : WordPress on CentOS – S […]
時間がないときのお茶濁エントリーです。 前回から引き続きやってみました。(前回の記事) 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 で修正されたファイルの一覧(日本語版)です。
1 2 3 4 5 6 7 8 9 10 11 12 |
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
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
*** 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プラグインのテストなのです。
Page optimized by WP Minify WordPress Plugin