Skip to content

Commit

Permalink
v1.30.1 Issue #58 - ensure dynamic blocks are not stripped unintentio…
Browse files Browse the repository at this point in the history
…nally
  • Loading branch information
bobbingwide committed Nov 27, 2018
1 parent 4d01134 commit aaf80ad
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 10 deletions.
17 changes: 14 additions & 3 deletions README.md
Expand Up @@ -3,10 +3,10 @@
* Contributors: bobbingwide
* Donate link: https://www.oik-plugins.com/oik/oik-donate/
* Tags: oik, fields, custom post types, shortcodes, APIs, hooks, [bw_api], [apis], [hooks], [codes]
* Requires at least: 4.8
* Tested up to: 5.0-alpha
* Requires at least: 4.9.8
* Tested up to: 5.0-RC1
* Gutenberg compatible: Testing
* Stable tag: 1.30.0
* Stable tag: 1.30.1
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -97,6 +97,9 @@ Yes - see above
2. Editing an oik_shortcode

## Upgrade Notice
# 1.30.1
Fixes missing dynamic block problem with Gutenberg and Yoast SEO active.

# 1.30.0
Upgrade for peaceful coexistence with the new block editor.

Expand Down Expand Up @@ -241,6 +244,14 @@ Includes a fix for the Create shortcode admin page
First version for oik-plugins.com, depends on oik v1.17 and oik-fields v1.18, oik-plugins v1.1

## Changelog
# 1.30.1
* Changed: Attempt to improve performance by restricting output to bots https://github.com/bobbingwide/oik-shortcodes/issues/60
* Fixed: oik_get_the_excerpt needs to allow for Gutenberg comments https://github.com/bobbingwide/oik-shortcodes/issues/59
* Fixed: Missing dynamic blocks when using Gutenberg and Yoast SEO without meta descriptions https://github.com/bobbingwide/oik-shortcodes/issues/58
* Tested: With WordPress 5.0-RC1
* Tested: With Gutenberg v4.5.1
* Tested: With PHP 7.1 and 7.2

# 1.30.0
* Changed: Improve _oik_sc_func field processing in the editor's meta box https://github.com/bobbingwide/oik-shortcodes/issues/52
* Changed: Support WordPress 5.0 and the new block editor https://github.com/bobbingwide/oik-shortcodes/issues/#58
Expand Down
11 changes: 7 additions & 4 deletions oik-shortcodes.php
Expand Up @@ -4,12 +4,12 @@
Plugin URI: https://www.oik-plugins.com/oik-plugins/oik-shortcodes
Description: oik shortcodes, APIs, hooks and classes and the [bw_api], [api], [apis], [codes], [hooks], [file], [files], [classes], [hook] and [md] shortcodes
Depends: oik base plugin, oik fields, oik-sc-help
Version: 1.30.0
Version: 1.30.1
Author: bobbingwide
Author URI: https://www.oik-plugins.com/author/bobbingwide
License: GPL2
Copyright 2012-2017 Bobbing Wide (email : herb@bobbingwide.com )
Copyright 2012-2018 Bobbing Wide (email : herb@bobbingwide.com )
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2,
Expand Down Expand Up @@ -57,9 +57,12 @@ function oik_shortcodes_init() {
* We could move this logic to oik
* but since we need oik-plugins, oik-themes and oik-shortcodes
* all together it's just as good here as any.
*
* For Gutenberg we no longer remove the wp_trim_excerpt filter function.
* Perhaps we should add our filter earlier in the process!
*/
remove_filter( "get_the_excerpt", "wp_trim_excerpt" );
add_filter( "get_the_excerpt", "oik_get_the_excerpt" );
//remove_filter( "get_the_excerpt", "wp_trim_excerpt" );
add_filter( "get_the_excerpt", "oik_get_the_excerpt", 9 );

add_filter( "request", "oiksc_request" );
add_action( "run_oik-shortcodes.php", "oiksc_run_oik_shortcodes" );
Expand Down
17 changes: 14 additions & 3 deletions readme.txt
Expand Up @@ -2,10 +2,10 @@
Contributors: bobbingwide
Donate link: https://www.oik-plugins.com/oik/oik-donate/
Tags: oik, fields, custom post types, shortcodes, APIs, hooks, [bw_api], [apis], [hooks], [codes]
Requires at least: 4.8
Tested up to: 5.0-alpha
Requires at least: 4.9.8
Tested up to: 5.0-RC1
Gutenberg compatible: Testing
Stable tag: 1.30.0
Stable tag: 1.30.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -96,6 +96,9 @@ Yes - see above
2. Editing an oik_shortcode

== Upgrade Notice ==
= 1.30.1 =
Fixes missing dynamic block problem with Gutenberg and Yoast SEO active.

= 1.30.0 =
Upgrade for peaceful coexistence with the new block editor.

Expand Down Expand Up @@ -240,6 +243,14 @@ Includes a fix for the Create shortcode admin page
First version for oik-plugins.com, depends on oik v1.17 and oik-fields v1.18, oik-plugins v1.1

== Changelog ==
= 1.30.1 =
* Changed: Attempt to improve performance by restricting output to bots [github bobbingwide oik-shortcodes issue 60]
* Fixed: oik_get_the_excerpt needs to allow for Gutenberg comments [github bobbingwide oik-shortcodes issue 59]
* Fixed: Missing dynamic blocks when using Gutenberg and Yoast SEO without meta descriptions [github bobbingwide oik-shortcodes issue 58]
* Tested: With WordPress 5.0-RC1
* Tested: With Gutenberg v4.5.1
* Tested: With PHP 7.1 and 7.2

= 1.30.0 =
* Changed: Improve _oik_sc_func field processing in the editor's meta box [github bobbingwide oik-shortcodes issue 52]
* Changed: Support WordPress 5.0 and the new block editor [github bobbingwide oik-shortcodes issue #58]
Expand Down

0 comments on commit aaf80ad

Please sign in to comment.