Changeset 3794173
- Timestamp:
- 11/10/2026 10:59:12 AM (less than one hour ago)
- Location:
- autoglot
- Files:
-
- 69 added
- 6 edited
-
tags/3.0.5 (added)
-
tags/3.0.5/admin (added)
-
tags/3.0.5/admin/autoglot_admin.php (added)
-
tags/3.0.5/admin/autoglot_editor.php (added)
-
tags/3.0.5/admin/autoglot_feedback.php (added)
-
tags/3.0.5/admin/css (added)
-
tags/3.0.5/admin/css/autoglot_translation_admin.css (added)
-
tags/3.0.5/admin/index.php (added)
-
tags/3.0.5/admin/js (added)
-
tags/3.0.5/admin/js/autoglot_translation_admin.js (added)
-
tags/3.0.5/admin/js/autoglot_translation_admin_tabs.js (added)
-
tags/3.0.5/admin/js/autoglot_translation_block_menu.js (added)
-
tags/3.0.5/admin/js/autoglot_translation_block_switcher.js (added)
-
tags/3.0.5/admin/js/autoglot_translation_editor.js (added)
-
tags/3.0.5/admin/partials (added)
-
tags/3.0.5/admin/partials/display_dashboard.php (added)
-
tags/3.0.5/admin/partials/display_editor.php (added)
-
tags/3.0.5/admin/partials/display_settings.php (added)
-
tags/3.0.5/admin/partials/display_setup.php (added)
-
tags/3.0.5/admin/partials/display_utilities.php (added)
-
tags/3.0.5/autoglot.php (added)
-
tags/3.0.5/changelog.md (added)
-
tags/3.0.5/front (added)
-
tags/3.0.5/front/css (added)
-
tags/3.0.5/front/css/autoglot.css (added)
-
tags/3.0.5/front/css/autoglot.min.css (added)
-
tags/3.0.5/front/img (added)
-
tags/3.0.5/front/img/flags_sprites.png (added)
-
tags/3.0.5/front/img/flags_sprites.png.webp (added)
-
tags/3.0.5/front/img/smallflags_sprites.png (added)
-
tags/3.0.5/front/img/smallflags_sprites.png.webp (added)
-
tags/3.0.5/front/index.php (added)
-
tags/3.0.5/front/js (added)
-
tags/3.0.5/front/js/autoglot.js (added)
-
tags/3.0.5/index.php (added)
-
tags/3.0.5/readme.txt (added)
-
tags/3.0.5/security.txt (added)
-
tags/3.0.5/translation (added)
-
tags/3.0.5/translation/autoglot-de.mo (added)
-
tags/3.0.5/translation/autoglot-de.po (added)
-
tags/3.0.5/translation/autoglot-es_ES.mo (added)
-
tags/3.0.5/translation/autoglot-es_ES.po (added)
-
tags/3.0.5/translation/autoglot-fr_FR.mo (added)
-
tags/3.0.5/translation/autoglot-fr_FR.po (added)
-
tags/3.0.5/translation/autoglot-it.mo (added)
-
tags/3.0.5/translation/autoglot-it.po (added)
-
tags/3.0.5/translation/autoglot-pt.mo (added)
-
tags/3.0.5/translation/autoglot-pt.po (added)
-
tags/3.0.5/translation/autoglot-ru.mo (added)
-
tags/3.0.5/translation/autoglot-ru.po (added)
-
tags/3.0.5/translation/autoglot-ru_RU.mo (added)
-
tags/3.0.5/translation/autoglot-ru_RU.po (added)
-
tags/3.0.5/translation/autoglot.pot (added)
-
tags/3.0.5/translation/index.php (added)
-
tags/3.0.5/translation/ru.mo (added)
-
tags/3.0.5/translation/ru.po (added)
-
tags/3.0.5/utils (added)
-
tags/3.0.5/utils/autoglot_3rdparty.php (added)
-
tags/3.0.5/utils/autoglot_block_menu.php (added)
-
tags/3.0.5/utils/autoglot_block_switcher.php (added)
-
tags/3.0.5/utils/autoglot_constants.php (added)
-
tags/3.0.5/utils/autoglot_curl.php (added)
-
tags/3.0.5/utils/autoglot_db.php (added)
-
tags/3.0.5/utils/autoglot_dom.php (added)
-
tags/3.0.5/utils/autoglot_menu.php (added)
-
tags/3.0.5/utils/autoglot_options.php (added)
-
tags/3.0.5/utils/autoglot_utils.php (added)
-
tags/3.0.5/utils/autoglot_widget.php (added)
-
tags/3.0.5/utils/index.php (added)
-
trunk/autoglot.php (modified) (1 diff)
-
trunk/changelog.md (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/utils/autoglot_3rdparty.php (modified) (3 diffs)
-
trunk/utils/autoglot_constants.php (modified) (1 diff)
-
trunk/utils/autoglot_options.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
autoglot/trunk/autoglot.php
r3785569 r3794173 4 4 Plugin URI: https://autoglot.com/download/ 5 5 Description: Fully automatic SEO-friendly plugin for multilingual WordPress translation. Translate your website and boost your traffic in minutes! No coding, no subscription, no recurring payments, no hurdles! 6 Version: 3.0. 46 Version: 3.0.5 7 7 Text Domain: autoglot 8 8 Author: Autoglot WordPress Team -
autoglot/trunk/changelog.md
r3785586 r3794173 1 = 3.0.5 (10/11/2026) = 2 * Added support for SmartCrawl XML sitemaps 3 * Confirmed compatibility with CrawlWP XML sitemaps (CrawlWP Premium is not required) 4 * Confirmed compatibility with SEO SIMPLE PACK XML sitemaps 5 1 6 = 3.0.4 (05/11/2026) = 2 7 * Enabled batch processing for URL translation to improve overall translation speed -
autoglot/trunk/readme.txt
r3785586 r3794173 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 3.0. 47 Stable tag: 3.0.5 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 408 408 == Upgrade Notice == 409 409 410 = 3.0.5 = 411 Extended support for SEO plugins 412 410 413 = 3.0.4 = 411 414 Improved URL translation … … 413 416 = 3.0.3 = 414 417 Minor changes and improvements 415 416 = 3.0.2 =417 Extended support for SEO plugins418 418 419 419 = 3.0.0 = … … 488 488 489 489 == Changelog == 490 491 = 3.0.5 (10/11/2026) = 492 * Added support for SmartCrawl XML sitemaps 493 * Confirmed compatibility with CrawlWP XML sitemaps (CrawlWP Premium is not required) 494 * Confirmed compatibility with SEO SIMPLE PACK XML sitemaps 490 495 491 496 = 3.0.4 (05/11/2026) = -
autoglot/trunk/utils/autoglot_3rdparty.php
r3759808 r3794173 66 66 add_filter( 'surerank_sitemap_url_element', array(&$this, 'surerank_sitemap_add_hreflang_links'), 10, 3 ); 67 67 68 add_action('template_redirect', array( $this, 'siteseo_register_sitemap_buffer' ), 0); 68 add_filter( 'wds_partial_sitemap_items', array(&$this, 'wds_partial_sitemap_items'), 10, 3 ); 69 70 add_action( 'template_redirect', array( $this, 'siteseo_register_sitemap_buffer' ), 0); 71 //add_action( 'init', array( $this, 'squirrlyseo_register_sitemap_buffer' ), 0); //for Squirrly SEO: same as above but via init? 69 72 70 73 } … … 709 712 } 710 713 711 ob_start( array( $this, ' siteseo_sitemap_buffer' ) );712 } 713 714 /** 715 * Intercept individual SiteSEO XML sitemaps without modifying their output.714 ob_start( array( $this, 'add_to_sitemap_buffer' ) ); 715 } 716 717 /** 718 * Intercept individual XML sitemaps and add translated pages. 716 719 * 717 720 * @param string $output Buffered response. 718 721 * @return string modified sitemap with translated pages. 719 722 */ 720 function siteseo_sitemap_buffer( $output ) {723 function add_to_sitemap_buffer( $output ) { 721 724 722 725 if ( '' === $output ) { … … 761 764 762 765 return str_replace("</urlset>", $urlset_langs."</urlset>", $output); 766 } 767 768 769 /** 770 * Add translated URLs to SmartCrawl XML sitemap. 771 * 772 * @param array $items The sitemap urls array on which the output is based. 773 * @param array $items The sitemap urls array that includes translated pages 774 */ 775 776 function wds_partial_sitemap_items($items, $type, $page) { 777 778 $translation_enable_o = $this->autoglot->options->translation_enable; 779 $this->autoglot->options->translation_enable = 0; 780 781 $items_o = $items; 782 783 if (!class_exists('\SmartCrawl\Sitemaps\General\Item', false) || empty($items) || !is_array($items)) { 784 return $items; 785 } 786 787 foreach ($this->autoglot->options->active_languages as $lang) { 788 789 if ($lang == $this->autoglot->options->default_language) { 790 continue; 791 } 792 793 foreach ($items_o as $item) { 794 795 if (!is_object($item) || !method_exists($item, 'get_location')) { 796 continue; 797 } 798 799 // Get the original URL. 800 $thisurl = $item->get_location(); 801 802 if (empty($thisurl)) { 803 continue; 804 } 805 806 if ($this->autoglot->options->translate_urls) { $thisurl = esc_url($this->autoglot->translate_url($thisurl, $lang)); } 807 $thisurl = autoglot_utils::add_language_to_url($thisurl, $this->autoglot->homeURL, $lang); 808 809 // Create a new SmartCrawl sitemap item. 810 $translated_item = new \SmartCrawl\Sitemaps\General\Item(); 811 $translated_item->set_location($thisurl); 812 813 // Preserve the original last modified timestamp. 814 if (method_exists($item, 'get_last_modified')) { 815 $translated_item->set_last_modified($item->get_last_modified()); 816 } 817 818 // Append the translated item. 819 $items[] = $translated_item; 820 } 821 } 822 823 $this->autoglot->options->translation_enable = $translation_enable_o; 824 825 return $items; 763 826 } 764 827 -
autoglot/trunk/utils/autoglot_constants.php
r3785569 r3794173 332 332 333 333 //Define for autoglot plugin version 334 define('AUTOGLOT_PLUGIN_VER', '3.0. 4');//changelog in options334 define('AUTOGLOT_PLUGIN_VER', '3.0.5');//changelog in options 335 335 336 336 //Define for autoglot plugin name -
autoglot/trunk/utils/autoglot_options.php
r3785569 r3794173 300 300 $this->changelog = [ 301 301 [ 302 'version' => '3.0. 4',302 'version' => '3.0.5', 303 303 'changes' => [ 304 304 ['text' => __('Minor fixes to native WordPress sitemap generation.', 'autoglot')], … … 307 307 'page' => 'autoglot_translation_languages'], 308 308 ['text' => __('Enabled batch processing for URL translation to improve overall translation speed.', 'autoglot')], 309 ['text' => __('Extended SEO plugin compatibility to include SmartCrawl, SEO SIMPLE PACK and CrawlWP.', 'autoglot')], 309 310 ], 310 311 ],
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)