Plugin Directory

Changeset 2833254


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

Update to version 0.1.2 from GitHub

Location:
content-visibility-geolocation
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • content-visibility-geolocation/tags/0.1.2/content-visibility-geolocation.php

    r2568524 r2833254  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your blocks to visitors from specific countries.
    14  * Version:     0.1.1
     14 * Version:     0.1.2
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-geolocation/tags/0.1.2/includes/content-visibility-geolocation.php

    r2510965 r2833254  
    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    wp_register_script(
    2642        'content-visibility-geolocation',
    2743        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    28         array(
    29             'wp-blocks',
    30             'wp-i18n',
    31             'wp-element',
    32             'wp-editor',
    33             'wp-plugins',
    34             'wp-edit-post',
    35         ),
     44        $prereqs,
    3645        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3746        true
  • content-visibility-geolocation/tags/0.1.2/readme.txt

    r2568524 r2833254  
    44Tags: contentvisibility, block, content, visibility, geolocation, location
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.1
     6Tested up to: 6.1.1
     7Stable tag: 0.1.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    5151== Changelog ==
    5252
     53= 0.1.2 =
     54* WP 6.1.1 compatibility.
     55* Fixed warning on widgets screen.
     56
    5357= 0.1.1 =
    5458* Added indicator to show when a country is selected to more easily determine when a block has rules.
  • content-visibility-geolocation/trunk/content-visibility-geolocation.php

    r2568524 r2833254  
    1212 * Plugin URI:  https://richardtape.com/content-visibility/
    1313 * Description: [Content Visibility Add-On] Show or hide your blocks to visitors from specific countries.
    14  * Version:     0.1.1
     14 * Version:     0.1.2
    1515 * Author:      Richard Tape
    1616 * Author URI:  https://richardtape.com
  • content-visibility-geolocation/trunk/includes/content-visibility-geolocation.php

    r2510965 r2833254  
    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    wp_register_script(
    2642        'content-visibility-geolocation',
    2743        plugins_url( '/build/index.js', dirname( __FILE__ ) ),
    28         array(
    29             'wp-blocks',
    30             'wp-i18n',
    31             'wp-element',
    32             'wp-editor',
    33             'wp-plugins',
    34             'wp-edit-post',
    35         ),
     44        $prereqs,
    3645        filemtime( plugin_dir_path( __DIR__ ) . 'build/index.js' ),
    3746        true
  • content-visibility-geolocation/trunk/readme.txt

    r2568524 r2833254  
    44Tags: contentvisibility, block, content, visibility, geolocation, location
    55Requires at least: 5.0
    6 Tested up to: 5.8.0
    7 Stable tag: 0.1.1
     6Tested up to: 6.1.1
     7Stable tag: 0.1.2
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    5151== Changelog ==
    5252
     53= 0.1.2 =
     54* WP 6.1.1 compatibility.
     55* Fixed warning on widgets screen.
     56
    5357= 0.1.1 =
    5458* Added indicator to show when a country is selected to more easily determine when a block has rules.
Note: See TracChangeset for help on using the changeset viewer.