Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
afragen committed Dec 2, 2024
2 parents 710712d + 3b4caa5 commit 6b53bfa
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 9 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/generate-pot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Generate POT

on:
push:
branches:
- main
- master

jobs:
WP_POT_Generator:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@master
- name: WordPress POT Generator
uses: varunsridharan/[email protected]
with:
save_path: "./languages"
item_slug: "${{ github.event.repository.name }}"
domain: "${{ github.event.repository.name }}"
package_name: "${{ github.event.repository.name }}"
headers: '{"Report-Msgid-Bugs-To":"https://github.com/${{ github.event.repository.full_name }}/${{ github.event.repository.name }}/issues"}'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[unreleased]

#### 3.6.2 / 2024-12-02
* Plugin Check and i18n updates

#### 3.6.1 / 2024-10-23
* fix if `get_preferred_from_update_core()` continues to return less than a complete response

Expand Down
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@
]
},
"scripts": {
"make-pot": [
"wp i18n make-pot . languages/wordpress-beta-tester.pot --allow-root"
],
"wpcs": [
"vendor/bin/phpcbf .; vendor/bin/phpcs ."
]
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ License: GPLv2
License URI: https://www.opensource.org/licenses/GPL-2.0
Requires at least: 3.1
Requires PHP: 5.6
Tested up to: 6.7
Stable Tag: 3.6.1
Tested up to: 6.8
Stable Tag: 3.6.2

Allows you to easily upgrade for testing the next versions of WordPress.

Expand All @@ -32,6 +32,9 @@ PRs are welcome on [GitHub](https://github.com/afragen/wordpress-beta-tester).

## Changelog

#### 3.6.2 / 2024-12-02
* Plugin Check and i18n updates

#### 3.6.1 / 2024-10-23
* fix if `get_preferred_from_update_core()` continues to return less than a complete response

Expand Down
2 changes: 1 addition & 1 deletion src/WPBT/WPBT_Core.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function channel_radio_group() {
?>
<fieldset>
<tr>
<th><label><?php esc_html_e( __( 'Save after switching', 'wordpress-beta-tester' ) ); ?></label></th>
<th><label><?php echo esc_html( __( 'Save after switching', 'wordpress-beta-tester' ) ); ?></label></th>
<td></td>
</tr>
</fieldset>
Expand Down
2 changes: 1 addition & 1 deletion src/WPBT/WPBT_Help.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function add_help_tabs() {
}

get_current_screen()->set_help_sidebar(
'<p><strong>' . __( 'For more information:' ) . '</strong></p>'
'<p><strong>' . __( 'For more information:', 'wordpress-beta-tester' ) . '</strong></p>'
. '<p>' . __( '<a href="https://make.wordpress.org/core/handbook/testing/beta-testing/">Beta Testing</a>', 'wordpress-beta-tester' ) . '</p>'
);

Expand Down
2 changes: 1 addition & 1 deletion src/WPBT/WPBT_Settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ public static function checkbox_setting( $args ) {
<?php echo esc_attr( $args['title'] ); ?>
<?php
if ( isset( $args['description'] ) ) {
echo '<p class="description">' . esc_attr__( $args['description'] ) . '</p>';
echo '<p class="description">' . esc_attr( $args['description'] ) . '</p>';
}
?>
</label>
Expand Down
2 changes: 1 addition & 1 deletion wp-beta-tester.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* Plugin URI: https://wordpress.org/plugins/wordpress-beta-tester/
* Description: Allows you to easily upgrade to Beta releases.
* Author: WordPress Upgrade/Install Team
* Version: 3.6.1
* Version: 3.6.2
* Network: true
* Author URI: https://make.wordpress.org/core/components/upgrade-install/
* Text Domain: wordpress-beta-tester
Expand Down

0 comments on commit 6b53bfa

Please sign in to comment.