PluginProbe
Polylang / 2.1
Polylang v2.1
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | include/mo.php +0 -2 2.7.22.1 View file →
@@ -38,10 +38,8 @@
38 38 foreach ( $this->entries as $entry ) {
39 39 $strings[] = array( $entry->singular, $this->translate( $entry->singular ) );
40 40 }
41 41
42 - $strings = wp_slash( $strings ); // Avoid breaking slashed strings in update_post_meta. See https://codex.wordpress.org/Function_Reference/update_post_meta#Character_Escaping
43 -
44 42 if ( empty( $lang->mo_id ) ) {
45 43 $post = array(
46 44 'post_title' => 'polylang_mo_' . $lang->term_id,
47 45 'post_status' => 'private', // To avoid a conflict with WP Super Cache. See https://wordpress.org/support/topic/polylang_mo-and-404s-take-2