Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
uri/id confusion - Bug or an Feature?
#2
I’d say it’s just part of old code that hasn’t been standardised yet. Chris has been doing constant work to get the same functions system-wide and variables haven’t been reassigned I guess.

Thinking about plugins it would make sense indeed to set these two query variables the same. It seems many different admin pages are already using $_GET['uri'] so it might be a good idea to switch $_GET['id']—as used when visiting the site–over to that.

You could very easily do it yourself, I actually think $_GET['id'] is only used in index.php and could easily be switched. Just keep in mind that if you were to switch this to also change the query in your root .htaccess!

(I’ll throw this in the GetSimple issue tracker for now.)
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply


Messages In This Thread
uri/id confusion - Bug or an Feature? - by Zegnåt - 2010-02-21, 02:49:13



Users browsing this thread: 1 Guest(s)