diff --git a/admin/admin-dashboard.php b/admin/admin-dashboard.php index 8967302d58f..84c3bd871b1 100644 --- a/admin/admin-dashboard.php +++ b/admin/admin-dashboard.php @@ -21,7 +21,7 @@ function woocommerce_dashboard() { ?>

-

+

@@ -102,7 +102,7 @@ function woocommerce_dashboard() {
10, + 'numberposts' => 8, 'orderby' => 'post_date', 'order' => 'DESC', 'post_type' => 'shop_order', @@ -202,7 +202,7 @@ function woocommerce_dashboard() {
-
+
- -
-

-
- get_item_quantity(5); - $rss_items = $rss->get_items(0, $maxitems); - - if ( $maxitems > 0 ) : - - echo '
    '; - - foreach ( $rss_items as $item ) : - - $title = wptexturize($item->get_title(), ENT_QUOTES, "UTF-8"); - - $link = $item->get_permalink(); - - $date = $item->get_date('U'); - - if ( ( abs( time() - $date) ) < 86400 ) : // 1 Day - $human_date = sprintf(__('%s ago', 'woothemes'), human_time_diff($date)); - else : - $human_date = date(__('F jS Y', 'woothemes'), $date); - endif; - - echo '
  • '.$title.''.$human_date.'
  • '; - - endforeach; - - echo '
'; - - else : - echo '
  • '.__('No items found.', 'woothemes').'
'; - endif; - - else : - echo '
  • '.__('No items found.', 'woothemes').'
'; - endif; - - } - ?> -
-

@@ -519,22 +467,16 @@ function woocommerce_dashboard() {