Changeset 3874:ab8368569446 for plugins/widgets/_widgets_functions.php
- Timestamp:
- 09/14/18 12:16:17 (7 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/widgets/_widgets_functions.php
r3751 r3874 91 91 } 92 92 93 $rs = $core->blog->getCategories( array('post_type' => 'post', 'without_empty' => !$w->with_empty));93 $rs = $core->blog->getCategories(['post_type' => 'post', 'without_empty' => !$w->with_empty]); 94 94 if ($rs->isEmpty()) { 95 95 return; … … 145 145 } 146 146 147 $params = array(147 $params = [ 148 148 'post_selected' => true, 149 149 'no_content' => true, 150 150 'order' => 'post_dt ' . strtoupper($w->orderby) 151 );151 ]; 152 152 153 153 $rs = $core->blog->getPosts($params);
Note: See TracChangeset
for help on using the changeset viewer.