Plugin Directory

Changeset 2816864


Ignore:
Timestamp:
11/11/2022 11:34:48 PM (3 years ago)
Author:
jluxenberg
Message:

# 1.0.5
fix: fixed bug preventing media, pages, and draft posts from appearing in search results

Location:
commandbar-for-wp-admin/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • commandbar-for-wp-admin/trunk/README.txt

    r2802580 r2816864  
    33Tags:              better search, product search, search, woocommerce search, admin, command palette
    44Requires at least: 5.0
    5 Tested up to:      6.0.2
     5Tested up to:      6.1
    66Requires PHP:      7.0
    7 Stable tag:        1.0.4
     7Stable tag:        1.0.5
    88License:           BSD-3-Clause
    99License URI:       https://www.gnu.org/licenses/license-list.html#ModifiedBSD
     
    3232
    3333== Changelog ==
     34# 1.0.5
     35fix: fixed bug preventing media, pages, and draft posts from appearing in search results
     36
    3437# 1.0.4
    3538fix: Jetpack icon was broken (ENG-1169)
  • commandbar-for-wp-admin/trunk/class-commandbar-api.php

    r2802580 r2816864  
    4949        $editable_post_types = [];
    5050
    51         $is_admin = current_user_can('editor') && COMMANDBAR_ENABLE_FOR_ADMIN_USERS;
     51        $is_admin = current_user_can('edit_posts') && COMMANDBAR_ENABLE_FOR_ADMIN_USERS;
    5252
    5353        if ($is_admin) {
  • commandbar-for-wp-admin/trunk/class-commandbar-boot.php

    r2794738 r2816864  
    102102                    'hmac' => $end_user_hmac, 'formFactor' => ['type' => 'modal']
    103103                ]) ?>,
     104                <?php echo json_encode([
     105                    'wp_plugin_version' => COMMANDBAR_PLUGIN_VERSION
     106                ]) ?>
    104107            );
    105108        </script>
  • commandbar-for-wp-admin/trunk/commandbar.php

    r2802580 r2816864  
    1212 * Plugin URI: https://www.commandbar.com/wordpress
    1313 * Description: CommandBar gives your users onboarding nudges, quick actions, relevant support content, and powerful search, in one ‍personalized, blazingly fast widget.
    14  * Version: 1.0.4
     14 * Version: 1.0.5
    1515 * Author: Jared Luxenberg
    1616 * Author URI: https://www.commandbar.com/
     
    1919 **/
    2020
    21 define('COMMANDBAR_PLUGIN_VERSION', '1.0.4');
     21define('COMMANDBAR_PLUGIN_VERSION', '1.0.5');
    2222
    2323require_once dirname(__FILE__) . '/commandbar-config.php';
Note: See TracChangeset for help on using the changeset viewer.