-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Fix PHP7 Compatibility issues #3830
Conversation
@sc0ttkclark Please check deprecated.php.
What would you like to do with this function? Is it even used anywhere? |
|
||
$column_data = array(); | ||
|
||
while ( $column_row = mysql_fetch_assoc( $describe_data ) ) { | ||
foreach ( $describe_data as $column_row ) { | ||
$column_data[] = $column_row; | ||
} | ||
|
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.
This function could be simplified by just using $describe_data
instead of creating a new var ($column_data
) since the contents will be the same when using $wpdb
.
If there's a way to refactor pod_query to act like it does now but have it work, great. Otherwise I'm okay with throwing doing it wrong notices and map the query directly to pods_query() because we can't do anything further at that point. |
See #3828