$step, 'message' => $message, 'timestamp' => gmdate( 'c' ), ); // FIFO: drop the oldest rather than letting the option grow without bound // across re-executions. while ( count( $warnings ) > CONTAI_SITE_WARNINGS_MAX ) { array_shift( $warnings ); } update_option( CONTAI_SITE_WARNINGS_OPTION, $warnings ); }