About 146 results: "php link repo:lgorence/quickpress"
Page 8 of 8
Filter Results
Sources
Languages
Filter Results
Try Search On
module-base.php in quickpress https://bitbucket.org/lgorence/quickpress.git | 73 lines | PHP
  1.  * 
  2.  * @package Broken Link Checker




install.php in quickpress https://bitbucket.org/lgorence/quickpress.git | 255 lines | PHP
  1. 	case 0: // Step 1
  2. 	case 1: // Step 1, direct link.

transposh.php in quickpress https://bitbucket.org/lgorence/quickpress.git | 1403 lines | PHP
  1.         // TODO: get_class_methods to replace said mess, other way?
  2.         add_filter('plugin_action_links_' . preg_replace('|^' . preg_quote(WP_PLUGIN_DIR, '|') . '/|', '', __FILE__), array(&$this, 'plugin_action_links'));
  3. 
                        
  4.         if (!$this->options->get_enable_permalinks()) {
  5.                     if ($_COOKIE['TR_LNG'] != $this->target_language) {
  6.                         $url = transposh_utils::rewrite_url_lang_param($_SERVER["REQUEST_URI"], $this->home_url, $this->enable_permalinks_rewrite, $_COOKIE['TR_LNG'], $this->edit_mode);
  7.                     if ($bestlang && $bestlang != $this->target_language && $this->options->get_enable_detect_language()) {
  8.                         $url = transposh_utils::rewrite_url_lang_param($_SERVER['REQUEST_URI'], $this->home_url, $this->enable_permalinks_rewrite, $bestlang, $this->edit_mode);
  9.             if (transposh_utils::get_language_from_url($_SERVER['HTTP_REFERER'], $this->home_url) && !transposh_utils::get_language_from_url($_SERVER['REQUEST_URI'], $this->home_url)) {
  10.                 $this->tp_redirect(transposh_utils::rewrite_url_lang_param($_SERVER["REQUEST_URI"], $this->home_url, $this->enable_permalinks_rewrite, transposh_utils::get_language_from_url($_SERVER['HTTP_REFERER'], $this->home_url), false)); //."&stop=y");
  11.             if (transposh_utils::is_bot()) {
  12.                 $this->tp_redirect(transposh_utils::rewrite_url_lang_param($_SERVER["REQUEST_URI"], $this->home_url, $this->enable_permalinks_rewrite, transposh_utils::get_language_from_url($_SERVER["REQUEST_URI"], $this->home_url), false), 301);
  13.      * Keep only the file name and its containing directory. Don't use the full
  14.      * path as it will break when using symbollic links.
  15.             if (!$lang['active']) {
  16.                 echo '<link rel="alternate" hreflang="' . $lang['isocode'] . '" href="' . $lang['url'] . '"/>';

Back to Top