fixed undefined constant SECURE_AUTH_COOKIE #2521
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://app.clickup.com/t/86cv128j5
fixed undefined constant SECURE_AUTH_COOKIE due to current_user_can function
PHP Fatal error: Uncaught Error: Undefined constant "SECURE_AUTH_COOKIE" in /.../wp-includes/pluggable.php:929 Stack trace: #0 /.../wp-includes/pluggable.php(694): wp_parse_auth_cookie(false, '') #1 /.../wp-includes/class-wp-hook.php(324): wp_validate_auth_cookie(false) #2 /.../wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array) #3 /.../wp-includes/user.php(3628): apply_filters('determine_curre...', false) #4 /.../wp-includes/pluggable.php(70): _wp_get_current_user() #5 /.../wp-includes/capabilities.php(877): wp_get_current_user() #6 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(172): current_user_can('manage_options') #7 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(194): MLWQuizMasterNext->qsm_is_admin() #8 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(160): MLWQuizMasterNext->load_dependencies() #9 /.../wp-content/plugins/quiz-master-next/mlw_quizmaster2.php(748): MLWQuizMasterNext->__construct() #10 /.../wp-settings.php(418): include_once('/home/ofclight/...') #11 /.../wp-config.php(234): require_once('/...') #12 /.../wp-load.php(50):
Merge Checklist
Please check all of the following items before merging