Skip to content

Commit 2307f9a

Browse files
authored
Merge pull request #57 from ndiego/release/2.5.1
Version 2.5.1
2 parents 9fb0a7a + 725f81a commit 2307f9a

19 files changed

+4535
-1336
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Built for the Block (Gutenberg) Editor, this plugin was designed to work with **any** WordPress block. This includes blocks natively provided by WordPress as well as third-party blocks.
1010

11-
To get started with Block Visibility, watch the [Plugin Overview](https://www.youtube.com/watch?v=CW1L4vBpXjw) demo video.
11+
Watch the [Plugin Overview](https://www.youtube.com/watch?v=CW1L4vBpXjw) demo video to get started with Block Visibility.
1212

1313
## Connect
1414
- [Learn more at Blockvisibilitywp.com](https://www.blockvisibilitywp.com/)
@@ -17,12 +17,12 @@ To get started with Block Visibility, watch the [Plugin Overview](https://www.yo
1717

1818
## Installation
1919

20-
1. Make sure you are running the latest version of WordPress and you are using the Block Editor
20+
1. Make sure you are running the latest version of WordPress, and you are using the Block Editor
2121
2. Download Block Visibility from the [WordPress plugin directory](https://wordpress.org/plugins/block-visibility/).
2222

2323
## Development
2424

25-
1. Setup a local WordPress environment.
25+
1. Set up a local WordPress environment.
2626
2. In the `wp-content/plugins` folder, clone the GitHub repository: `https://github.com/ndiego/block-visibility.git`
2727
3. Navigate to the `wp-content/plugins/block-visibility` folder in the command line.
2828
4. Run the `npm install` command to install the plugin's dependencies within a `/node_modules/` folder.

block-visibility.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Block Visibility
44
* Plugin URI: https://www.blockvisibilitywp.com/
55
* Description: Provides visibility controls and scheduling functionality to all WordPress blocks.
6-
* Version: 2.5.0
6+
* Version: 2.5.1
77
* Requires at least: 6.0
88
* Requires PHP: 5.6
99
* Author: Nick Diego

build/block-visibility-editor-styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => 'c63fe5fa44e518f2fc8f');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '5b7f336ea03ebca305a2');

build/block-visibility-editor.js

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => 'c9a21be1410384d4fde3');
1+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-block-editor', 'wp-block-library', 'wp-components', 'wp-core-data', 'wp-data', 'wp-date', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-primitives'), 'version' => '53115480649e06e334f0');

build/block-visibility-settings.js

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

languages/block-visibility.pot

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
# Copyright (C) 2022 Nick Diego
1+
# Copyright (C) 2023 Nick Diego
22
# This file is distributed under the GPLv2.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Block Visibility 2.5.0\n"
5+
"Project-Id-Version: Block Visibility 2.5.1\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/block-visibility\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2022-12-05T02:52:33+00:00\n"
12+
"POT-Creation-Date: 2023-01-03T21:45:54+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.5.0\n"
1515
"X-Domain: block-visibility\n"
@@ -187,6 +187,26 @@ msgstr ""
187187
msgid "Visibility"
188188
msgstr ""
189189

190+
#. translators: %s: The name of the control being toggled e.g. "Hide Block".
191+
#: build/block-visibility-editor.js:7
192+
msgid "Toggle %s"
193+
msgstr ""
194+
195+
#. translators: %s: The name of the control being toggled e.g. "Hide Block".
196+
#: build/block-visibility-editor.js:9
197+
msgid "%s toggled"
198+
msgstr ""
199+
200+
#. translators: %s: The name of the control being reset e.g. "Hide Block".
201+
#: build/block-visibility-editor.js:11
202+
msgid "Reset %s"
203+
msgstr ""
204+
205+
#. translators: %s: The name of the control being reset e.g. "Hide Block".
206+
#: build/block-visibility-editor.js:13
207+
msgid "%s reset to default"
208+
msgstr ""
209+
190210
#. translators: %s: The name of the control being reset e.g. "Hide Block".
191211
#: build/block-visibility-editor.js:13
192212
#: build/block-visibility-settings.js:15
@@ -422,15 +442,15 @@ msgid "Choose a end date/time"
422442
msgstr ""
423443

424444
#: build/block-visibility-editor.js:19
425-
msgid "The start time is after the stop time. Please fix for date/time settings to function properly."
445+
msgid "Start Date/Time"
426446
msgstr ""
427447

428448
#: build/block-visibility-editor.js:19
429-
msgid "Start Date/Time"
449+
msgid "End Date/Time"
430450
msgstr ""
431451

432452
#: build/block-visibility-editor.js:19
433-
msgid "End Date/Time"
453+
msgid "The start time is after the stop time. Please fix for date/time settings to function properly."
434454
msgstr ""
435455

436456
#: build/block-visibility-editor.js:19

0 commit comments

Comments
 (0)