PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | includes/classes/StatusReport/WordPress.php +4 -4 4.7.15.3.5 View file →
@@ -21,9 +21,9 @@
21 21 * Return the report title
22 22 *
23 23 * @return string
24 24 */
25 - public function get_title() : string {
25 + public function get_title(): string {
26 26 return __( 'WordPress', 'elasticpress' );
27 27 }
28 28
29 29 /**
@@ -30,9 +30,9 @@
30 30 * Return the report fields
31 31 *
32 32 * @return array
33 33 */
34 - public function get_groups() : array {
34 + public function get_groups(): array {
35 35 return [
36 36 $this->get_wp_basic_group(),
37 37 $this->get_server_group(),
38 38 ];
@@ -42,9 +42,9 @@
42 42 * Process basic WordPress info
43 43 *
44 44 * @return array
45 45 */
46 - protected function get_wp_basic_group() : array {
46 + protected function get_wp_basic_group(): array {
47 47 global $wp_version;
48 48
49 49 $fields = [];
50 50
@@ -117,9 +117,9 @@
117 117 * Process the info about the server
118 118 *
119 119 * @return array
120 120 */
121 - protected function get_server_group() : array {
121 + protected function get_server_group(): array {
122 122 $fields = [];
123 123
124 124 $fields['php_version'] = [
125 125 'label' => __( 'PHP Version', 'elasticpress' ),