diff --git a/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-home.php b/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-home.php
index 5265755f05..81b2952309 100644
--- a/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-home.php
+++ b/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-home.php
@@ -7,14 +7,14 @@
// Groups jobs according to job category.
foreach ( $job_categories as $i => $category ) {
- $job_category_jobs[ $category->slug ] = Jobs_Dot_WP::get_jobs_for_category( $category );
- $latest_post = $job_category_jobs[ $category->slug ][0];
+ $job_category_jobs[ $category->slug ] = Jobs_Dot_WP::get_jobs_for_category( $category );
+ $latest_post = $job_category_jobs[ $category->slug ][0];
// Add key for sorting.
$job_categories[ $i ]->latest_post_date = $latest_post ? $latest_post->post_date : '0';
}
-// Sort job categories according to recency of latest post.
$job_categories = wp_list_sort( $job_categories, [ 'latest_post_date' => 'DESC', 'name' => 'ASC' ] );
+// Sort job categories according to recency of latest post.
// Display the categories and their jobs.
foreach ( $job_categories as $category ) {
diff --git a/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content.php b/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content.php
index 2b79a996cf..2f3becf030 100644
--- a/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content.php
+++ b/jobs.wordpress.net/public_html/wp-content/themes/jobswp/content.php
@@ -8,7 +8,7 @@