thomasgriffin/TGM-Plugin-Activation — Issue #77: Store all strings in TGMPA_Strings class
Author: thomasgriffin
Created: 2011-12-29 02:30:43+00:00
State: open

There are plenty of strings used throughout the TGMPA class, enough to warrant pulling them all out and sticking them into a class of their own, TGMPA_Strings. We would have a $strings property, a public static method of get( $string_id ) {} which would check if a string existed and return it if so, an echo method which echoed the get string_id, and maybe an update() method which would allow the strings to be amended.