Skip to content

Commit

Permalink
Merge pull request #57 from ndiego/release/2.5.1
Browse files Browse the repository at this point in the history
Version 2.5.1
  • Loading branch information
ndiego authored Jan 3, 2023
2 parents 9fb0a7a + 725f81a commit 2307f9a
Show file tree
Hide file tree
Showing 19 changed files with 4,535 additions and 1,336 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

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.

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

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

## Installation

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

## Development

1. Setup a local WordPress environment.
1. Set up a local WordPress environment.
2. In the `wp-content/plugins` folder, clone the GitHub repository: `https://github.com/ndiego/block-visibility.git`
3. Navigate to the `wp-content/plugins/block-visibility` folder in the command line.
4. Run the `npm install` command to install the plugin's dependencies within a `/node_modules/` folder.
Expand Down
2 changes: 1 addition & 1 deletion block-visibility.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Block Visibility
* Plugin URI: https://www.blockvisibilitywp.com/
* Description: Provides visibility controls and scheduling functionality to all WordPress blocks.
* Version: 2.5.0
* Version: 2.5.1
* Requires at least: 6.0
* Requires PHP: 5.6
* Author: Nick Diego
Expand Down
2 changes: 1 addition & 1 deletion build/block-visibility-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/block-visibility-editor.asset.php
Original file line number Diff line number Diff line change
@@ -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');
<?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');
28 changes: 14 additions & 14 deletions build/block-visibility-editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/block-visibility-settings.asset.php
Original file line number Diff line number Diff line change
@@ -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');
<?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');
18 changes: 9 additions & 9 deletions build/block-visibility-settings.js

Large diffs are not rendered by default.

32 changes: 26 additions & 6 deletions languages/block-visibility.pot
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Copyright (C) 2022 Nick Diego
# Copyright (C) 2023 Nick Diego
# This file is distributed under the GPLv2.
msgid ""
msgstr ""
"Project-Id-Version: Block Visibility 2.5.0\n"
"Project-Id-Version: Block Visibility 2.5.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/block-visibility\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2022-12-05T02:52:33+00:00\n"
"POT-Creation-Date: 2023-01-03T21:45:54+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.5.0\n"
"X-Domain: block-visibility\n"
Expand Down Expand Up @@ -187,6 +187,26 @@ msgstr ""
msgid "Visibility"
msgstr ""

#. translators: %s: The name of the control being toggled e.g. "Hide Block".
#: build/block-visibility-editor.js:7
msgid "Toggle %s"
msgstr ""

#. translators: %s: The name of the control being toggled e.g. "Hide Block".
#: build/block-visibility-editor.js:9
msgid "%s toggled"
msgstr ""

#. translators: %s: The name of the control being reset e.g. "Hide Block".
#: build/block-visibility-editor.js:11
msgid "Reset %s"
msgstr ""

#. translators: %s: The name of the control being reset e.g. "Hide Block".
#: build/block-visibility-editor.js:13
msgid "%s reset to default"
msgstr ""

#. translators: %s: The name of the control being reset e.g. "Hide Block".
#: build/block-visibility-editor.js:13
#: build/block-visibility-settings.js:15
Expand Down Expand Up @@ -422,15 +442,15 @@ msgid "Choose a end date/time"
msgstr ""

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

#: build/block-visibility-editor.js:19
msgid "Start Date/Time"
msgid "End Date/Time"
msgstr ""

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

#: build/block-visibility-editor.js:19
Expand Down
Loading

0 comments on commit 2307f9a

Please sign in to comment.