| flag; // phpcs:ignore WordPress.Security.EscapeOutput ?>name ); ?> | model->post->get_translation( $post_id, $language ) ) && $translation_id !== $post_id ) { // The translation exists printf( '', esc_attr( $language->slug ), esc_attr( $translation_id ) ); echo $this->links->edit_post_translation_link( $translation_id ); // phpcs:ignore WordPress.Security.EscapeOutput } else { // No translation echo $this->links->new_post_translation_link( $post_id, $language ); // phpcs:ignore WordPress.Security.EscapeOutput } ?> |