Merge branch 'master' of github.com:typecho/typecho

This commit is contained in:
joyqi 2017-01-25 11:40:56 +08:00
commit 8ac87dd5b2
3 changed files with 4 additions and 2 deletions

View File

@ -60,7 +60,8 @@ a.balloon-button {
zoom: 1;
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius: 30px; }
border-radius: 30px;
white-space: nowrap; }
/* line 68, ../scss/style.scss */
a.button:hover, a.balloon-button:hover {

View File

@ -63,6 +63,7 @@ a.balloon-button {
-moz-border-radius: 30px;
-webkit-border-radius: 30px;
border-radius: 30px;
white-space: nowrap;
}
a.button:hover, a.balloon-button:hover {

View File

@ -1227,7 +1227,7 @@ class Widget_Archive extends Widget_Abstract_Contents
*/
public function select()
{
if ($this->_feed) {
if ($this->_invokeByFeed) {
// 对feed输出加入限制条件
return parent::select()->where('table.contents.allowFeed = ?', 1)
->where('table.contents.password IS NULL');