The install_taxonomy_add_term() function uses st($name) on lines 76 & 88.

The st() function is available via the install.include file which makes this work only during installation.

Can this be removed or could the file be explicitly added inside of this function so it will work at times other than install?

Comments

quicksketch’s picture

Status: Active » Fixed

I've removed these. It makes sense especially when the install profile has already run st() on the term being saved (which should be the case).

quicksketch’s picture

I also removed remaining st() calls from menu.inc, flag.inc, and user.inc. Since the same situation applies to all calls to st(). The install profile should call st() on the strings directly before passing them in as parameters.

quicksketch’s picture

I also removed these calls from the 5--2 branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.