PluginProbe
Elementor Website Builder – more than just a page builder / 3.29.1
Elementor Website Builder – more than just a page builder v3.29.1
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 | core/utils/version.php +2 -2 4.2.23.29.1 View file →
@@ -86,9 +86,9 @@
86 86 * @param $version
87 87 * @param bool $should_validate
88 88 *
89 89 * @return static
90 - * @throws \Exception If version comparison fails or invalid version format is provided.
90 + * @throws \Exception
91 91 */
92 92 public static function create_from_string( $version, $should_validate = true ) {
93 93 if ( $should_validate && ! static::is_valid_version( $version ) ) {
94 94 throw new \Exception( sprintf( '%s is an invalid version.', esc_html( $version ) ) );
@@ -130,9 +130,9 @@
130 130 * @param $version
131 131 * @param string $part
132 132 *
133 133 * @return bool
134 - * @throws \Exception If version validation fails or parsing errors occur.
134 + * @throws \Exception
135 135 */
136 136 public function compare( $operator, $version, $part = self::PART_STAGE ) {
137 137 if ( ! ( $version instanceof Version ) ) {
138 138 if ( ! static::is_valid_version( $version ) ) {