-
Notifications
You must be signed in to change notification settings - Fork 8
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
Delete Taxonomy Terms - Based on postfix and prefix #178
Comments
Add Module for delete term by count Fix #178
|
@rajanit2000, The following WPSE answer should help you progress this issue. Let us know if you're able to make some progress. |
@mariadanieldeepak Its working fine for me, Can you please explain what is the issue, Please refer the screenshot |
@rajanit2000 What's your deletion criteria? I couldn't see any information on that. |
@mariadanieldeepak this issue fixed |
In previous i have check only include term ids in TermQuery, Now i check include and exclude term ids
|
@rajanit2000, Looking at your deletion criteria above, no tags should be deleted. Could you please retest and let us know? |
@mariadanieldeepak Sorry above screenshot is taken by mistake Here new one, Its working fine |
The method delete_terms_by_id uses an else expression. Else is never necessary and you can simplify the code to work without else. Fix #178
Add explicit query for Delete term by name test case Fix #178
The text was updated successfully, but these errors were encountered: