Plugin Directory

Changeset 1984689


Ignore:
Timestamp:
12/03/2018 07:51:31 PM (7 years ago)
Author:
momostefan
Message:

Fix a 500 error when Gutenberg is not installed

Location:
momoyoga-integration
Files:
3 edited
8 copied

Legend:

Unmodified
Added
Removed
  • momoyoga-integration/tags/2.2.1/momoyoga-gutenburg.php

    r1982035 r1984689  
    1616
    1717
    18 $gutenberg_block = new GutenbergBlock();
    19 add_action( 'init', array( $gutenberg_block, 'add_hooks' ) );
     18if (function_exists('register_block_type')) {
     19    $gutenberg_block = new GutenbergBlock();
     20    add_action( 'init', array( $gutenberg_block, 'add_hooks' ) );
     21}
  • momoyoga-integration/tags/2.2.1/momoyoga-schedule.php

    r1982035 r1984689  
    33/**
    44 * @package Momoyoga integration plugin
    5  * @version 2.2.0
     5 * @version 2.2.1
    66 */
    77/*
     
    99Plugin URI:     https://help.momoyoga.com/hc/en-us/articles/115003513171-How-to-integrate-the-schedule-with-my-website-using-Wordpress-
    1010Description:    Show your Momoyoga class schedule on your Wordpress website.
    11 Version:        2.2.0
     11Version:        2.2.1
    1212Author:         Momoyoga
    1313Author URI:     https://www.momoyoga.com
     
    1616*/
    1717
    18 define('MOMO_PLUGIN_VERSION', '2.2.0');
     18define('MOMO_PLUGIN_VERSION', '2.2.1');
    1919
    2020
  • momoyoga-integration/tags/2.2.1/readme.txt

    r1982035 r1984689  
    44Requires at least: 4.0
    55Tested up to: 5.0
    6 Stable tag: 2.2.0
     6Stable tag: 2.2.1
    77License: GPLv2 or later
    88
     
    8181== Changelog ==
    8282
     83= 2.2.1 =
     84*Release Date - 3 December 2018*
     85
     86* Fix a 500 error when Gutenburg is not installed.
     87
    8388= 2.2.0 =
    8489*Release Date - 28 November 2018*
  • momoyoga-integration/trunk/momoyoga-gutenburg.php

    r1982035 r1984689  
    1616
    1717
    18 $gutenberg_block = new GutenbergBlock();
    19 add_action( 'init', array( $gutenberg_block, 'add_hooks' ) );
     18if (function_exists('register_block_type')) {
     19    $gutenberg_block = new GutenbergBlock();
     20    add_action( 'init', array( $gutenberg_block, 'add_hooks' ) );
     21}
  • momoyoga-integration/trunk/momoyoga-schedule.php

    r1982035 r1984689  
    33/**
    44 * @package Momoyoga integration plugin
    5  * @version 2.2.0
     5 * @version 2.2.1
    66 */
    77/*
     
    99Plugin URI:     https://help.momoyoga.com/hc/en-us/articles/115003513171-How-to-integrate-the-schedule-with-my-website-using-Wordpress-
    1010Description:    Show your Momoyoga class schedule on your Wordpress website.
    11 Version:        2.2.0
     11Version:        2.2.1
    1212Author:         Momoyoga
    1313Author URI:     https://www.momoyoga.com
     
    1616*/
    1717
    18 define('MOMO_PLUGIN_VERSION', '2.2.0');
     18define('MOMO_PLUGIN_VERSION', '2.2.1');
    1919
    2020
  • momoyoga-integration/trunk/readme.txt

    r1982035 r1984689  
    44Requires at least: 4.0
    55Tested up to: 5.0
    6 Stable tag: 2.2.0
     6Stable tag: 2.2.1
    77License: GPLv2 or later
    88
     
    8181== Changelog ==
    8282
     83= 2.2.1 =
     84*Release Date - 3 December 2018*
     85
     86* Fix a 500 error when Gutenberg is not installed.
     87
    8388= 2.2.0 =
    8489*Release Date - 28 November 2018*
Note: See TracChangeset for help on using the changeset viewer.