PluginProbe
Polylang / 3.1
Polylang v3.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 | modules/sync/settings-sync.php +4 -4 2.83.1 View file →
@@ -78,13 +78,13 @@
78 78 return $newoptions; // take care to return only validated options
79 79 }
80 80
81 81 /**
82 - * Get the row actions
82 + * Get the row actions.
83 83 *
84 84 * @since 1.8
85 85 *
86 - * @return array
86 + * @return string[] Row actions.
87 87 */
88 88 protected function get_actions() {
89 89 return empty( $this->options['sync'] ) ? array( 'configure' ) : array( 'configure', 'deactivate' );
90 90 }
@@ -89,13 +89,13 @@
89 89 return empty( $this->options['sync'] ) ? array( 'configure' ) : array( 'configure', 'deactivate' );
90 90 }
91 91
92 92 /**
93 - * List the post metas to synchronize
93 + * Get the list of synchronization settings.
94 94 *
95 95 * @since 1.0
96 96 *
97 - * @return array
97 + * @return string[] Array synchronization options.
98 98 */
99 99 public static function list_metas_to_sync() {
100 100 return array(
101 101 'taxonomies' => __( 'Taxonomies', 'polylang' ),