Seriyyy95
Forum Replies Created
-
Sorry, I missed your message, here is the issue on Github: https://github.com/WordPress/performance/issues/1918
Yeah, the
get_option( ‘wp_page_for_privacy_policy’ )method works. Thanks.- This reply was modified 1 year, 6 months ago by Seriyyy95.
Forum: Plugins
In reply to: [Easy Table of Contents] ez-toc-settings[exclude_css] not workingI hope that developers will fix that. But as a hotfix you can comment these lines in the table-of-contents.php file:
266 wp_register_style( ‘ez-toc’, EZ_TOC_URL . “assets/css/screen$min.css”,
267 array( ‘ez-icomoon’ ),
268 ezTOC::VERSION );And:
476 echo “<style>$css</style>”;
Forum: Plugins
In reply to: [Theme My Login] Translating Theme My LoginЛокализация не работает в стабильной версии. Вы вообще это тестировали??? Скорее всего нет, потому что имя папки с локализациями language, а плагин пытается их загрузить из languages. Исправьте это.
Localization not work in stable version. Do you tested it??? Probably not , because the folder with localizations named “language”, but plugin tries get them from “languages”. Fix it.
I found the solution. Change following code in the file /wp-includes/class-mailer.php:
... $rt = @mail($to, $this->encodeHeader($this->secureHeader($subject)), $body, $header); ... $rt = @mail($to, $this->encodeHeader($this->secureHeader($subject)), $body, $header, $params); ...to:
... $rt = @mail($to, $this->encodeHeader($this->secureHeader($subject)), $body, "From: admin@" . $_SERVER['HTTP_HOST']); ... $rt = @mail($to, $this->encodeHeader($this->secureHeader($subject)), $body, "From: admin@" . $_SERVER['HTTP_HOST'], $params); ...for me it works.