Plugin Directory

Changeset 3234313


Ignore:
Timestamp:
02/03/2025 10:27:44 PM (13 months ago)
Author:
dmrhn
Message:

wp_block name to pattern for filters

Location:
blocks-scanner
Files:
7 added
2 edited

Legend:

Unmodified
Added
Removed
  • blocks-scanner/trunk/blocks-scanner.php

    r3234309 r3234313  
    44* Plugin URI:        https://github.com/tdmrhn/blocks-scanner
    55* Description:       Easily find and scan blocks used in posts and pages. Quickly access and edit these posts and pages to efficiently manage block usage.
    6 * Version:           1.0.2
     6* Version:           1.0.3
    77* Requires at least: 5.2
    88* Requires PHP:      7.2
     
    126126        echo '<li class="filter-item">';
    127127        echo '<input type="checkbox" id="post-type-' . esc_attr($type) . '" class="postType-filter" value="' . esc_attr($type) . '">';
    128         echo '<label for="post-type-' . esc_attr($type) . '"><span>' . esc_html($type) . '</span> <span class="count">0</span></label>';
     128        echo '<label for="post-type-' . esc_attr($type) . '"><span>' . esc_html($type === 'wp_block' ? 'pattern' : $type) . '</span> <span class="count">0</span></label>';
    129129        echo '</li>';
    130130    }
  • blocks-scanner/trunk/readme.txt

    r3234309 r3234313  
    55Requires at least: 5.0
    66Tested up to: 6.7.1
    7 Stable tag: 1.0.2
     7Stable tag: 1.0.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.