$updated = wp_update_term( $term_id, $taxonomy, array('description'=> 'Högpresterande kortvirkesskördare som är byggda för tuff användning och krävande arbetscykler. Utmärkt sikt för föraren, nivellerande hytt och Tigercats kraftfulla WideRange®-drift hjälper till att maximera produktiviteten.') );
Hello Bruno,
License has been upgraded, please let me know what is the problem related to my previous questions for "wp_update_term" and how I can fix it.
I marked your next reply as private so that you can safely add credentials.
We would like to check something if this is about the case where you cannot update a custom term meta field, if the term has the same slug as a term in any other language.
Because that case is escalated to developers but has not been fixed and not sure when or how will it ben.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Hi,
From what I see “hidden link has wheel-harvester, WordPress usually does not allow the same slug for terms.
WPML also appends language, but you can hack it via quick edit to have the same slug.
This is a known limitation, it might work in language in directory mode, you can try your script then (see image on which option I am referring to).
Or simply add your description here - hidden link - so without doing this through PHP snippet.
We discovered this case several years ago on this ticket https://wpml.org/fr/forums/topic/picture-on-a-category-traduction/, but due to low demand for such approach (so change this through PHP Code - this is only 2nd case in 4 years) this was not yet implemented nor I think it will be.
I will update this ticket if development tickets gets some movement, but apart from editing these manually there is no other workaround.
Regards,
Bruno Kos
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.