Skip to content

Commit

Permalink
Prepare for next release (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
irshadahmad21 authored Jun 6, 2024
1 parent 30ee543 commit 1029031
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 57 deletions.
5 changes: 0 additions & 5 deletions .changeset/many-bottles-fold.md

This file was deleted.

82 changes: 41 additions & 41 deletions plugins/wptelegram-login/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,47 @@ Source: [src/shared/LoginHandler.php](../src/shared/LoginHandler.php), [line 634

## Filters

### `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)

### `wptelegram_login_redirect_to`

*Filters the redirect URL for the login button*
Expand Down Expand Up @@ -475,47 +516,6 @@ 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)


<p align="center"><a href="https://github.com/pronamic/wp-documentor"><img src="https://cdn.jsdelivr.net/gh/pronamic/wp-documentor@main/logos/pronamic-wp-documentor.svgo-min.svg" alt="Pronamic WordPress Documentor" width="32" height="32"></a><br><em>Generated by <a href="https://github.com/pronamic/wp-documentor">Pronamic WordPress Documentor</a> <code>1.2.0</code></em><p>

6 changes: 6 additions & 0 deletions plugins/wptelegram/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 4.1.6

### Patch Changes

- [#124](https://github.com/wpsocio/wp-projects/pull/124) [`30ee543`](https://github.com/wpsocio/wp-projects/commit/30ee54302adb59c4378be57d830337334b9ecc86) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Fixed the is new post logic for draft posts

## 4.1.5

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 6.4
**Requires PHP:** 7.4
**Tested up to:** 6.5.2
**Stable tag:** 4.1.5
**Stable tag:** 4.1.6
**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)
Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram/composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wpsocio/wptelegram",
"version": "4.1.5",
"version": "4.1.6",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"scripts": {
"lint": "\"vendor/bin/phpcs\" --standard=../../phpcs.xml --extensions=php src/ dev.php",
Expand Down
2 changes: 1 addition & 1 deletion plugins/wptelegram/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wptelegram",
"title": "WP Telegram",
"version": "4.1.5",
"version": "4.1.6",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"private": true,
"license": "GPL-3.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions plugins/wptelegram/src/languages/wptelegram.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GPL-2.0+.
msgid ""
msgstr ""
"Project-Id-Version: WP Telegram 4.1.5\n"
"Project-Id-Version: WP Telegram 4.1.6\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wptelegram\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-04-15T11:52:45+00:00\n"
"POT-Creation-Date: 2024-06-06T06:25:54+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"
Expand Down
6 changes: 3 additions & 3 deletions plugins/wptelegram/src/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: telegram, notifications, posts, channel, group
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.5.2
Stable tag: 4.1.5
Stable tag: 4.1.6
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -203,7 +203,7 @@ Automatic updates should work smoothly, but we still recommend you back up your

== Changelog ==

= 4.1.5 =
- Added blueprints for WP Playground
= 4.1.6 =
- Fixed the is new post logic for draft posts

[See full changelog](https://github.com/wpsocio/wptelegram/blob/main/CHANGELOG.md)
4 changes: 2 additions & 2 deletions plugins/wptelegram/src/wptelegram.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.5
* Version: 4.1.6
* Requires at least: 6.4
* Requires PHP: 7.4
* Author: WP Socio
Expand All @@ -26,7 +26,7 @@
die;
}

define( 'WPTELEGRAM_VER', '4.1.5' );
define( 'WPTELEGRAM_VER', '4.1.6' );

defined( 'WPTELEGRAM_MAIN_FILE' ) || define( 'WPTELEGRAM_MAIN_FILE', __FILE__ );

Expand Down
2 changes: 1 addition & 1 deletion tools/wpdev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $ npm install -g @wpsocio/wpdev
$ wpdev COMMAND
running command...
$ wpdev (--version)
@wpsocio/wpdev/1.0.6 linux-x64 node-v20.12.1
@wpsocio/wpdev/1.0.6 linux-x64 node-v20.13.1
$ wpdev --help [COMMAND]
USAGE
$ wpdev COMMAND
Expand Down

0 comments on commit 1029031

Please sign in to comment.