| @@ -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' ), |