Completed
Pull Request — develop (#1698)
by
unknown
01:14
created
src/modules/dashboard/includes/Post_Entity_Match/Sort.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,11 +10,9 @@
 block discarded – undo
10 10
 		$tmp_sort_field_name = substr( $this->sort, 1 );
11 11
 		if ( 'id' === $tmp_sort_field_name ) {
12 12
 			return 'p.ID';
13
-		}
14
-        elseif ('date_modified_gmt' === $tmp_sort_field_name) {
13
+		} elseif ('date_modified_gmt' === $tmp_sort_field_name) {
15 14
             return 'p.post_modified_gmt';
16
-        }
17
-        else {
15
+        } else {
18 16
 			return 'p.post_title';
19 17
 		}
20 18
 	}
Please login to merge, or discard this patch.
src/modules/dashboard/includes/Term_Entity_Match/Sort.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
             //@todo -not sure what this is
17 17
         } elseif('occurrences'){
18 18
             //@todo
19
-        }
20
-        else {
19
+        } else {
21 20
 			return 't.name';
22 21
 		}
23 22
 	}
Please login to merge, or discard this patch.