[wp-trac] [WordPress Trac] #22325: Abstract GPCS away from the superglobals

WordPress Trac noreply at wordpress.org
Thu Jan 17 10:37:40 UTC 2013


#22325: Abstract GPCS away from the superglobals
-------------------------+-----------------------------
 Reporter:  rmccue       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  General      |     Version:
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+-----------------------------

Comment (by dave1010):

 Replying to [comment:29 rmccue]:
 > Replying to [comment:28 dave1010]:
 > > Is it not worth waiting until we require PHP 5.3+, so we can go with
 the more future-proof Symfony2 Request component (or Zend or whatever we
 go with)?
 >
 > I'd say no; a 5.3 requirement isn't on the table for the near future,
 since we still have [http://wordpress.org/about/stats/ a huge percentage]
 on 5.2. Waiting will mean it won't get done.

 It would be nice if we had stats on how many PHP 5.2 users have upgraded
 to WordPress 3.4/3.5, as I ''guess'' many people who don't/can't upgrade
 PHP also don't/can't upgrade WordPress.

 > This ticket is also related to #18322 and how we end up handling it
 there, so it will want to be in sync with that.

 I agree that this and the magic quotes issue need to get fixed ASAP.
 Perhaps an existing framework component (Symfony2/zf2) isn't the best way
 right now but I'd really like us to consider the API we use and, if
 possible, design it so it could easily be swapped out in the future.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22325#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list