Plugin Directory

Changeset 2705967


Ignore:
Timestamp:
04/06/2022 10:10:09 PM (4 years ago)
Author:
cloudcatch
Message:

Update to version 1.1.1 from GitHub

Location:
template-part-block
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • template-part-block/tags/1.1.1/changelog.txt

    r2705941 r2705967  
     1## [1.1.1](https://github.com/CloudCatch/wp-block-template-part/compare/1.1.0...1.1.1) (2022-04-06)
     2
     3
     4### Bug Fixes
     5
     6* global $post variable throwing notice ([ce8fd06](https://github.com/CloudCatch/wp-block-template-part/commit/ce8fd0687e6a2af3c55428a4bc7efa8b86f7aae9))
     7
    18# [1.1.0](https://github.com/CloudCatch/wp-block-template-part/compare/1.0.0...1.1.0) (2022-04-06)
    29
  • template-part-block/tags/1.1.1/languages/wp-block-template-part.pot

    r2705941 r2705967  
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/wp-block-template-part\n"
    8 "POT-Creation-Date: 2022-04-06 19:56:58+00:00\n"
     8"POT-Creation-Date: 2022-04-06 22:09:47+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • template-part-block/tags/1.1.1/lib/functions/template.php

    r2705941 r2705967  
    2121function get_template_part( $post, $template_part = '' ) {
    2222    $content         = '';
    23     $GLOBALS['post'] = \get_post( $post ); // phpcs:ignore
     23    $post            = \get_post( $post );
     24    $GLOBALS['post'] = $post; // phpcs:ignore
    2425
    2526    $template_part = $template_part ?: 'template-parts/content-' . $post->post_type;
  • template-part-block/tags/1.1.1/readme.txt

    r2705941 r2705967  
    55Tested up to: 5.9.2
    66Requires PHP: 7.0.0
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPL-3.0
    99License URI: https://github.com/cloudcatch/wp-block-template-part/blob/master/LICENSE
  • template-part-block/tags/1.1.1/vendor/autoload.php

    r2705941 r2705967  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit50639121eb613c346614ea30e8658981::getLoader();
     7return ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be::getLoader();
  • template-part-block/tags/1.1.1/vendor/composer/autoload_real.php

    r2705941 r2705967  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit50639121eb613c346614ea30e8658981
     5class ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit50639121eb613c346614ea30e8658981', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit50639121eb613c346614ea30e8658981', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit50639121eb613c346614ea30e8658981::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInitbe4b1737b4291be607d98083625cc4be::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • template-part-block/tags/1.1.1/vendor/composer/autoload_static.php

    r2705941 r2705967  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit50639121eb613c346614ea30e8658981
     7class ComposerStaticInitbe4b1737b4291be607d98083625cc4be
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit50639121eb613c346614ea30e8658981::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit50639121eb613c346614ea30e8658981::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit50639121eb613c346614ea30e8658981::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • template-part-block/tags/1.1.1/vendor/composer/installed.php

    r2705941 r2705967  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'deb564bb2f36c716d377e1d72ecef0f66a3f8d8c',
     8        'reference' => 'cff535d6ad351f8dad90b0b98ff1a725cece9e1e',
    99        'name' => 'cloudcatch/wp-block-template-part',
    1010        'dev' => false,
     
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'deb564bb2f36c716d377e1d72ecef0f66a3f8d8c',
     19            'reference' => 'cff535d6ad351f8dad90b0b98ff1a725cece9e1e',
    2020            'dev_requirement' => false,
    2121        ),
  • template-part-block/tags/1.1.1/wp-block-template-part.php

    r2705941 r2705967  
    33 * Plugin Name:     Template Part Block
    44 * Description:     Gutenberg block to render a template part inside a query loop
    5  * Version:         1.1.0
     5 * Version:         1.1.1
    66 * Author:          CloudCatch
    77 * Author URI:      https://cloudcatch.io
     
    1818define( 'WP_BLOCK_TEMPLATE_PART_DIR', \plugin_dir_path( __FILE__ ) );
    1919define( 'WP_BLOCK_TEMPLATE_PART_URL', \plugin_dir_url( __FILE__ ) );
    20 define( 'WP_BLOCK_TEMPLATE_PART_VER', '1.1.0' );
     20define( 'WP_BLOCK_TEMPLATE_PART_VER', '1.1.1' );
    2121
    2222require_once WP_BLOCK_TEMPLATE_PART_DIR . '/lib/functions/block.php';
  • template-part-block/trunk/changelog.txt

    r2705941 r2705967  
     1## [1.1.1](https://github.com/CloudCatch/wp-block-template-part/compare/1.1.0...1.1.1) (2022-04-06)
     2
     3
     4### Bug Fixes
     5
     6* global $post variable throwing notice ([ce8fd06](https://github.com/CloudCatch/wp-block-template-part/commit/ce8fd0687e6a2af3c55428a4bc7efa8b86f7aae9))
     7
    18# [1.1.0](https://github.com/CloudCatch/wp-block-template-part/compare/1.0.0...1.1.0) (2022-04-06)
    29
  • template-part-block/trunk/languages/wp-block-template-part.pot

    r2705941 r2705967  
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/wp-block-template-part\n"
    8 "POT-Creation-Date: 2022-04-06 19:56:58+00:00\n"
     8"POT-Creation-Date: 2022-04-06 22:09:47+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
  • template-part-block/trunk/lib/functions/template.php

    r2705941 r2705967  
    2121function get_template_part( $post, $template_part = '' ) {
    2222    $content         = '';
    23     $GLOBALS['post'] = \get_post( $post ); // phpcs:ignore
     23    $post            = \get_post( $post );
     24    $GLOBALS['post'] = $post; // phpcs:ignore
    2425
    2526    $template_part = $template_part ?: 'template-parts/content-' . $post->post_type;
  • template-part-block/trunk/readme.txt

    r2705941 r2705967  
    55Tested up to: 5.9.2
    66Requires PHP: 7.0.0
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88License: GPL-3.0
    99License URI: https://github.com/cloudcatch/wp-block-template-part/blob/master/LICENSE
  • template-part-block/trunk/vendor/autoload.php

    r2705941 r2705967  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit50639121eb613c346614ea30e8658981::getLoader();
     7return ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be::getLoader();
  • template-part-block/trunk/vendor/composer/autoload_real.php

    r2705941 r2705967  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit50639121eb613c346614ea30e8658981
     5class ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit50639121eb613c346614ea30e8658981', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit50639121eb613c346614ea30e8658981', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitbe4b1737b4291be607d98083625cc4be', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit50639121eb613c346614ea30e8658981::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInitbe4b1737b4291be607d98083625cc4be::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
  • template-part-block/trunk/vendor/composer/autoload_static.php

    r2705941 r2705967  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit50639121eb613c346614ea30e8658981
     7class ComposerStaticInitbe4b1737b4291be607d98083625cc4be
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2828    {
    2929        return \Closure::bind(function () use ($loader) {
    30             $loader->prefixLengthsPsr4 = ComposerStaticInit50639121eb613c346614ea30e8658981::$prefixLengthsPsr4;
    31             $loader->prefixDirsPsr4 = ComposerStaticInit50639121eb613c346614ea30e8658981::$prefixDirsPsr4;
    32             $loader->classMap = ComposerStaticInit50639121eb613c346614ea30e8658981::$classMap;
     30            $loader->prefixLengthsPsr4 = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$prefixLengthsPsr4;
     31            $loader->prefixDirsPsr4 = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$prefixDirsPsr4;
     32            $loader->classMap = ComposerStaticInitbe4b1737b4291be607d98083625cc4be::$classMap;
    3333
    3434        }, null, ClassLoader::class);
  • template-part-block/trunk/vendor/composer/installed.php

    r2705941 r2705967  
    66        'install_path' => __DIR__ . '/../../',
    77        'aliases' => array(),
    8         'reference' => 'deb564bb2f36c716d377e1d72ecef0f66a3f8d8c',
     8        'reference' => 'cff535d6ad351f8dad90b0b98ff1a725cece9e1e',
    99        'name' => 'cloudcatch/wp-block-template-part',
    1010        'dev' => false,
     
    1717            'install_path' => __DIR__ . '/../../',
    1818            'aliases' => array(),
    19             'reference' => 'deb564bb2f36c716d377e1d72ecef0f66a3f8d8c',
     19            'reference' => 'cff535d6ad351f8dad90b0b98ff1a725cece9e1e',
    2020            'dev_requirement' => false,
    2121        ),
  • template-part-block/trunk/wp-block-template-part.php

    r2705941 r2705967  
    33 * Plugin Name:     Template Part Block
    44 * Description:     Gutenberg block to render a template part inside a query loop
    5  * Version:         1.1.0
     5 * Version:         1.1.1
    66 * Author:          CloudCatch
    77 * Author URI:      https://cloudcatch.io
     
    1818define( 'WP_BLOCK_TEMPLATE_PART_DIR', \plugin_dir_path( __FILE__ ) );
    1919define( 'WP_BLOCK_TEMPLATE_PART_URL', \plugin_dir_url( __FILE__ ) );
    20 define( 'WP_BLOCK_TEMPLATE_PART_VER', '1.1.0' );
     20define( 'WP_BLOCK_TEMPLATE_PART_VER', '1.1.1' );
    2121
    2222require_once WP_BLOCK_TEMPLATE_PART_DIR . '/lib/functions/block.php';
Note: See TracChangeset for help on using the changeset viewer.