| @@ -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 |