diff --git a/.changeset/flat-years-thank.md b/.changeset/flat-years-thank.md deleted file mode 100644 index e36602f9..00000000 --- a/.changeset/flat-years-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wptelegram-widget": patch ---- - -Fixed the deprecation warning for `FocusableIframe` diff --git a/.changeset/gorgeous-actors-promise.md b/.changeset/gorgeous-actors-promise.md deleted file mode 100644 index 1ca23382..00000000 --- a/.changeset/gorgeous-actors-promise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpsocio/vite-wp-react": patch ---- - -Fixed TS types for config and plugins diff --git a/.changeset/loud-seahorses-bathe.md b/.changeset/loud-seahorses-bathe.md deleted file mode 100644 index 5e568482..00000000 --- a/.changeset/loud-seahorses-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wptelegram-widget": patch ---- - -Fixed the single post widget styles in post editor diff --git a/.changeset/mighty-fishes-hammer.md b/.changeset/mighty-fishes-hammer.md deleted file mode 100644 index 2c8b0461..00000000 --- a/.changeset/mighty-fishes-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wptelegram": patch ---- - -Fixed PHP errors in Post to Telegram for partial REST API input diff --git a/plugins/wptelegram-login/docs/README.md b/plugins/wptelegram-login/docs/README.md index cbffc86c..4d8a1aa6 100644 --- a/plugins/wptelegram-login/docs/README.md +++ b/plugins/wptelegram-login/docs/README.md @@ -5,6 +5,11 @@ ## Actions +### `wptelegram_login_init` + +*Fires before the login process starts.* + + Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 43](../src/shared/LoginHandler.php#L43-L46) ### `wptelegram_login_pre_save_user_data` @@ -131,161 +136,6 @@ Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 634 ## Filters -### `wptelegram_login_intercept_request_on` - -*Filter the hook and priority to use for intercepting the login request.* - -- [Examples](./examples/intercept_request_on.md) - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$hook_and_priority` | `array` | The hook and priority. - -Source: [src/includes/Main.php](../src/includes/Main.php), [line 392](../src/includes/Main.php#L392-L399) - -### `wptelegram_login_web_app_login_data` - -*Filters the data for the web app login.* - -This can be used to customize the messages etc. for the web app login UI. - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$data` | `array` | The data for the web app login. - -Source: [src/includes/AssetManager.php](../src/includes/AssetManager.php), [line 272](../src/includes/AssetManager.php#L272-L279) - -### `wptelegram_login_language_options` - -*Filters the language options for the settings page.* - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$data` | `array` | The language options. -`$translations` | `array` | The available translations. - -Source: [src/includes/AssetManager.php](../src/includes/AssetManager.php), [line 408](../src/includes/AssetManager.php#L408-L414) - -### `wptelegram_login_redirect_to` - -*Filters the redirect URL for the login button* - -It can be used to fix the wrong URL in case the website is in subdirectory and the URL is invalid. - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$redirect_to` | `string` | The redirect URL. - -**Changelog** - -Version | Description -------- | ----------- -`1.0.0` | - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 128](../src/shared/Shared.php#L128-L137) - -### `wptelegram_login_telegram_callback_url` - -*Filters the callback URL for the login button* - -It can be used to fix the wrong URL in case the website is in subdirectory and the URL is invalid. - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$callback_url` | `string` | The callback URL. - -**Changelog** - -Version | Description -------- | ----------- -`1.0.0` | - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 157](../src/shared/Shared.php#L157-L166) - -### `wptelegram_login_show_if_user_connected` - -*Filters whether to show the button if user is already connected.* - -- [Examples](./examples/show_if_user_connected.md) - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$show_if_connected` | `bool` | Whether to show the button if user is already connected. -`$current_user_telegram_id` | `int` | The current user's Telegram ID. - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 221](../src/shared/Shared.php#L221-L229) - -### `wptelegram_login_show_if_user_is` - -*Filters when to show the login button* - -Possible values: -"logged_out", "logged_in", "author", "subscriber" etc. - -You can also pass a user role e.g "editor" or a comma separated list or an array of roles -to display the button for specific user roles - -Passing an empty value will display the button -for both logged in and logged out users - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$show_if_user_is` | `string` | When to show the button. - -**Changelog** - -Version | Description -------- | ----------- -`1.0.0` | - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 235](../src/shared/Shared.php#L235-L251) - -### `wptelegram_login_use_telegram_avatar` - -*Filters whether to use the Telegram avatar.* - -Pass `false` to disable the Telegram avatar. - -- [Examples](./examples/use_telegram_avatar.md) - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$use_telegram_avatar` | `bool` | Whether to use the Telegram avatar. -`$url` | `string` | Avatar URL. -`$id_or_email` | `mixed` | user id or email. - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 312](../src/shared/Shared.php#L312-L323) - -### `wptelegram_login_custom_avatar_url` - -*Filters the custom avatar URL.* - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$avatar_url` | `string` | The custom avatar URL. -`$url` | `string` | Avatar URL. -`$id_or_email` | `mixed` | user id or email. - -Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 357](../src/shared/Shared.php#L357-L364) - ### `wptelegram_login_validation_query_params` *Filter the validation query parameters that the plugin uses.* @@ -396,7 +246,7 @@ Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 383 ### `wptelegram_login_disable_signup` -*Filter whether to disable sign up via Telegram!!* +*Filters whether to disable sign up via Telegram.* It means that the user must first create an account and connect it to Telegram to be able to use Telegram Login. @@ -491,6 +341,120 @@ Argument | Type | Description Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 682](../src/shared/LoginHandler.php#L682-L688) +### `wptelegram_login_redirect_to` + +*Filters the redirect URL for the login button* + +It can be used to fix the wrong URL in case the website is in subdirectory and the URL is invalid. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$redirect_to` | `string` | The redirect URL. + +**Changelog** + +Version | Description +------- | ----------- +`1.0.0` | + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 128](../src/shared/Shared.php#L128-L137) + +### `wptelegram_login_telegram_callback_url` + +*Filters the callback URL for the login button* + +It can be used to fix the wrong URL in case the website is in subdirectory and the URL is invalid. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$callback_url` | `string` | The callback URL. + +**Changelog** + +Version | Description +------- | ----------- +`1.0.0` | + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 157](../src/shared/Shared.php#L157-L166) + +### `wptelegram_login_show_if_user_connected` + +*Filters whether to show the button if user is already connected.* + +- [Examples](./examples/show_if_user_connected.md) + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$show_if_connected` | `bool` | Whether to show the button if user is already connected. +`$current_user_telegram_id` | `int` | The current user's Telegram ID. + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 221](../src/shared/Shared.php#L221-L229) + +### `wptelegram_login_show_if_user_is` + +*Filters when to show the login button* + +Possible values: +"logged_out", "logged_in", "author", "subscriber" etc. + +You can also pass a user role e.g "editor" or a comma separated list or an array of roles +to display the button for specific user roles + +Passing an empty value will display the button +for both logged in and logged out users + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$show_if_user_is` | `string` | When to show the button. + +**Changelog** + +Version | Description +------- | ----------- +`1.0.0` | + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 235](../src/shared/Shared.php#L235-L251) + +### `wptelegram_login_use_telegram_avatar` + +*Filters whether to use the Telegram avatar.* + +Pass `false` to disable the Telegram avatar. + +- [Examples](./examples/use_telegram_avatar.md) + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$use_telegram_avatar` | `bool` | Whether to use the Telegram avatar. +`$url` | `string` | Avatar URL. +`$id_or_email` | `mixed` | user id or email. + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 312](../src/shared/Shared.php#L312-L323) + +### `wptelegram_login_custom_avatar_url` + +*Filters the custom avatar URL.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$avatar_url` | `string` | The custom avatar URL. +`$url` | `string` | Avatar URL. +`$id_or_email` | `mixed` | user id or email. + +Source: [src/shared/Shared.php](../src/shared/Shared.php), [line 357](../src/shared/Shared.php#L357-L364) + ### `widget_title` *Filters the widget title.* @@ -511,6 +475,47 @@ Version | Description Source: [src/shared/widgets/Primary.php](../src/shared/widgets/Primary.php), [line 46](../src/shared/widgets/Primary.php#L46-L55) +### `wptelegram_login_web_app_login_data` + +*Filters the data for the web app login.* + +This can be used to customize the messages etc. for the web app login UI. + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The data for the web app login. + +Source: [src/includes/AssetManager.php](../src/includes/AssetManager.php), [line 272](../src/includes/AssetManager.php#L272-L279) + +### `wptelegram_login_language_options` + +*Filters the language options for the settings page.* + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$data` | `array` | The language options. +`$translations` | `array` | The available translations. + +Source: [src/includes/AssetManager.php](../src/includes/AssetManager.php), [line 408](../src/includes/AssetManager.php#L408-L414) + +### `wptelegram_login_intercept_request_on` + +*Filter the hook and priority to use for intercepting the login request.* + +- [Examples](./examples/intercept_request_on.md) + +**Arguments** + +Argument | Type | Description +-------- | ---- | ----------- +`$hook_and_priority` | `array` | The hook and priority. + +Source: [src/includes/Main.php](../src/includes/Main.php), [line 392](../src/includes/Main.php#L392-L399) +

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0

diff --git a/plugins/wptelegram-widget/CHANGELOG.md b/plugins/wptelegram-widget/CHANGELOG.md index 5493b512..990ecd6a 100644 --- a/plugins/wptelegram-widget/CHANGELOG.md +++ b/plugins/wptelegram-widget/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 2.1.20 + +### Patch Changes + +- [#110](https://github.com/wpsocio/wp-projects/pull/110) [`e2a689c`](https://github.com/wpsocio/wp-projects/commit/e2a689c152f4ea0d377544b75912831f88e4451e) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the deprecation warning for `FocusableIframe` + +- [#110](https://github.com/wpsocio/wp-projects/pull/110) [`e2a689c`](https://github.com/wpsocio/wp-projects/commit/e2a689c152f4ea0d377544b75912831f88e4451e) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the single post widget styles in post editor + ## 2.1.19 ### Patch Changes diff --git a/plugins/wptelegram-widget/README.md b/plugins/wptelegram-widget/README.md index b23e5226..db79fa00 100644 --- a/plugins/wptelegram-widget/README.md +++ b/plugins/wptelegram-widget/README.md @@ -5,7 +5,7 @@ **Requires at least:** 6.4 **Requires PHP:** 7.4 **Tested up to:** 6.4.3 -**Stable tag:** 2.1.19 +**Stable tag:** 2.1.20 **License:** GPL-3.0-or-later **License URI:** [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html) **Donate link:** [wpsocio.com/donate](https://wpsocio.com/donate) diff --git a/plugins/wptelegram-widget/composer.json b/plugins/wptelegram-widget/composer.json index d7c9c0d1..046fb184 100644 --- a/plugins/wptelegram-widget/composer.json +++ b/plugins/wptelegram-widget/composer.json @@ -1,6 +1,6 @@ { "name": "wptelegram/widget", - "version": "2.1.19", + "version": "2.1.20", "description": "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode.", "scripts": { "lint": "\"vendor/bin/phpcs\" --standard=../../phpcs.xml --extensions=php src/ dev.php", diff --git a/plugins/wptelegram-widget/package.json b/plugins/wptelegram-widget/package.json index a82b80a7..7f78a7d4 100644 --- a/plugins/wptelegram-widget/package.json +++ b/plugins/wptelegram-widget/package.json @@ -1,7 +1,7 @@ { "name": "wptelegram-widget", "title": "WP Telegram Widget", - "version": "2.1.19", + "version": "2.1.20", "description": "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode.", "private": true, "license": "GPL-3.0-or-later", diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po b/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po index 5047df0e..645ed9b5 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po @@ -161,12 +161,12 @@ msgstr "Optionen" msgid "Edit URL" msgstr "URL bearbeiten" -#: js/blocks/single-post/Edit.tsx:136 +#: js/blocks/single-post/Edit.tsx:27 #: languages/wptelegram-widget-js-translations.php:186 msgid "Telegram post URL" msgstr "Beitrags-URL von Telegram" -#: js/blocks/single-post/Edit.tsx:165 +#: js/blocks/single-post/Edit.tsx:135 #: languages/wptelegram-widget-js-translations.php:189 msgid "Loading…" msgstr "Wird geladen..." @@ -658,7 +658,7 @@ msgstr "Zeigt einen öffentlichen Telegram Channel oder Gruppen-Feed in einem Wi #. Plugin Name of the plugin #: wptelegram-widget.php -#: includes/Main.php:420 +#: includes/Main.php:421 #~ msgid "WP Telegram Widget" #~ msgstr "WP Telegram Widget" @@ -669,7 +669,7 @@ msgstr "Zeigt einen öffentlichen Telegram Channel oder Gruppen-Feed in einem Wi #~ msgid "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode." #~ msgstr "Zeigt einen öffentlichen Telegram Channel oder Gruppen-Feed in einem Widget oder per Shortcode an beliebiger Stelle an." -#: js/blocks/single-post/Edit.tsx:176 +#: js/blocks/single-post/Edit.tsx:149 #: js/blocks/single-post/index.tsx:46 #: languages/wptelegram-widget-js-translations.php:193 msgid "Telegram post" diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php b/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php index c7053da7..9c50ec9e 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php @@ -182,16 +182,16 @@ // Reference: js/blocks/single-post/Controls.tsx:51 __( 'Edit URL', 'wptelegram-widget' ), - // Reference: js/blocks/single-post/Edit.tsx:136 - __( 'Telegram post URL', 'wptelegram-widget' ), - - // Reference: js/blocks/single-post/Edit.tsx:165 + // Reference: js/blocks/single-post/Edit.tsx:135 __( 'Loading…', 'wptelegram-widget' ), - // Reference: js/blocks/single-post/Edit.tsx:176 + // Reference: js/blocks/single-post/Edit.tsx:149 // Reference: js/blocks/single-post/index.tsx:46 __( 'Telegram post', 'wptelegram-widget' ), + // Reference: js/blocks/single-post/Edit.tsx:27 + __( 'Telegram post URL', 'wptelegram-widget' ), + // Reference: js/blocks/single-post/Placeholder.tsx:40 __( 'Embed', 'wptelegram-widget' ), diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po b/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po index 0e47245a..e22c2f30 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po @@ -162,12 +162,12 @@ msgstr "" msgid "Edit URL" msgstr "" -#: js/blocks/single-post/Edit.tsx:136 +#: js/blocks/single-post/Edit.tsx:27 #: languages/wptelegram-widget-js-translations.php:186 msgid "Telegram post URL" msgstr "" -#: js/blocks/single-post/Edit.tsx:165 +#: js/blocks/single-post/Edit.tsx:135 #: languages/wptelegram-widget-js-translations.php:189 msgid "Loading…" msgstr "" @@ -656,7 +656,7 @@ msgstr "" msgid "Display the Telegram Public Channel or Group Feed in a widget" msgstr "Отображать Telegram канал или Чат в виджете." -#: js/blocks/single-post/Edit.tsx:176 +#: js/blocks/single-post/Edit.tsx:149 #: js/blocks/single-post/index.tsx:46 #: languages/wptelegram-widget-js-translations.php:193 msgid "Telegram post" @@ -671,7 +671,7 @@ msgstr "" #. Plugin Name of the plugin #: wptelegram-widget.php -#: includes/Main.php:420 +#: includes/Main.php:421 msgid "WP Telegram Widget" msgstr "" diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot b/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot index 59ecea1c..340d9f00 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: WP Telegram Widget 2.1.19\n" +"Project-Id-Version: WP Telegram Widget 2.1.20\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wptelegram-widget\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-02-19T12:17:08+00:00\n" +"POT-Creation-Date: 2024-02-23T09:01:23+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.10.0\n" "language: en_US\n" @@ -324,22 +324,22 @@ msgstr "" msgid "Edit URL" msgstr "" -#: js/blocks/single-post/Edit.tsx:136 -#: languages/wptelegram-widget-js-translations.php:186 -msgid "Telegram post URL" -msgstr "" - -#: js/blocks/single-post/Edit.tsx:165 +#: js/blocks/single-post/Edit.tsx:135 #: languages/wptelegram-widget-js-translations.php:189 msgid "Loading…" msgstr "" -#: js/blocks/single-post/Edit.tsx:176 +#: js/blocks/single-post/Edit.tsx:149 #: js/blocks/single-post/index.tsx:46 #: languages/wptelegram-widget-js-translations.php:193 msgid "Telegram post" msgstr "" +#: js/blocks/single-post/Edit.tsx:27 +#: languages/wptelegram-widget-js-translations.php:186 +msgid "Telegram post URL" +msgstr "" + #: js/blocks/single-post/Placeholder.tsx:40 #: languages/wptelegram-widget-js-translations.php:196 msgid "Embed" @@ -609,7 +609,7 @@ msgstr "" #. Plugin Name of the plugin #: wptelegram-widget.php -#: includes/Main.php:420 +#: includes/Main.php:421 msgid "WP Telegram Widget" msgstr "" diff --git a/plugins/wptelegram-widget/src/readme.txt b/plugins/wptelegram-widget/src/readme.txt index 85fa5fcd..59fd9340 100644 --- a/plugins/wptelegram-widget/src/readme.txt +++ b/plugins/wptelegram-widget/src/readme.txt @@ -5,7 +5,7 @@ Tags: telegram, feed, widget, channel, group Requires at least: 6.4 Requires PHP: 7.4 Tested up to: 6.4.3 -Stable tag: 2.1.19 +Stable tag: 2.1.20 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -193,8 +193,8 @@ Automatic updates should work smoothly, but we still recommend you back up your == Changelog == -= 2.1.19 = -- Updated minimum required WP version to 6.4 -- Fixed the warning "The block \* is registered with an invalid category" += 2.1.20 = +- Fixed the deprecation warning for `FocusableIframe` +- Fixed the single post widget styles in post editor [See full changelog](https://github.com/wpsocio/wptelegram-widget/blob/main/CHANGELOG.md) diff --git a/plugins/wptelegram-widget/src/wptelegram-widget.php b/plugins/wptelegram-widget/src/wptelegram-widget.php index 32c41644..2c0ae4c1 100644 --- a/plugins/wptelegram-widget/src/wptelegram-widget.php +++ b/plugins/wptelegram-widget/src/wptelegram-widget.php @@ -10,7 +10,7 @@ * Plugin Name: WP Telegram Widget * Plugin URI: https://t.me/WPTelegram * Description: Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode. - * Version: 2.1.19 + * Version: 2.1.20 * Requires at least: 6.4 * Requires PHP: 7.4 * Author: WP Socio @@ -29,7 +29,7 @@ /** * Current plugin version. */ -define( 'WPTELEGRAM_WIDGET_VER', '2.1.19' ); +define( 'WPTELEGRAM_WIDGET_VER', '2.1.20' ); defined( 'WPTELEGRAM_WIDGET_MAIN_FILE' ) || define( 'WPTELEGRAM_WIDGET_MAIN_FILE', __FILE__ ); diff --git a/plugins/wptelegram/CHANGELOG.md b/plugins/wptelegram/CHANGELOG.md index dad1ef7e..82d2f659 100644 --- a/plugins/wptelegram/CHANGELOG.md +++ b/plugins/wptelegram/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 4.1.3 + +### Patch Changes + +- [#113](https://github.com/wpsocio/wp-projects/pull/113) [`9594d18`](https://github.com/wpsocio/wp-projects/commit/9594d18d96351dd1b7fb3c14a12233c178177d89) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed PHP errors in Post to Telegram for partial REST API input + ## 4.1.2 ### Patch Changes diff --git a/plugins/wptelegram/README.md b/plugins/wptelegram/README.md index 16ea9c8f..62c030e3 100644 --- a/plugins/wptelegram/README.md +++ b/plugins/wptelegram/README.md @@ -5,7 +5,7 @@ **Requires at least:** 6.4 **Requires PHP:** 7.4 **Tested up to:** 6.4.3 -**Stable tag:** 4.1.2 +**Stable tag:** 4.1.3 **License:** GPL-3.0-or-later **License URI:** [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html) **Donate link:** [wpsocio.com/donate](https://wpsocio.com/donate) diff --git a/plugins/wptelegram/composer.json b/plugins/wptelegram/composer.json index 1a4d2955..3e31e619 100644 --- a/plugins/wptelegram/composer.json +++ b/plugins/wptelegram/composer.json @@ -1,6 +1,6 @@ { "name": "wpsocio/wptelegram", - "version": "4.1.2", + "version": "4.1.3", "description": "Integrate your WordPress site perfectly with Telegram with full control.", "scripts": { "lint": "\"vendor/bin/phpcs\" --standard=../../phpcs.xml --extensions=php src/ dev.php", diff --git a/plugins/wptelegram/package.json b/plugins/wptelegram/package.json index 91d10121..42dc4f31 100644 --- a/plugins/wptelegram/package.json +++ b/plugins/wptelegram/package.json @@ -1,7 +1,7 @@ { "name": "wptelegram", "title": "WP Telegram", - "version": "4.1.2", + "version": "4.1.3", "description": "Integrate your WordPress site perfectly with Telegram with full control.", "private": true, "license": "GPL-3.0-or-later", diff --git a/plugins/wptelegram/src/languages/wptelegram.pot b/plugins/wptelegram/src/languages/wptelegram.pot index c8794bae..20148ae1 100644 --- a/plugins/wptelegram/src/languages/wptelegram.pot +++ b/plugins/wptelegram/src/languages/wptelegram.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: WP Telegram 4.1.2\n" +"Project-Id-Version: WP Telegram 4.1.3\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wptelegram\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-02-19T12:17:08+00:00\n" +"POT-Creation-Date: 2024-02-23T09:01:23+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.10.0\n" "language: en_US\n" diff --git a/plugins/wptelegram/src/readme.txt b/plugins/wptelegram/src/readme.txt index 4464ef33..f86caa4d 100644 --- a/plugins/wptelegram/src/readme.txt +++ b/plugins/wptelegram/src/readme.txt @@ -5,7 +5,7 @@ Tags: telegram, notifications, posts, channel, group Requires at least: 6.4 Requires PHP: 7.4 Tested up to: 6.4.3 -Stable tag: 4.1.2 +Stable tag: 4.1.3 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -203,8 +203,7 @@ Automatic updates should work smoothly, but we still recommend you back up your == Changelog == -= 4.1.2 = -- Improved logging for HTML conversion errors for private notifications -- Updated minimum required WP version to 6.4 += 4.1.3 = +- Fixed PHP errors in Post to Telegram for partial REST API input [See full changelog](https://github.com/wpsocio/wptelegram/blob/main/CHANGELOG.md) diff --git a/plugins/wptelegram/src/wptelegram.php b/plugins/wptelegram/src/wptelegram.php index fdf8ea4b..bc776a7c 100644 --- a/plugins/wptelegram/src/wptelegram.php +++ b/plugins/wptelegram/src/wptelegram.php @@ -10,7 +10,7 @@ * Plugin Name: WP Telegram * Plugin URI: https://t.me/WPTelegram * Description: Integrate your WordPress website perfectly with Telegram. Send posts automatically to Telegram when published or updated, whether to a Telegram Channel, Group or private chat, with full control. Get your email notifications on Telegram. - * Version: 4.1.2 + * Version: 4.1.3 * Requires at least: 6.4 * Requires PHP: 7.4 * Author: WP Socio @@ -26,7 +26,7 @@ die; } -define( 'WPTELEGRAM_VER', '4.1.2' ); +define( 'WPTELEGRAM_VER', '4.1.3' ); defined( 'WPTELEGRAM_MAIN_FILE' ) || define( 'WPTELEGRAM_MAIN_FILE', __FILE__ ); diff --git a/tools/vite-wp-react/CHANGELOG.md b/tools/vite-wp-react/CHANGELOG.md index fa6bc090..83b4ee34 100644 --- a/tools/vite-wp-react/CHANGELOG.md +++ b/tools/vite-wp-react/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.2 + +### Patch Changes + +- [#107](https://github.com/wpsocio/wp-projects/pull/107) [`7db8989`](https://github.com/wpsocio/wp-projects/commit/7db898958d0a2dd4e6e69b3ea14f328d0a7884f5) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed TS types for config and plugins + ## 1.0.1 ### Patch Changes diff --git a/tools/vite-wp-react/package.json b/tools/vite-wp-react/package.json index 4a8b0e00..55a6a71e 100644 --- a/tools/vite-wp-react/package.json +++ b/tools/vite-wp-react/package.json @@ -1,6 +1,6 @@ { "name": "@wpsocio/vite-wp-react", - "version": "1.0.1", + "version": "1.0.2", "description": "Set of tools to develop WordPress plugins and themes using React and Vite.", "license": "MIT", "repository": { diff --git a/tools/wpdev/README.md b/tools/wpdev/README.md index 1870ef7b..6dba3b32 100644 --- a/tools/wpdev/README.md +++ b/tools/wpdev/README.md @@ -28,7 +28,7 @@ $ npm install -g @wpsocio/wpdev $ wpdev COMMAND running command... $ wpdev (--version) -@wpsocio/wpdev/1.0.5 linux-x64 node-v20.11.0 +@wpsocio/wpdev/1.0.5 linux-x64 node-v20.11.1 $ wpdev --help [COMMAND] USAGE $ wpdev COMMAND