Plugin Directory

Changeset 2833258


Ignore:
Timestamp:
12/13/2022 07:40:25 PM (3 years ago)
Author:
iamfriendly
Message:

Update to version 0.1.1 from GitHub

Location:
content-visibility-specific-users
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • content-visibility-specific-users/tags/0.1.1/content-visibility-specific-users.php

    r2568525 r2833258  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your blocks to specific users.
    14  * Version:     0.1.0
     14 * Version:     0.1.1
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-specific-users/tags/0.1.1/includes/content-visibility-specific-users.php

    r2568525 r2833258  
    2424function enqueue_editor_assets() { // phpcs:ignore
    2525
     26    $prereqs = array(
     27        'wp-blocks',
     28        'wp-i18n',
     29        'wp-element',
     30        'wp-plugins',
     31        'wp-dom-ready',
     32    );
     33
     34    // The 5.8 widgets screen requires a special editor?! Feelsbadman.
     35    $CVEditor = new \RichardTape\ContentVisibility\Editor();
     36    if ( $CVEditor->on_widgets_screen() ) {
     37        $prereqs[] = 'wp-edit-widgets';
     38    } else {
     39        $prereqs[] = 'wp-editor';
     40    }
     41
    2642    wp_register_script(
    2743        'content-visibility-specificusers',
    2844        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    29         array(
    30             'wp-blocks',
    31             'wp-i18n',
    32             'wp-element',
    33             'wp-editor',
    34             'wp-plugins',
    35             'wp-edit-post',
    36         ),
     45        $prereqs,
    3746        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3847        true
  • content-visibility-specific-users/tags/0.1.1/readme.txt

    r2568525 r2833258  
    44Tags: contentvisibility, block, content, visibility, user, users
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.0
     6Tested up to: 6.1.1
     7Stable tag: 0.1.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    4141== Changelog ==
    4242
     43= 0.1.1 =
     44* WP 6.1.1 compatibility.
     45* Fixed warning on Widgets screen.
     46
    4347= 0.1.0 =
    4448* First public release.
  • content-visibility-specific-users/trunk/content-visibility-specific-users.php

    r2568525 r2833258  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your blocks to specific users.
    14  * Version:     0.1.0
     14 * Version:     0.1.1
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-specific-users/trunk/includes/content-visibility-specific-users.php

    r2568525 r2833258  
    2424function enqueue_editor_assets() { // phpcs:ignore
    2525
     26    $prereqs = array(
     27        'wp-blocks',
     28        'wp-i18n',
     29        'wp-element',
     30        'wp-plugins',
     31        'wp-dom-ready',
     32    );
     33
     34    // The 5.8 widgets screen requires a special editor?! Feelsbadman.
     35    $CVEditor = new \RichardTape\ContentVisibility\Editor();
     36    if ( $CVEditor->on_widgets_screen() ) {
     37        $prereqs[] = 'wp-edit-widgets';
     38    } else {
     39        $prereqs[] = 'wp-editor';
     40    }
     41
    2642    wp_register_script(
    2743        'content-visibility-specificusers',
    2844        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    29         array(
    30             'wp-blocks',
    31             'wp-i18n',
    32             'wp-element',
    33             'wp-editor',
    34             'wp-plugins',
    35             'wp-edit-post',
    36         ),
     45        $prereqs,
    3746        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3847        true
  • content-visibility-specific-users/trunk/readme.txt

    r2568525 r2833258  
    44Tags: contentvisibility, block, content, visibility, user, users
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.0
     6Tested up to: 6.1.1
     7Stable tag: 0.1.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    4141== Changelog ==
    4242
     43= 0.1.1 =
     44* WP 6.1.1 compatibility.
     45* Fixed warning on Widgets screen.
     46
    4347= 0.1.0 =
    4448* First public release.
Note: See TracChangeset for help on using the changeset viewer.