- $this->preCacheMessages();
- }
-
- /**
- * As we use the same small set of messages in various methods and that
- * they are called often, we call them once and save them in $this->message
- */
- function preCacheMessages() {
- // Precache various messages
- if ( !isset( $this->message ) ) {
- $this->message['last'] = $this->msg( 'last' )->escaped();
- }