CLI 2.0 release 了.
一些好玩的新功能:
...
如果使用了 PL's alternative theme, 則需修改一下 PL-alternative_theme.php
1. 修改 $alternative_theme, 把 cli-10 改成 cli-20
$alternative_theme = 'cli-20';
2. 因為 cli.js.php 搬到 lib 下面了, 所以這裡也要改
if (strstr($_SERVER["SCRIPT_URI"] ,$alternative_theme_uri.'lib/cli.js.php')) return $alternative_theme;
3. GUI 的 URL 要記得從 Wordpress 的 admin 去設定, 直接改 functions.php 是沒用的.
目前發現幾個怪怪的地方:
1. 產生 cloud 時, 把 draft 也放進來了
2. ls -R 不作用
然後, ls 的結果不太一樣了, 現在是分目錄, 也就是說, 一開始的 ls 會顯示 authors, categories ... 必須要先 cd categories/xxx 之後才能 ls 到文章. 好像找不到指令是顯示某幾天內的文章.
最後, 可以直接從這裡連到我的 CLI 2.0 測試看看.
|
|
|
回應
[...] also posts some
[...] also posts some instruction on how to update the plugin so it works for CLI 2.0 theme. However the instruction is hackish, and not feasible for Joe [...]