From CWRU/changelog:
3/23
----
eval.c
- execute_prompt_command: if an array variable PROMPT_COMMANDS exists,
prefer it to PROMPT_COMMAND and execute all of the commands contained as
array elements in index order.
doc/{bash.1,bashref.texi}
- PROMPT_COMMANDS: new array variable
8/25
----
eval.c
- execute_prompt_command: PROMPT_COMMAND can now be an array, subsuming
PROMPT_COMMANDS, which bash no longer looks for.
But, this never got removed from
https://git.savannah.gnu.org/cgit/bash.git/tree/doc/bashref.texi?h=devel&id=3f17ceca108d77c5e506f03c8051f0ff13a0e11c#n6846
https://git.savannah.gnu.org/cgit/bash.git/tree/doc/bashref.texi?h=devel&id=3f17ceca108d77c5e506f03c8051f0ff13a0e11c#n7525
It was also mentioned in the release notes at
https://lists.gnu.org/archive/html/bash-announce/2020-12/msg00000.html
--
Eli Schwartz
Arch Linux Bug Wrangler and Trusted User