Plugin Directory

Changeset 3397377


Ignore:
Timestamp:
11/17/2025 04:01:43 PM (5 months ago)
Author:
madebycinza
Message:

cinza grid v1.2.3

Location:
cinza-grid
Files:
27 added
3 edited

Legend:

Unmodified
Added
Removed
  • cinza-grid/trunk/cinza-grid.php

    r3381619 r3397377  
    55 * Plugin URI:        https://cinza.io/plugin/cinza-grid/
    66 * Description:       A minimal grid plugin.
    7  * Version:           1.2.2
     7 * Version:           1.2.3
    88 * Requires at least: 5.2
    99 * Requires PHP:      7.2
  • cinza-grid/trunk/includes/backend-cpts.php

    r3381619 r3397377  
    231231
    232232                    $post_types = get_post_types( $args, $output, $operator );
    233                     array_unshift($post_types , 'post');
     233                    array_unshift($post_types, 'post', 'page');
    234234
    235235                    if ( $post_types ) { // If there are any custom public post types.
    236236                            echo '<select name="cgrid_posttype" id="cgrid_posttype">';
    237237                            foreach ( $post_types  as $post_type ) {
    238                                 if(!str_starts_with($post_type, 'cinza_')) {?>
     238                                if (
     239                                        !str_starts_with($post_type, 'cinza_') &&
     240                                        !str_starts_with($post_type, 'wpb_')
     241                                ) {?>
    239242                                    <option value="<?php echo esc_attr( strtolower( $post_type ) ); ?>" <?php if ( isset( $temp_posttype ) && ( $temp_posttype == $post_type ) ) echo 'selected="selected"'; ?>>
    240243                                        <?php echo esc_html( $post_type ); ?>
  • cinza-grid/trunk/readme.txt

    r3381619 r3397377  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.2.2
     7Stable tag: 1.2.3
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2424
    2525== Changelog ==
     26
     27= 1.2.3 =
     28*Release Date – 17th November, 2025*
     29
     30* Included pages and excluded post types starting with “wpb_” from allowed post types
    2631
    2732= 1.2.2 =
Note: See TracChangeset for help on using the changeset viewer.