Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
Bump plugin version to 1.0.1 & refresh translations
Browse files Browse the repository at this point in the history
  • Loading branch information
imath committed Apr 20, 2022
1 parent 05559b2 commit b2f8dd5
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 24 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## 1.0.1

_Requires WordPress 5.4_
_Tested up to WordPress 6.0-beta2_
_Requires BuddyPress 10.0_
_Tested up to BuddyPress 11.0-alpha_

### Description

This is the first security release of the BuddyPress Rewrites feature as a plugin. It applies the security fixes recommanded into the review of WordPress.org Plugins team. Please upgrade asap.

### Changes

- Sanitize, escape, and validate $_POST, $_GET, $_REQUEST and $_FILE missed calls in the plugin. See #36.

---

## 1.0.0

_Requires WordPress 5.4_
Expand Down
2 changes: 1 addition & 1 deletion class-bp-rewrites.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Plugin Name: BP Rewrites
* Plugin URI: https://github.com/buddypress/bp-rewrites
* Description: BuddyPress Rewrites development plugin.
* Version: 1.0.0
* Version: 1.0.1
* Author: The BuddyPress Community
* Author URI: https://buddypress.org
* License: GPL-2.0+
Expand Down
2 changes: 1 addition & 1 deletion inc/globals.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
function globals() {
$bpr = bp_rewrites();

$bpr->version = '1.0.0';
$bpr->version = '1.0.1';

// Path.
$plugin_dir = plugin_dir_path( dirname( __FILE__ ) );
Expand Down
Binary file modified languages/bp-rewrites-fr_FR.mo
Binary file not shown.
22 changes: 11 additions & 11 deletions languages/bp-rewrites-fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ msgid ""
msgstr ""
"Project-Id-Version: BP Rewrites\n"
"Report-Msgid-Bugs-To: https://github.com/buddypress/bp-rewrites/issues\n"
"POT-Creation-Date: 2022-04-16T08:02:47+00:00\n"
"PO-Revision-Date: 2022-04-16 10:03+0200\n"
"POT-Creation-Date: 2022-04-20T10:09:10+00:00\n"
"PO-Revision-Date: 2022-04-20 12:09+0200\n"
"Last-Translator: \n"
"Language-Team: ENGLISH <[email protected]>\n"
"Language: fr\n"
Expand Down Expand Up @@ -141,7 +141,7 @@ msgstr "Terminaison d’URL « %s »"
msgid "Save Settings"
msgstr "Enregistrer les réglages"

#: src/bp-core/bp-core-template.php:51
#: src/bp-core/bp-core-template.php:56
msgid "Please wait for the `bp_parse_query` hook to be fired before using it."
msgstr ""
"Merci d’attendre que le « hook » `bp_parse_query` soit intervenu avant "
Expand All @@ -161,8 +161,8 @@ msgstr ""
msgid "Sorry, you are not allowed to create groups."
msgstr "Désolé, vous n’êtes pas autorisé·e à créer des groupes."

#: src/bp-groups/actions/create.php:67 src/bp-groups/actions/create.php:133
#: src/bp-groups/actions/create.php:165
#: src/bp-groups/actions/create.php:67 src/bp-groups/actions/create.php:131
#: src/bp-groups/actions/create.php:160
msgid "There was an error saving group details. Please try again."
msgstr ""
"Une erreur s’est produite lors de l’enregistrement des détails du groupe. "
Expand All @@ -176,23 +176,23 @@ msgstr "Seul le créateur du groupe peut continuer à modifier ce groupe."
msgid "Please fill in all of the required fields"
msgstr "Merci de renseigner tous les champs obligatoires"

#: src/bp-groups/actions/create.php:326
#: src/bp-groups/actions/create.php:321
msgid "Invite successfully removed"
msgstr "Invitation supprimée avec succès"

#: src/bp-groups/actions/create.php:332
#: src/bp-groups/actions/create.php:327
msgid "There was an error removing the invite"
msgstr "Une erreur s’est produite lors de la suppression de l’invitation"

#: src/bp-groups/actions/create.php:377
#: src/bp-groups/actions/create.php:370
msgid ""
"There was an error saving the group profile photo, please try uploading "
"again."
msgstr ""
"Une erreur s’est produite lors de l’enregistrement de la photo de profil, "
"merci de réessayer de la téléverser."

#: src/bp-groups/actions/create.php:392
#: src/bp-groups/actions/create.php:385
msgid "The group profile photo was uploaded successfully."
msgstr "La photo de profil du groupe a été téléversée avec succès."

Expand Down Expand Up @@ -300,11 +300,11 @@ msgstr ""
"Merci d’attendre que le « hook » `bp_parse_query` soit intervenu avant "
"d’essayer de récupérer l’identifiant de groupe."

#: src/bp-groups/classes/class-bp-group-extension.php:565
#: src/bp-groups/classes/class-bp-group-extension.php:576
msgid "Save Changes"
msgstr "Enregistrer les changements"

#: src/bp-groups/classes/class-bp-group-extension.php:949
#: src/bp-groups/classes/class-bp-group-extension.php:960
msgid "You do not have access to this content."
msgstr "Vous n’avez pas accès à ce contenu."

Expand Down
20 changes: 10 additions & 10 deletions languages/bp-rewrites.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2022-04-16T08:02:47+00:00\n"
"POT-Creation-Date: 2022-04-20T10:09:10+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.5.0\n"
"X-Domain: bp-rewrites\n"
Expand Down Expand Up @@ -132,7 +132,7 @@ msgstr ""
msgid "Save Settings"
msgstr ""

#: src/bp-core/bp-core-template.php:51
#: src/bp-core/bp-core-template.php:56
msgid "Please wait for the `bp_parse_query` hook to be fired before using it."
msgstr ""

Expand All @@ -146,8 +146,8 @@ msgid "Sorry, you are not allowed to create groups."
msgstr ""

#: src/bp-groups/actions/create.php:67
#: src/bp-groups/actions/create.php:133
#: src/bp-groups/actions/create.php:165
#: src/bp-groups/actions/create.php:131
#: src/bp-groups/actions/create.php:160
msgid "There was an error saving group details. Please try again."
msgstr ""

Expand All @@ -159,19 +159,19 @@ msgstr ""
msgid "Please fill in all of the required fields"
msgstr ""

#: src/bp-groups/actions/create.php:326
#: src/bp-groups/actions/create.php:321
msgid "Invite successfully removed"
msgstr ""

#: src/bp-groups/actions/create.php:332
#: src/bp-groups/actions/create.php:327
msgid "There was an error removing the invite"
msgstr ""

#: src/bp-groups/actions/create.php:377
#: src/bp-groups/actions/create.php:370
msgid "There was an error saving the group profile photo, please try uploading again."
msgstr ""

#: src/bp-groups/actions/create.php:392
#: src/bp-groups/actions/create.php:385
msgid "The group profile photo was uploaded successfully."
msgstr ""

Expand Down Expand Up @@ -275,11 +275,11 @@ msgstr ""
msgid "Please wait for the `bp_parse_query` hook to be fired before trying to get the Group ID."
msgstr ""

#: src/bp-groups/classes/class-bp-group-extension.php:565
#: src/bp-groups/classes/class-bp-group-extension.php:576
msgid "Save Changes"
msgstr ""

#: src/bp-groups/classes/class-bp-group-extension.php:949
#: src/bp-groups/classes/class-bp-group-extension.php:960
msgid "You do not have access to this content."
msgstr ""

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bp-rewrites",
"version": "1.0.0",
"version": "1.0.1",
"description": "BuddyPress Rewrites development plugin",
"scripts": {
"pot": "wp i18n make-pot . languages/bp-rewrites.pot --exclude='.github,vendor' --headers='{\"Project-Id-Version\": \"BP Rewrites\", \"Report-Msgid-Bugs-To\": \"https://github.com/buddypress/bp-rewrites/issues\", \"Last-Translator\": \"JOHN JAMES JACOBY <[email protected]>\", \"Language-Team\": \"ENGLISH <[email protected]>\"}'"
Expand Down

0 comments on commit b2f8dd5

Please sign in to comment.