Skip to content

Commit

Permalink
Merge pull request #313 from Getbeans/release/1.5.1
Browse files Browse the repository at this point in the history
Release 1.5.1
  • Loading branch information
Tonya Mork authored Jul 22, 2018
2 parents ff8c132 + 0127dcd commit 3abc866
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 5 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
# Beans Changelog

## 2018.07.22 - version 1.5.1

This release fixes the following bugs:

* Fixed #305 - re-enabled displaying the image field upload button.
* Fixed #307 - added functionality to recompile when in development mode.
* Fixed #304 - changed the screenshot to a .png file

This release adds a new screenshot design too, just for fun!

## 2018.07.10 - version 1.5.0

This release candidate includes security, web accessibility, code quality improvements, performance improvements, and bug fixes. The entire framework is now WPCS compliant. The APIs are now fully and thoroughly well-tested. All found issues are resolved. New functionality is added.
This release includes security, web accessibility, code quality improvements, performance improvements, and bug fixes. The entire framework is now WPCS compliant. The APIs are now fully and thoroughly well-tested. All found issues are resolved. New functionality is added.

### Improved
* Improved web accessibility by adding skip links, ARIA, labels, tabs, and more.
Expand Down
3 changes: 2 additions & 1 deletion lib/api/compiler/class-beans-compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ public function __construct( array $config ) {
* Run the compiler.
*
* @since 1.5.0
* @since 1.5.1 Recompile when in development mode.
*
* @return void
*/
Expand All @@ -88,7 +89,7 @@ public function run_compiler() {
$this->set_fragments();
$this->set_filename();

if ( ! $this->cache_file_exist() ) {
if ( _beans_is_compiler_dev_mode() || ! $this->cache_file_exist() ) {
$this->filesystem();
$this->maybe_make_dir();
$this->combine_fragments();
Expand Down
2 changes: 1 addition & 1 deletion lib/api/fields/types/views/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// phpcs:disable Generic.WhiteSpace.ScopeIndent.Incorrect, Generic.WhiteSpace.ScopeIndent.IncorrectExact -- View file is indented for HTML structure.
?>

<button class="bs-add-image button button-small" type="button" <?php echo isset( $hide_add_link ) ? 'style="display: none"' : ''; ?>><?php echo esc_html( $link_text ); ?></button>
<button class="bs-add-image button button-small" type="button" <?php echo isset( $hide_add_link ) && $hide_add_link ? 'style="display: none"' : ''; ?>><?php echo esc_html( $link_text ); ?></button>
<input id="<?php echo esc_attr( $field['id'] ); ?>" type="hidden" name="<?php echo esc_attr( $field['name'] ); ?>" value="">
<div class="bs-images-wrap" data-multiple="<?php echo esc_attr( $is_multiple ); ?>">
<?php
Expand Down
2 changes: 1 addition & 1 deletion lib/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
function beans_define_constants() {
// Define version.
define( 'BEANS_VERSION', '1.5.0' );
define( 'BEANS_VERSION', '1.5.1' );

// Define paths.
if ( ! defined( 'BEANS_THEME_PATH' ) ) {
Expand Down
Binary file removed screenshot.jpg
Binary file not shown.
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Theme URI: https://www.getbeans.io/themes/beans/
Author: Beans
Author URI: https://www.getbeans.io
Description: The most innovative theme for WordPress. The real magic is under the hood.
Version: 1.5.0
Version: 1.5.1
Text Domain: tm-beans
Tags: white, light, one-column, two-columns, three-columns, right-sidebar, left-sidebar, responsive-layout, fluid-layout, fixed-layout, custom-header, custom-background, custom-menu, editor-style, featured-images, microformats, post-formats, translation-ready
License: GNU General Public License v2 or later
Expand Down

0 comments on commit 3abc866

Please sign in to comment.