PluginProbe
Elementor Website Builder – more than just a page builder / 3.29.0-dev4
Elementor Website Builder – more than just a page builder v3.29.0-dev4
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 +5 -5 4.2.0-dev23.29.0-dev4 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.