plugin updates
This commit is contained in:
@@ -106,4 +106,15 @@ class LegacyProxy {
|
||||
public function get_global( string $global_name ) {
|
||||
return $GLOBALS[ $global_name ];
|
||||
}
|
||||
|
||||
/**
|
||||
* Terminates execution of the script.
|
||||
*
|
||||
* @param int|string $status An error code to be returned, or an error message to be shown.
|
||||
* @return void
|
||||
*/
|
||||
public function exit( $status = '' ) {
|
||||
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
|
||||
exit( $status );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user