[gnome-web-wppo] remove lang from query_vars as it is not handled in wordpress anymore



commit 61563f3985848909e36d4d61dc6f3b7ae7a42aae
Author: Vinicius Depizzol <vdepizzol gmail com>
Date:   Thu Mar 15 21:40:49 2012 -0300

    remove lang from query_vars as it is not handled in wordpress anymore

 url.php |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/url.php b/url.php
index 398a50e..396c897 100644
--- a/url.php
+++ b/url.php
@@ -1,16 +1,5 @@
 <?php
 
-add_action('parse_request', function($request) {
-    
-    $lang_value = wppo_find_lang_in_uri();
-    
-    if (isset($lang_value)) {
-        $request->query_vars['lang'] = $lang_value;
-    }
-    
-});
-
-
 add_action('set_lang_request', 'wppo_remove_lang_from_request_uri');
 
 do_action('set_lang_request');



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]