php - Is one letter to short for $_GET? (used for a wordpress plugin) -


i'm working on wordpress theme-switching plugin relies on on php $_get, want keep url simple , clean. 1 letter short? example ('t'): "foo.com/?t=theme_1"

what chances conflicts other stuff?

of course subjective, , there obvious "p" should not attempt use, best practice in situation , in general?

there no specific problem using 1 letter vars, because using wordpress, might want bit carefull: not p, future and/or other plugins

i advise use quite unique in environment don't have complete control on (updates etc.).

use prefix vars, maybe 2 chars + '_', or that.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

Disabling Android home button for industry application -

c# - HwndSource win32 integration with Ribbons and KeyTips -