Skip to content

Breaks wp_get_object_terms when orderby is set to 'none' #6

@tannerm

Description

@tannerm

I was having some really weird issues where saving an objects term would only append the term and would not overwrite. I found out it had to do with the terms_clauses function which adds its own order sql. The problem is that when the original orderby is set to 'none' the SQL generated has two ending ASC.

Let me know if this doesn't make sense.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions