(string) a unique identifier for your cached data (this should be 45 characters or less in length.. NOTE: if using a site transient, it should be 40 characters or less in length)
Given get_unique_id uses sha1 which returns a 40 character string which in turn is then concatenated onto hm_backdrop-. This creates a string which is 62 characters long.
Solution is to ensure get_unique_id only returns a string that is 28 characters long.
The
option_name
column isVARCHAR 64
.In practise this means transient names should be no longer than 40 characters.
From http://codex.wordpress.org/Transients_API#Using_Transients
Trac ticket http://core.trac.wordpress.org/ticket/15058
Given
get_unique_id
usessha1
which returns a 40 character string which in turn is then concatenated ontohm_backdrop-
. This creates a string which is 62 characters long.Solution is to ensure
get_unique_id
only returns a string that is 28 characters long.