Skip to content

Commit

Permalink
Fix "Changes could not be saved" error for old upgrades (#18)
Browse files Browse the repository at this point in the history
* Fix saving empty channels crashing the settings page

* Deployed from manzoorwanijk/wp-plugins@f0b40cb2dcb05ea0378d0041fa31b4448b63a25c

* Deployed from manzoorwanijk/wp-plugins@64153f41ae935b4eb2b6facbd6b9b9414c2964f5

* Fix "Changes could not be saved" error for old upgrades

* Prepare for 3.0.8

Co-authored-by: GitHub Action <[email protected]>
  • Loading branch information
manzoorwanijk and GitHub Action authored Apr 15, 2021
1 parent 7dad7c9 commit 1ba14aa
Show file tree
Hide file tree
Showing 62 changed files with 1,129 additions and 909 deletions.
38 changes: 5 additions & 33 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,37 +1,9 @@
# Editors
project.xml
project.properties
/nbproject/private/
.buildpath
.project
.settings*
.idea
.vscode
*.sublime-project
*.sublime-workspace
.sublimelinterrc

# Grunt
build/
# NPM #
##########
# Ignore all directories called node_modules in current folder and any subfolders.
node_modules/
/temp/
none

# Sass
.sass-cache/

# OS X metadata
.DS_Store

# Windows junk
Thumbs.db

# Logs
/logs

# Composer
# Composer #
/vendor/
contributors.md

# Screenshots for e2e tests failures
/screenshots/
/temp
8 changes: 8 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"phpcbf.standard": "${workspaceRoot}/phpcs.xml",
"phpcs.standard": "${workspaceRoot}/phpcs.xml",
"[php]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "persoderlind.vscode-phpcbf"
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
**Tags:** telegram, notifications, posts, channel, group
**Requires at least:** 5.3
**Requires PHP:** 7.0
**Tested up to:** 5.7
**Stable tag:** 3.0.7
**Tested up to:** 5.7.1
**Stable tag:** 3.0.8
**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
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project are documented in this file.

## Unreleased

## [3.0.8 - 2021-04-16](https://github.com/manzoorwanijk/wptelegram/releases/tag/v3.0.8)

### Bug fixes

- Fixed saving empty channels crashing the settings page
- Fixed "Changes could not be saved" error for old upgrades

## [3.0.7 - 2021-04-9](https://github.com/manzoorwanijk/wptelegram/releases/tag/v3.0.7)

### 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": "3.0.7",
"version": "3.0.8",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
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": "3.0.7",
"version": "3.0.8",
"description": "Integrate your WordPress site perfectly with Telegram with full control.",
"repository": {
"type": "git",
Expand Down
8 changes: 6 additions & 2 deletions src/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Contributors: manzoorwanijk
Donate link: https://paypal.me/manzoorwanijk
Tags: telegram, notifications, posts, channel, group
Requires at least: 5.3
Tested up to: 5.7
Tested up to: 5.7.1
Requires PHP: 7.0
Stable tag: 3.0.7
Stable tag: 3.0.8
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -141,6 +141,10 @@ Note: You can also contribute in translating this plugin into your local languag

== Changelog ==

= 3.0.8 =
- Fixed saving empty channels crashing the settings page
- Fixed "Changes could not be saved" error for old upgrades

= 3.0.7 =
- Fixed the issue of scheduled posts being sent regardless of the overrides.
- Removed "Post edit switch" from post edit page when disabled.
Expand Down
40 changes: 20 additions & 20 deletions src/assets/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
{
"files": {
"wptelegram--main.css": "/static/css/wptelegram--main.8ea010a0.css",
"wptelegram--main.js": "/static/js/wptelegram--main.047814bc.js",
"wptelegram--main.js.map": "/static/js/wptelegram--main.047814bc.js.map",
"wptelegram--main.php": "/static/js/wptelegram--main.789f4914.asset.php",
"wptelegram--p2tg-classic.js": "/static/js/wptelegram--p2tg-classic.25751b0d.js",
"wptelegram--p2tg-classic.js.map": "/static/js/wptelegram--p2tg-classic.25751b0d.js.map",
"wptelegram--p2tg-classic.php": "/static/js/wptelegram--p2tg-classic.dee5e2a8.asset.php",
"wptelegram--p2tg-gb.js": "/static/js/wptelegram--p2tg-gb.81df1ba9.js",
"wptelegram--p2tg-gb.js.map": "/static/js/wptelegram--p2tg-gb.81df1ba9.js.map",
"wptelegram--p2tg-gb.php": "/static/js/wptelegram--p2tg-gb.17031b12.asset.php",
"static/css/wptelegram--main.8ea010a0.css.map": "/static/css/wptelegram--main.8ea010a0.css.map",
"static/js/wptelegram--main.047814bc.js.LICENSE.txt": "/static/js/wptelegram--main.047814bc.js.LICENSE.txt",
"static/js/wptelegram--p2tg-gb.81df1ba9.js.LICENSE.txt": "/static/js/wptelegram--p2tg-gb.81df1ba9.js.LICENSE.txt"
"wptelegram--main.css": "/static/css/wptelegram--main.98191b3d.css",
"wptelegram--main.js": "/static/js/wptelegram--main.8a0cefe9.js",
"wptelegram--main.js.map": "/static/js/wptelegram--main.8a0cefe9.js.map",
"wptelegram--main.php": "/static/js/wptelegram--main.7d5c1193.asset.php",
"wptelegram--p2tg-classic.js": "/static/js/wptelegram--p2tg-classic.f2a7849a.js",
"wptelegram--p2tg-classic.js.map": "/static/js/wptelegram--p2tg-classic.f2a7849a.js.map",
"wptelegram--p2tg-classic.php": "/static/js/wptelegram--p2tg-classic.c960754e.asset.php",
"wptelegram--p2tg-gb.js": "/static/js/wptelegram--p2tg-gb.173d4ecd.js",
"wptelegram--p2tg-gb.js.map": "/static/js/wptelegram--p2tg-gb.173d4ecd.js.map",
"wptelegram--p2tg-gb.php": "/static/js/wptelegram--p2tg-gb.2397ea20.asset.php",
"static/css/wptelegram--main.98191b3d.css.map": "/static/css/wptelegram--main.98191b3d.css.map",
"static/js/wptelegram--main.8a0cefe9.js.LICENSE.txt": "/static/js/wptelegram--main.8a0cefe9.js.LICENSE.txt",
"static/js/wptelegram--p2tg-gb.173d4ecd.js.LICENSE.txt": "/static/js/wptelegram--p2tg-gb.173d4ecd.js.LICENSE.txt"
},
"entrypoints": {
"wptelegram--main": [
"static/css/wptelegram--main.8ea010a0.css",
"static/js/wptelegram--main.047814bc.js",
"static/js/wptelegram--main.789f4914.asset.php"
"static/css/wptelegram--main.98191b3d.css",
"static/js/wptelegram--main.8a0cefe9.js",
"static/js/wptelegram--main.7d5c1193.asset.php"
],
"wptelegram--p2tg-classic": [
"static/js/wptelegram--p2tg-classic.25751b0d.js",
"static/js/wptelegram--p2tg-classic.dee5e2a8.asset.php"
"static/js/wptelegram--p2tg-classic.f2a7849a.js",
"static/js/wptelegram--p2tg-classic.c960754e.asset.php"
],
"wptelegram--p2tg-gb": [
"static/js/wptelegram--p2tg-gb.81df1ba9.js",
"static/js/wptelegram--p2tg-gb.17031b12.asset.php"
"static/js/wptelegram--p2tg-gb.173d4ecd.js",
"static/js/wptelegram--p2tg-gb.2397ea20.asset.php"
]
}
}
2 changes: 0 additions & 2 deletions src/assets/static/css/wptelegram--main.8ea010a0.css

This file was deleted.

1 change: 0 additions & 1 deletion src/assets/static/css/wptelegram--main.8ea010a0.css.map

This file was deleted.

2 changes: 2 additions & 0 deletions src/assets/static/css/wptelegram--main.98191b3d.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1ba14aa

Please sign in to comment.