Skip to content

Commit

Permalink
Fix the unintended newlines in Post Excerpt and Post Content (#61)
Browse files Browse the repository at this point in the history
* Fix #60 - the unintended newlines in Post Excerpt and Post Content

* Prepare for v4.0.5

---------

Co-authored-by: irshadahmad21 <[email protected]>
  • Loading branch information
irshadahmad21 and irshadahmad21 authored Mar 2, 2023
1 parent d555117 commit e083e47
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
**Requires at least:** 5.8
**Requires PHP:** 7.2
**Tested up to:** 6.1.1
**Stable tag:** 4.0.4
**Stable tag:** 4.0.5
**License:** GPLv2 or later
**License URI:** [http://www.gnu.org/licenses/gpl-2.0.html](http://www.gnu.org/licenses/gpl-2.0.html)

Expand Down
6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project are documented in this file.

## Unreleased

## [4.0.5 - 2023-03-2](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.5)

### Bug fixes

- Fixed the unintended newlines in Post Excerpt and Post Content

## [4.0.4 - 2023-03-1](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.4)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wptelegram/core",
"version": "4.0.4",
"version": "4.0.5",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"require-dev": {
"wp-coding-standards/wpcs": "*"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "wptelegram",
"title": "WP Telegram",
"version": "4.0.4",
"version": "4.0.5",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"repository": {
"type": "git",
Expand Down
5 changes: 4 additions & 1 deletion 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: 5.8
Requires PHP: 7.2
Tested up to: 6.1.1
Stable tag: 4.0.4
Stable tag: 4.0.5
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -205,6 +205,9 @@ Yes, all you need to do is to setup **Private Notifications** module and use the

== Changelog ==

= 4.0.5 =
- Fixed the unintended newlines in Post Excerpt and Post Content

= 4.0.4 =
- Fixed repeated caption for the image when using the "After the text" option
- Fixed the issue of long texts being truncated
Expand Down
6 changes: 6 additions & 0 deletions src/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project are documented in this file.

## Unreleased

## [4.0.5 - 2023-03-2](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.5)

### Bug fixes

- Fixed the unintended newlines in Post Excerpt and Post Content

## [4.0.4 - 2023-03-1](https://github.com/wpsocio/wptelegram/releases/tag/v4.0.4)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion src/includes/format-text
4 changes: 2 additions & 2 deletions src/languages/wptelegram.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: https://github.com/wpsocio/wptelegram\n"
"POT-Creation-Date: 2023-03-01 15:04:47+00:00\n"
"POT-Creation-Date: 2023-03-02 04:15:11+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2023-03-1 15:40\n"
"PO-Revision-Date: 2023-03-2 4:150\n"
"Last-Translator: WP Telegram\n"
"Language-Team: WP Telegram\n"
"Language: en_US\n"
Expand Down
4 changes: 2 additions & 2 deletions 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.0.4
* Version: 4.0.5
* Requires at least: 5.8
* Requires PHP: 7.2
* Author: WP Socio
Expand All @@ -26,7 +26,7 @@
die;
}

define( 'WPTELEGRAM_VER', '4.0.4' );
define( 'WPTELEGRAM_VER', '4.0.5' );

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

Expand Down

0 comments on commit e083e47

Please sign in to comment.