Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/jetpack/modules/widgets
File: simple-payments.php
<?php // phpcs:ignore WordPress.Files.FileName.InvalidClassFileName
[0] Fix | Delete
[1] Fix | Delete
// phpcs:disable Universal.Files.SeparateFunctionsFromOO.Mixed -- TODO: Move classes to appropriately-named class files.
[2] Fix | Delete
[3] Fix | Delete
use Automattic\Jetpack\Paypal_Payments\Simple_Payments;
[4] Fix | Delete
[5] Fix | Delete
// Disable direct access/execution to/of the widget code.
[6] Fix | Delete
if ( ! defined( 'ABSPATH' ) ) {
[7] Fix | Delete
exit( 0 );
[8] Fix | Delete
}
[9] Fix | Delete
[10] Fix | Delete
add_action( 'widgets_init', array( Simple_Payments::class, 'register_widget_simple_payments' ) );
[11] Fix | Delete
[12] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function