PluginProbe
Polylang / 2.6.2
Polylang v2.6.2
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 | admin/admin-static-pages.php +2 -2 2.72.6.2 View file →
@@ -85,10 +85,10 @@
85 85 * Add post state for translations of the front page and posts page
86 86 *
87 87 * @since 1.8
88 88 *
89 - * @param array $post_states An array of post display states.
90 - * @param object $post The current post object.
89 + * @param array $post_states
90 + * @param object $post
91 91 * @return array
92 92 */
93 93 public function display_post_states( $post_states, $post ) {
94 94 if ( in_array( $post->ID, $this->model->get_languages_list( array( 'fields' => 'page_on_front' ) ) ) ) {