PluginProbe
Elementor Website Builder – more than just a page builder / 3.17.2
Elementor Website Builder – more than just a page builder v3.17.2
4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 4.1.0-beta2 4.1.0-dev2 4.0.8 4.1.0-beta1 4.1.0-dev1 4.0.7 All 451 releases
← All changes | includes/maintenance-mode.php +6 -6 4.2.23.17.2 View file →
@@ -40,16 +40,16 @@
40 40 * @since 1.4.0
41 41 * @access public
42 42 * @static
43 43 *
44 - * @param string $option Option name. Expected to not be SQL-escaped.
45 - * @param mixed $default_value Optional. Default value to return if the option
46 - * does not exist. Default is false.
44 + * @param string $option Option name. Expected to not be SQL-escaped.
45 + * @param mixed $default Optional. Default value to return if the option
46 + * does not exist. Default is false.
47 47 *
48 48 * @return bool False if value was not updated and true if value was updated.
49 49 */
50 - public static function get( $option, $default_value = false ) {
51 - return get_option( self::OPTION_PREFIX . $option, $default_value );
50 + public static function get( $option, $default = false ) {
51 + return get_option( self::OPTION_PREFIX . $option, $default );
52 52 }
53 53
54 54 /**
55 55 * Set elementor option.
@@ -202,9 +202,9 @@
202 202 'sections' => [
203 203 'maintenance_mode' => [
204 204 'callback' => function() {
205 205 echo '<h2>' . esc_html__( 'Maintenance Mode', 'elementor' ) . '</h2>';
206 - echo '<p>' . esc_html__( 'Set your entire website as MAINTENANCE MODE, meaning the site is offline temporarily for maintenance, or set it as COMING SOON mode, meaning the site is offline until it is ready to be launched.', 'elementor' ) . '</p>';
206 + echo '<div>' . esc_html__( 'Set your entire website as MAINTENANCE MODE, meaning the site is offline temporarily for maintenance, or set it as COMING SOON mode, meaning the site is offline until it is ready to be launched.', 'elementor' ) . '</div>';
207 207 },
208 208 'fields' => [
209 209 'maintenance_mode_mode' => [
210 210 'label' => esc_html__( 'Choose Mode', 'elementor' ),