Support » Plugin: LH User Taxonomies » Bug?: Unsetting values on save doesn’t work

  • Resolved parakeet

    (@parakeet)


    I think I have found an issue, and I’m curious whether anyone has solved it…

    On a backend User profile edit page…

    If a User already has a checked taxonomy term, but I want to uncheck it to have NO value once more, the User profile REFUSES to save with no term value. Instead, it just represents with the same value checked, time and time again.

    However, if I CHANGE the checked term value, LH User Taxonomies does accept this and saves the new value.

    So, how can I hope to unset a term?

    Does this relate to the following portion from line 442… ?

    			// Removing
    			} elseif ( 'remove' === $action ) {
    				$index = array_search( $term, $update_terms );
    				if ( isset( $update_terms[ $index ] ) ) {
    					unset( $update_terms[ $index ] );
    				}
    			}

    Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Bug?: Unsetting values on save doesn’t work’ is closed to new replies.