Plugin Directory

Changeset 2834089


Ignore:
Timestamp:
12/14/2022 10:32:24 PM (3 years ago)
Author:
iamfriendly
Message:

Update to version 0.1.3 from GitHub

Location:
content-visibility-rss-feed
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • content-visibility-rss-feed/tags/0.1.3/content-visibility-rss-feed.php

    r2568523 r2834089  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your content for those folks consuming your content with RSS.
    14  * Version:     0.1.2
     14 * Version:     0.1.3
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-rss-feed/tags/0.1.3/includes/content-visibility-rss-feed.php

    r2506375 r2834089  
    2323function enqueue_editor_assets() { // phpcs:ignore
    2424
     25    $prereqs = array(
     26        'wp-blocks',
     27        'wp-i18n',
     28        'wp-element',
     29        'wp-plugins',
     30        'wp-dom-ready',
     31    );
     32
     33    // The 5.8 widgets screen requires a special editor?! Feelsbadman.
     34    $CVEditor = new \RichardTape\ContentVisibility\Editor();
     35    if ( $CVEditor->on_widgets_screen() ) {
     36        $prereqs[] = 'wp-edit-widgets';
     37    } else {
     38        $prereqs[] = 'wp-editor';
     39    }
     40
    2541    // Register and then load our dashboard javascript.
    2642    wp_register_script(
    2743        'content-visibility-rss-feed',
    2844        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    29         array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor', 'wp-plugins', 'wp-edit-post' ),
     45        $prereqs,
    3046        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3147        true
  • content-visibility-rss-feed/tags/0.1.3/readme.txt

    r2568523 r2834089  
    44Tags: contentvisibility, block, content, visibility, rss, feed
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.2
     6Tested up to: 6.1.1
     7Stable tag: 0.1.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    3535== Changelog ==
    3636
     37= 0.1.3 =
     38* WP 6.1.1 compatibility.
     39* Fixed warning in widgets screen.
     40
    3741= 0.1.2 =
    3842* Added small icon to indicate when a block has RSS Feed rules.
  • content-visibility-rss-feed/trunk/content-visibility-rss-feed.php

    r2568523 r2834089  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your content for those folks consuming your content with RSS.
    14  * Version:     0.1.2
     14 * Version:     0.1.3
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-rss-feed/trunk/includes/content-visibility-rss-feed.php

    r2506375 r2834089  
    2323function enqueue_editor_assets() { // phpcs:ignore
    2424
     25    $prereqs = array(
     26        'wp-blocks',
     27        'wp-i18n',
     28        'wp-element',
     29        'wp-plugins',
     30        'wp-dom-ready',
     31    );
     32
     33    // The 5.8 widgets screen requires a special editor?! Feelsbadman.
     34    $CVEditor = new \RichardTape\ContentVisibility\Editor();
     35    if ( $CVEditor->on_widgets_screen() ) {
     36        $prereqs[] = 'wp-edit-widgets';
     37    } else {
     38        $prereqs[] = 'wp-editor';
     39    }
     40
    2541    // Register and then load our dashboard javascript.
    2642    wp_register_script(
    2743        'content-visibility-rss-feed',
    2844        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    29         array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-editor', 'wp-plugins', 'wp-edit-post' ),
     45        $prereqs,
    3046        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3147        true
  • content-visibility-rss-feed/trunk/readme.txt

    r2568523 r2834089  
    44Tags: contentvisibility, block, content, visibility, rss, feed
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.2
     6Tested up to: 6.1.1
     7Stable tag: 0.1.3
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    3535== Changelog ==
    3636
     37= 0.1.3 =
     38* WP 6.1.1 compatibility.
     39* Fixed warning in widgets screen.
     40
    3741= 0.1.2 =
    3842* Added small icon to indicate when a block has RSS Feed rules.
Note: See TracChangeset for help on using the changeset viewer.