Skip to content
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

Inconsistency in the variable type of the function #6

Open
Gonzalo2310 opened this issue Oct 6, 2020 · 0 comments
Open

Inconsistency in the variable type of the function #6

Gonzalo2310 opened this issue Oct 6, 2020 · 0 comments

Comments

@Gonzalo2310
Copy link

When I make ajax calls I get a plugin error.
Looking at the code I found this in: wp-media-categories/wp-media-categories/includes/functions.php

function wp_media_categories_update_count_callback( $terms = array(), $media_taxonomy = 'media_category' )
$prepared = $wpdb->prepare( $sql, $media_taxonomy->name, $media_taxonomy->name );

$media_taxonomy is defined as a string but used as an object.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant