此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
| 状态 |
主题
|
支持人员 | 参与者 | 帖子 | 最新活动 |
|---|---|---|---|---|---|
|
parse_query Issues / Editor-Previews not updating
发起人:Henning
在:English Support
Problem: Solution: classes/query-filtering/class-wpml-query-parser.php . if ( ! empty( $q->query_vars['post_type'] ) ) {<br /> $post_type = $q->query_vars['post_type'];<br />}<br />$pt_is_revision = ( is_array( $post_type ) && in_array( 'revision', $post_type, true ) ) || $post_type === 'revision';<br />if ( $pt_is_revision ) {<br /> unset( $q->query_vars['p'], $q->query_vars['page_id'], $q->query_vars['name'], $q->query_vars['pagename'] );<br />}This change ensures that preview requests correctly fetch the most recent autosave revision without being pinned to an old revision ID. Normal WPML routing and translated front-end behavior remain unchanged. Please note that this solution might be irrelevant if it's outdated or not applicable to your case. 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. If the issue persists, please open a new support ticket at WPML support forum. |
|
0 | 9 | 1 months, 1 weeks前 | |
|
parse_query Issues / Editor-Previews not updating
发起人:Henning 在:Chat Support |
|
1 | 2 | 2 months, 3 weeks前 |