Gutenberg Blocks and Template Library by Otter - Version 1.0.3

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Gutenberg Blocks and Template Library by Otter
Version 1.0.3
Comparing to
See all releases

Code changes from version 1.0.2 to 1.0.3

CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
 
 
 
 
 
2
  ### v1.0.2 - 2018-12-05
3
  **Changes:**
4
  * - Fixed Notice Block and Font Awesome Icons
1
 
2
+ ### v1.0.3 - 2018-12-07
3
+ **Changes:**
4
+ * - Fixes issue with Posts Grid block displaying wrong author
5
+
6
  ### v1.0.2 - 2018-12-05
7
  **Changes:**
8
  * - Fixed Notice Block and Font Awesome Icons
README.md DELETED
@@ -1,40 +0,0 @@
1
- # Otter Blocks - Awesome Gutenberg Blocks #
2
- **Contributors:** [themeisle](https://profiles.wordpress.org/themeisle), [hardeepasrani](https://profiles.wordpress.org/hardeepasrani)
3
- **Tags:** gutenberg, block, services block, pricing block, testimonials block, post grid block, google map block, font awesome block, sharing icons block, about author block, accodion block, pie chart block, notice block, tweet block.
4
- **Requires at least:** 4.9.
5
- **Tested up to:** 4.9
6
- **Requires PHP:** 5.4
7
- **Stable tag:** trunk
8
- **License:** GPLv3
9
- **License URI:** https://www.gnu.org/licenses/gpl-3.0.en.html
10
-
11
- Create beautiful and attracting posts, pages, and landing pages with Otter Blocks. Otter Blocks comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
12
-
13
- ## Description ##
14
-
15
- Create beautiful and attracting posts, pages, and landing pages with Otter Blocks. Otter Blocks comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
16
-
17
- See what you can do with Otter Blocks: [https://demo.themeisle.com/otter-blocks/](https://demo.themeisle.com/otter-blocks/)
18
-
19
- It has:
20
-
21
- - Our Services Block
22
- - Pricing Block
23
- - Testimonials Block
24
- - Post Grid Block
25
- - Plugin Card Block
26
- - Google Map Block
27
- - Font Awesome Icon Block
28
- - Sharing Icons Block
29
- - About Author Block
30
- - Accordion Block
31
- - Pie Chart Block
32
- - Notice Block
33
- - Click to Tweet Block
34
-
35
- ## Installation ##
36
- Activating this plugin is just like any other plugin. If you’ve uploaded the plugin package to your server already, skip to step 5 below:
37
-
38
- 1. Install using the WordPress built-in Plugin installer, or Extract the zip file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
39
- 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
40
- 3. Go to Gutenberg editor and play around with the block.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
otter-blocks.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Otter Blocks - Awesome Gutenberg Blocks
4
  * Plugin URI: https://themeisle.com/plugins/otter-blocks
5
  * Description: Create beautiful and attracting posts, pages, and landing pages with Otter Blocks. Otter Blocks comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
- * Version: 1.0.2
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com
9
  * License: GPL-2.0+
3
  * Plugin Name: Otter Blocks - Awesome Gutenberg Blocks
4
  * Plugin URI: https://themeisle.com/plugins/otter-blocks
5
  * Description: Create beautiful and attracting posts, pages, and landing pages with Otter Blocks. Otter Blocks comes with dozens of Gutenberg blocks that are all you need to build beautiful pages.
6
+ * Version: 1.0.3
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com
9
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd62ae4e94d95d82277ebf41bff56d673::getLoader();
vendor/codeinwp/gutenberg-blocks/blocks/post-grid/class-posts-grid-block.php CHANGED
@@ -146,9 +146,10 @@ class Posts_Grid_Block extends Base_Block {
146
 
147
  if ( ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) ) {
148
  $list_items_markup .= sprintf(
149
- '%1$s %2$s',
150
  __( 'by', 'textdomain' ),
151
- get_the_author_posts_link( get_the_author_meta( $id ) )
 
152
  );
153
  }
154
 
146
 
147
  if ( ( isset( $attributes['displayAuthor'] ) && $attributes['displayAuthor'] ) ) {
148
  $list_items_markup .= sprintf(
149
+ '%1$s <a href="%2$s">%3$s</a>',
150
  __( 'by', 'textdomain' ),
151
+ get_author_posts_url( get_post_field( 'post_author', $id ) ),
152
+ get_the_author_meta( 'display_name', get_post_field( 'post_author', $id ) )
153
  );
154
  }
155
 
vendor/codeinwp/gutenberg-blocks/composer.json CHANGED
@@ -2,7 +2,7 @@
2
  "name": "codeinwp/gutenberg-blocks",
3
  "description": "A set of awesome Gutenberg Blocks!",
4
  "type": "library",
5
- "version": "1.0.2",
6
  "license": "GPL-2.0-or-later",
7
  "homepage": "https://github.com/Codeinwp/gutenberg-blocks",
8
  "authors": [
2
  "name": "codeinwp/gutenberg-blocks",
3
  "description": "A set of awesome Gutenberg Blocks!",
4
  "type": "library",
5
+ "version": "1.0.3",
6
  "license": "GPL-2.0-or-later",
7
  "homepage": "https://github.com/Codeinwp/gutenberg-blocks",
8
  "authors": [
vendor/codeinwp/gutenberg-blocks/load.php CHANGED
@@ -8,7 +8,7 @@
8
  * @since 1.0.0
9
  */
10
 
11
- define( 'THEMEISLE_GUTENBERG_BLOCKS_VERSION', '1.0.2' );
12
  define( 'THEMEISLE_GUTENBERG_BLOCKS_DEV', false );
13
 
14
  add_action(
8
  * @since 1.0.0
9
  */
10
 
11
+ define( 'THEMEISLE_GUTENBERG_BLOCKS_VERSION', '1.0.3' );
12
  define( 'THEMEISLE_GUTENBERG_BLOCKS_DEV', false );
13
 
14
  add_action(
vendor/codeinwp/gutenberg-blocks/package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "themeisle-gutenberg-blocks",
3
- "version": "1.0.2",
4
  "description": "ThemeIsle Gutenberg Blocks",
5
  "scripts": {
6
  "build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
1
  {
2
  "name": "themeisle-gutenberg-blocks",
3
+ "version": "1.0.3",
4
  "description": "ThemeIsle Gutenberg Blocks",
5
  "scripts": {
6
  "build": "cross-env BABEL_ENV=default NODE_ENV=production webpack",
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit1e6af7f7f127bba260d82e5220539cb5
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire1e6af7f7f127bba260d82e5220539cb5($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire1e6af7f7f127bba260d82e5220539cb5($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitd62ae4e94d95d82277ebf41bff56d673
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInitd62ae4e94d95d82277ebf41bff56d673', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInitd62ae4e94d95d82277ebf41bff56d673', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequired62ae4e94d95d82277ebf41bff56d673($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequired62ae4e94d95d82277ebf41bff56d673($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -6,15 +6,15 @@
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/gutenberg-blocks.git",
9
- "reference": "fb84928d6d49fafd433e0a2d006fd84801aff06b"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/Codeinwp/gutenberg-blocks/zipball/fb84928d6d49fafd433e0a2d006fd84801aff06b",
14
- "reference": "fb84928d6d49fafd433e0a2d006fd84801aff06b",
15
  "shasum": ""
16
  },
17
- "time": "2018-12-05 13:38:14",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/Codeinwp/gutenberg-blocks.git",
9
+ "reference": "beaf1d9b72c60ccd4be4145aa49a01aac15d2f07"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/Codeinwp/gutenberg-blocks/zipball/beaf1d9b72c60ccd4be4145aa49a01aac15d2f07",
14
+ "reference": "beaf1d9b72c60ccd4be4145aa49a01aac15d2f07",
15
  "shasum": ""
16
  },
17
+ "time": "2018-12-07 08:49:05",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {