diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..996ca1d --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +/.editorconfig export-ignore +/.gitattributes export-ignore +/.gitignore export-ignore +/composer.json export-ignore +/composer.lock export-ignore +/package.json export-ignore +/package-lock.json export-ignore +/LICENSE export-ignore +/README.md export-ignore +/vendor export-ignore diff --git a/class-bp-beta-tester.php b/class-bp-beta-tester.php index e326802..3fdd84e 100644 --- a/class-bp-beta-tester.php +++ b/class-bp-beta-tester.php @@ -11,7 +11,7 @@ * Plugin Name: BP Beta Tester * Plugin URI: https://github.com/buddypress/bp-beta-tester * Description: A plugin to switch between stable, beta or RC versions of BuddyPress. - * Version: 1.0.0-alpha + * Version: 1.0.0-beta1 * Author: The BuddyPress Community * Author URI: https://buddypress.org * Text Domain: bp-beta-tester diff --git a/inc/globals.php b/inc/globals.php index 18d9215..32ecefd 100644 --- a/inc/globals.php +++ b/inc/globals.php @@ -17,7 +17,7 @@ function bp_beta_tester_globals() { $bpbt = bp_beta_tester(); - $bpbt->version = '1.0.0-alpha'; + $bpbt->version = '1.0.0-beta1'; // Paths. $bpbt->dir = plugin_dir_path( dirname( __FILE__ ) ); diff --git a/languages/bp-beta-tester.pot b/languages/bp-beta-tester.pot index f161dc7..f5a7fdd 100644 --- a/languages/bp-beta-tester.pot +++ b/languages/bp-beta-tester.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the BP Beta Tester plugin. msgid "" msgstr "" -"Project-Id-Version: BP Beta Tester 1.0.0-alpha\n" +"Project-Id-Version: BP Beta Tester 1.0.0-beta1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/bp-beta-tester\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2019-10-09T18:29:52+00:00\n" +"POT-Creation-Date: 2019-11-04T18:13:31+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.3.0\n" "X-Domain: bp-beta-tester\n" @@ -35,91 +35,91 @@ msgid "https://buddypress.org" msgstr "" #. translators: the %s placeholder is for the BuddyPress release tag. -#: inc/functions.php:255 +#: inc/functions.php:256 msgid "Install %s" msgstr "" #. translators: the %s placeholder is for the BuddyPress release tag. -#: inc/functions.php:275 +#: inc/functions.php:276 msgid "Upgrade to %s" msgstr "" -#: inc/functions.php:326 -#: inc/functions.php:488 -#: inc/functions.php:509 +#: inc/functions.php:327 +#: inc/functions.php:489 +#: inc/functions.php:510 msgid "Beta Test BuddyPress" msgstr "" -#: inc/functions.php:331 +#: inc/functions.php:332 msgid "Main actions" msgstr "" #. translators: the %s placeholder is for the BuddyPress release tag. -#: inc/functions.php:343 +#: inc/functions.php:344 msgid "Downgrade to %s" msgstr "" #. translators: %1$s is the current user display name and %2$s is a heart dashicon. -#: inc/functions.php:357 +#: inc/functions.php:358 msgid "Thank you so much %1$s %2$s" msgstr "" -#: inc/functions.php:364 +#: inc/functions.php:365 msgid "Thanks for contributing to BuddyPress: beta testing the plugin is very important to make sure it behaves the right way for you and for the community." msgstr "" -#: inc/functions.php:365 +#: inc/functions.php:366 msgid "Although the BuddyPress Core Development Team is regularly testing it, it's very challenging to test every possible configuration of WordPress and BuddyPress." msgstr "" #. translators: %s is the link to the WP Core Contributor handbook page about installing WordPress locally. -#: inc/functions.php:370 +#: inc/functions.php:371 msgid "Please make sure to avoid using this plugin on a production site: beta testing is always safer when it's done on a %s of your site or on a testing site." msgstr "" -#: inc/functions.php:371 +#: inc/functions.php:372 msgid "local copy" msgstr "" #. translators: %1$s is the link to the BuddyPress account on Twitter and %2$s is the link to the BuddyPress blog. -#: inc/functions.php:381 +#: inc/functions.php:382 msgid "There is no pre-releases to test currently. Please consider following BuddyPress %1$s or checking %2$s regularly to be informed of the next pre-releases." msgstr "" -#: inc/functions.php:382 +#: inc/functions.php:383 msgid "on Twitter" msgstr "" -#: inc/functions.php:383 +#: inc/functions.php:384 msgid "our blog" msgstr "" -#: inc/functions.php:388 +#: inc/functions.php:389 msgid "Have you found a bug or a possible improvement?" msgstr "" #. translators: %1$s is the link to the BuddyPress Trac and %2$s is the link to the BuddyPress Support forums. -#: inc/functions.php:393 +#: inc/functions.php:394 msgid "Please let us know about it opening a new ticket on our %1$s or posting a new topic in our %2$s." msgstr "" -#: inc/functions.php:394 +#: inc/functions.php:395 msgid "Development Tracker" msgstr "" -#: inc/functions.php:395 +#: inc/functions.php:396 msgid "support forums" msgstr "" -#: inc/functions.php:399 +#: inc/functions.php:400 msgid "One of the Core Developers/Support forum moderators will review your feedback and we'll do our best to fix it before the stable version is made available to the public." msgstr "" #. translators: the %s placeholder is for the BuddyPress release tag. -#: inc/functions.php:469 +#: inc/functions.php:470 msgid "The BuddyPress version %s is not available on WordPress.org." msgstr "" -#: inc/functions.php:487 +#: inc/functions.php:488 msgid "BuddyPress Beta Tester" msgstr "" diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..47dae8d --- /dev/null +++ b/package-lock.json @@ -0,0 +1,5 @@ +{ + "name": "bp-beta-tester", + "version": "1.0.0-beta1", + "lockfileVersion": 1 +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..d5e21cb --- /dev/null +++ b/package.json @@ -0,0 +1,30 @@ +{ + "author": "buddypress", + "bugs": { + "url": "https://github.com/buddypress/bp-beta-tester/issues" + }, + "description": "A plugin to switch between stable, beta or RC versions of BuddyPress.", + "engines": { + "node": "10.13.0", + "npm": "6.12.0" + }, + "scripts": { + "wpcs": "./vendor/bin/phpcs class-bp-beta-tester.php inc/*.php --standard=WordPress", + "pot": "wp i18n make-pot . languages/bp-beta-tester.pot" + }, + "keywords": [ + "buddypress", + "beta", + "RC", + "test", + "betatest" + ], + "homepage": "https://github.com/buddypress/bp-beta-tester", + "license": "GPL-2.0+", + "name": "bp-beta-tester", + "repository": { + "type": "git", + "url": "https://github.com/buddypress/bp-beta-tester.git" + }, + "version": "1.0.0-beta1" +}