wp-admin/includes/class-wp-plugin-install-list-table.php:291 public function no_items() { if ( isset( $this->error ) ) { $error_message = '<p>' . $this->error->get_error_message() . '</p>'; $error_message .= '<p class="hide-if-no-js"><button class="button try-again">' . __( 'Try Again' ) . '</button></p>'; wp_admin_notice( $error_message, array( 'additional_classes' => array( 'inline', 'error' ), 'paragraph_wrap' => false, ) ); ?> <?php } else { ?> <div class="no-plugin-results"><?php _e( 'No plugins found. Try a different search.' ); ?></div> <?php } }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-admin/includes/class-wp-plugin-install-list-table.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.