/var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/includes
NameSizeModeActions
admin/-0755rm
api/-0755rm
database/-0755rm
deprecated/-0755rm
donors/-0755rm
emails/-0755rm
forms/-0755rm
frontend/-0755rm
gateways/-0755rm
libraries/-0755rm
payments/-0755rm
actions.php97230644editdlrm
ajax-functions.php208420644editdlrm
class-give-async-process.php11770644editdlrm
class-give-background-updater.php131100644editdlrm
class-give-cache-setting.php64020644editdlrm
class-give-cache.php181860644editdlrm
class-give-cli-commands.php331540644editdlrm
class-give-comment.php173860644editdlrm
class-give-cron.php51570644editdlrm
class-give-donate-form.php240780644editdlrm
class-give-donor.php410070644editdlrm
class-give-email-access.php85030644editdlrm
class-give-license-handler.php276100644editdlrm
class-give-logging.php74920644editdlrm
class-give-readme-parser.php12590644editdlrm
class-give-roles.php107830644editdlrm
class-give-scripts.php251590644editdlrm
class-give-session.php151640644editdlrm
class-give-stats.php120490644editdlrm
class-give-template-loader.php36380644editdlrm
class-give-tooltips.php46700644editdlrm
class-give-translation.php84660644editdlrm
class-notices.php194010644editdlrm
country-functions.php779720644editdlrm
currencies-list.php489370644editdlrm
currency-functions.php117840644editdlrm
error-tracking.php29960644editdlrm
filters.php89460644editdlrm
formatting.php252060644editdlrm
install.php165350644editdlrm
login-register.php105780644editdlrm
misc-functions.php1132970644editdlrm
plugin-compatibility.php32470644editdlrm
post-types.php182240644editdlrm
price-functions.php28950644editdlrm
process-donation.php479790644editdlrm
setting-functions.php44610644editdlrm
shortcodes.php298230644editdlrm
template-functions.php132920644editdlrm
user-functions.php161450644editdlrm
Edit: /var/www/vhosts/ihelp.ro/ajutam.ro/wp-content/plugins/give/includes/error-tracking.php (2996B)
session->get( 'give_errors' ); } /** * Set Error * * Stores an error in a session var. * * @since 1.0 * @uses Give_Session::get() * * @param int $error_id ID of the error being set. * @param string $error_message Message to store with the error. * @param array $notice_args * * @return void */ function give_set_error( $error_id, $error_message, $notice_args = array() ) { $errors = give_get_errors(); if ( ! $errors ) { $errors = array(); } if ( is_array( $notice_args ) && ! empty( $notice_args ) ) { $errors[ $error_id ] = array( 'message' => $error_message, 'notice_args' => $notice_args, ); } else { // Backward compatibility v<1.8.11. $errors[ $error_id ] = $error_message; } Give()->session->set( 'give_errors', $errors ); } /** * Clears all stored errors. * * @since 1.0 * @uses Give_Session::set() * @return void */ function give_clear_errors() { Give()->session->set( 'give_errors', null ); } /** * Removes (unsets) a stored error * * @since 1.0 * @uses Give_Session::set() * * @param int $error_id ID of the error being set. * * @return void */ function give_unset_error( $error_id ) { $errors = give_get_errors(); if ( $errors ) { /** * Check If $error_id exists in the array. * If exists then unset it. * * @since 1.8.13 */ if ( isset( $errors[ $error_id ] ) ) { unset( $errors[ $error_id ] ); } Give()->session->set( 'give_errors', $errors ); } } /** * Register die handler for give_die() * * @since 1.0 * @return string */ function _give_die_handler() { if ( defined( 'GIVE_UNIT_TESTS' ) ) { return '_give_die_handler'; } else { die(); } } /** * Wrapper function for wp_die(). This function adds filters for wp_die() which * kills execution of the script using wp_die(). This allows us to then to work * with functions using give_die() in the unit tests. * * @since 1.0 * * @param string $message Message to store with the error. * @param string $title Error title. * @param int $status HTTP status code.. * * @return void */ function give_die( $message = '', $title = '', $status = 400 ) { add_filter( 'wp_die_ajax_handler', '_give_die_handler', 10, 3 ); add_filter( 'wp_die_json_handler', '_give_die_handler', 10, 3 ); add_filter( 'wp_die_handler', '_give_die_handler', 10, 3 ); wp_die( $message, $title, array( 'response' => $status ) ); }