$aeolynx_post_types, 'post_status' => 'publish', 'posts_per_page' => 30, 'orderby' => 'modified', 'order' => 'DESC', ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended $aeolynx_selected_id = isset( $_GET['post_id'] ) ? absint( wp_unslash( $_GET['post_id'] ) ) : 0; if ( $aeolynx_selected_id <= 0 && ! empty( $aeolynx_posts[0] ) ) { $aeolynx_selected_id = (int) $aeolynx_posts[0]->ID; } $aeolynx_initial_post = $aeolynx_selected_id > 0 ? get_post( $aeolynx_selected_id ) : null; $aeolynx_initial_report = ( $aeolynx_initial_post instanceof WP_Post ) ? AEOLynx_Activity_Log::run_post_xray_audit( $aeolynx_initial_post ) : null; if ( $aeolynx_initial_report ) { $aeolynx_band = $aeolynx_initial_report['score'] < 60 ? 'fail' : ( $aeolynx_initial_report['score'] < 90 ? 'warn' : 'pass' ); } ?>
Grade