PluginProbe
MainWP Dashboard: Self-hosted WordPress Management for Agencies / 6.2.1
MainWP Dashboard: Self-hosted WordPress Management for Agencies v6.2.1
6.2.3 6.2.2 6.2.1 6.2 6.1.8 6.1.7 6.1.6 6.1.5 6.1.4 6.1.3 6.1.2 6.1.1 6.1 6.0.12 6.0.11 4.6.0.1 5.0 5.0.1 5.0.2 5.0.3 5.0.3.1 5.0.3.2 5.1 5.1.1 5.2 All 156 releases
← All changes | widgets/widget-mainwp-connection-status.php +2 -8 6.1.6 → 6.2.1 View file →
@@ -356,8 +356,9 @@
356 356 }
357 357 },
358 358 "layout": {
359 359 "topStart": null,
360 + "topEnd": null,
360 361 "bottomEnd": {
361 362 "paging": {
362 363 "numbers": <?php echo intval( $table_features['numbers'] ); ?>
363 364 }
@@ -455,15 +456,8 @@
455 456
456 457 $per_page = isset( $_POST['per_page'] ) ? intval( wp_unslash( $_POST['per_page'] ) ) : 25; // phpcs:ignore -- NOSONAR - ok.
457 458 $page = isset( $_POST['page'] ) ? intval( wp_unslash( $_POST['page'] ) ) : 1; // phpcs:ignore -- NOSONAR - ok.
458 459
459 - $req_order = null;
460 -
461 - if ( isset( $_REQUEST['order'] ) ) {
462 - $order_values = MainWP_Utility::instance()->get_table_orders( $_REQUEST );
463 - $req_order = $order_values['order'];
464 - }
465 -
466 460 $perPage = isset( $_REQUEST['length'] ) ? intval( $_REQUEST['length'] ) : 25;
467 461 $start = isset( $_REQUEST['start'] ) ? intval( $_REQUEST['start'] ) : 0;
468 462
469 463 // phpcs:enable WordPress.Security.NonceVerification,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
@@ -482,9 +476,9 @@
482 476 'select_sync_fields' => $sync_fields,
483 477 'status' => $status,
484 478 'offset' => $start,
485 479 'rowcount' => $perPage,
486 - 'orderby' => 'wp.id ' . ( 'asc' === $req_order ? 'asc' : 'desc' ),
480 + 'orderby' => 'wp.url',
487 481 'view' => 'custom_view',
488 482 'others_fields' => array(),
489 483 );
490 484