למשתמש זה אין נושאים מועדפים.
נושאי הפורום המועדפים
נושאי הפורום נוצרו
מצב |
נוֹשֵׂא
|
תוֹמֵך | קולות | פוסטים | טְרִיוּת |
---|---|---|---|---|---|
Action to notify about update of string translation
התחיל על ידי: romansS
ב: English Support
Problem: If this solution does not apply to your case, or if it seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should you need further assistance, please do not hesitate to open a new support ticket at WPML Support Forum. |
|
0 | 4 | לפני 2 שבועות, 3 ימים | |
Unable to generate REST API url from WP-CLI
התחיל על ידי: romansS
ב: English Support
Problem: WPMLSuperGlobalsServer::getServerName function relies on the $_SERVER superglobal for HTTP host information, which is not available in the CLI environment. Consequently, the WPML_URL_Converter_Domain_Strategy::convertRestUrlToCurrentDomain function fails to retrieve the correct host name, rendering REST URLs generated in the CLI environment invalid. if (defined('WP_CLI') && WP_CLI) {<br /> class ExampleCommand extends \WP_CLI_Command {<br /> /**<br /> * @subcommand wpml-rest-api<br /> */<br /> public function wpmlRestApi() {<br /> echo get_rest_url(path: 'wp/v2') . "\n";<br /> }<br /> }<br /><br /> WP_CLI::add_command('example', ExampleCommand::class);<br />} We recommend you provide more details or a screen recording of the issue to help us better understand and address the problem. If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket at WPML support forum. |
|
1 | 7 | לפני חודש 1, 3 שבועות | |
Minor issue in SitePress
התחיל על ידי: romansS ב: Chat Support |
|
1 | 2 |
לפני 5 חודשים
|