1.1.9
This commit is contained in:
parent
b3b1407647
commit
4c1c795dc2
File diff suppressed because one or more lines are too long
|
@ -981,10 +981,11 @@ function get_article_info($atts) {
|
|||
if (!$post) {
|
||||
return '未找到文章';
|
||||
}
|
||||
$post = Typecho_Widget::widget('Widget_Abstract_Contents')->push($post);
|
||||
$summary = get_article_summary($post);
|
||||
$permalink = $post['permalink'];
|
||||
$title = htmlspecialchars($post['title']);
|
||||
// 获取文章对象,避免permalink警告
|
||||
$widget = Typecho_Widget::widget('Widget_Archive@article_quote_' . $post['cid'], 'cid=' . $post['cid'], null, false);
|
||||
$permalink = $widget->permalink;
|
||||
$title = htmlspecialchars($widget->title);
|
||||
$summary = get_article_summary($widget);
|
||||
|
||||
$output = '<blockquote class="article-quote">';
|
||||
$output .= '<div class="t-lg t-line-1">';
|
||||
|
|
Loading…
Reference in New Issue