-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue/2493 #2494
Issue/2493 #2494
Conversation
includes/class-give-email-access.php
Outdated
|
||
// Columns added properly | ||
if ( $query ) { | ||
give_update_option( 'email_access_installed', 1 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mehul0810 Write automatic upgrade to remove email_access_installed
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ravinderk Added Automatic Upgrade as well as improved the functioning of creating columns as discussed over call.
* | ||
* @return bool | ||
*/ | ||
public function is_column_exists( $column_name ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mehul0810 I'd love to get this renamed to does_column_exist( $column_name )
pre-1.8.18 release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mehul0810 I'll update it
…_column_exist` - revises PR #2494
Description
This PR resolved #2493
How Has This Been Tested?
I've tested this by setting
email_access_installed
tofalse
and then confirming whether the notice still appears in error log or not.Types of changes
Bug fix (non-breaking change which fixes an issue)
Checklist: