Plugin Directory

Changeset 3328403


Ignore:
Timestamp:
07/15/2025 05:09:19 PM (9 months ago)
Author:
darnado
Message:

Updated to version 2.0.0. This update disables 5 blocks and 1 variation block for the Gutenberg editor in pages and posts.

Location:
caledros-basic-blocks
Files:
664 added
6 edited

Legend:

Unmodified
Added
Removed
  • caledros-basic-blocks/trunk/README.txt

    r3326517 r3328403  
    55Requires at least: 6.7
    66Tested up to: 6.8
    7 Stable tag: 1.2.2
     7Stable tag: 2.0.0
    88Requires PHP: 8.0
    99License: GPLv2 or later
     
    2222## Features
    2323
    24 * Adds 18 new custom Gutenberg blocks
     24* Adds 18 new custom Gutenberg blocks. 5 blocks and 1 variation block can only be used in templates, template parts, and patterns
    2525* Flex and grid containers blocks included
    2626* Dark/Light mode block included
     
    216216* Added fallback colors for the Posts Loop and Category Loop blocks.
    217217
     218= 2.0.0 =
     219
     220* Disabled 5 blocks and 1 block variation for the Gutenberg editor on pages and posts. The disabled blocks are: Content Renderer, Dark Light Mode Switcher, Desktop Menu Container, Mobile Menu Container, and Sidebar Menu. The disable block variation is the Mega Menu block.
     221* The Gutenberg editor for pages and posts now only has 12 blocks available for use.
     222* The Gutenberg editor for templates, template parts, and patterns has access to the 18 custom blocks.
     223* Added support for translating the texts in the plugin's admin menu.
     224
    218225== Upgrade Notice ==
    219226
     
    239246This update fixes a bug with the navigation links of the Posts Loop block. It also adds CSS styles to the Posts Loop and Category Loop blocks.
    240247
     248= 2.0.0 =
     249This update disables 5 blocks and 1 variation block for the Gutenberg editor in pages and posts.
     250
    241251== Installation ==
    242252
  • caledros-basic-blocks/trunk/caledros-basic.php

    r3326517 r3328403  
    44 * Plugin URI: https://caledrosforge.com/
    55 * Description: Add easy-to-use Gutenberg blocks to your WordPress site.
    6  * Version: 1.2.2
     6 * Version: 2.0.0
    77 * Requires at least: 6.7
    88 * Requires PHP: 8.0
     
    7777require_once(CALEDROS_BASIC_BLOCKS_BASE_FOLDER . 'core/translations/load-translations.php');
    7878
     79// Disable specific blocks
     80require_once(CALEDROS_BASIC_BLOCKS_BASE_FOLDER . 'core/disable-blocks/disable-blocks.php');
     81
    7982// Function to run on plugin activation
    8083function caledros_basic_blocks_activate_plugin() {   
  • caledros-basic-blocks/trunk/core/admin-page/admin-page.php

    r3321999 r3328403  
    8585    ?>
    8686    <div>
    87         <h1>Caledros Plugin Settings</h1>
     87        <h1><?php esc_html_e('Caledros Plugin Settings', 'caledros-basic-blocks'); ?></h1>
    8888        <form method="post" action="options.php">
    8989            <?php settings_fields('caledros_basic_blocks_settings_group'); ?>           
    9090            <div style="display:flex; flex-direction:row; column-gap:10px; margin-bottom:10px;">               
    91                 <div>Enable Stylesheet Preloading</div>
     91                <div><?php esc_html_e('Enable Stylesheet Preloading', 'caledros-basic-blocks'); ?></div>
    9292                <div><input type="checkbox" name="caledros_basic_blocks_enable_preload" value="1" <?php checked(1, get_option('caledros_basic_blocks_enable_preload'), true); ?> /></div>
    9393            </div>
    9494            <div style="display:flex; flex-direction:row; column-gap:10px; margin-bottom:10px;">               
    95                 <div>Add flex-column layout to the "wp-site-blocks" container</div>
     95                <div><?php esc_html_e('Add flex-column layout to the "wp-site-blocks" container', 'caledros-basic-blocks'); ?></div>
    9696                <div><input type="checkbox" name="caledros_basic_blocks_add_column_layout_to_wp_site_blocks" value="1" <?php checked(1, get_option('caledros_basic_blocks_add_column_layout_to_wp_site_blocks'), true); ?> /></div>
    9797            </div>
  • caledros-basic-blocks/trunk/languages/caledros-basic-blocks.pot

    r3326517 r3328403  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Caledros Basic Blocks 1.2.2\n"
     5"Project-Id-Version: Caledros Basic Blocks 2.0.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/caledros-basic-blocks\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2025-07-11T20:39:47+00:00\n"
     12"POT-Creation-Date: 2025-07-15T16:29:47+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
     
    3838#: caledros-basic.php
    3939msgid "https://caledrosforge.com/about/"
     40msgstr ""
     41
     42#: core/admin-page/admin-page.php:87
     43msgid "Caledros Plugin Settings"
     44msgstr ""
     45
     46#: core/admin-page/admin-page.php:91
     47msgid "Enable Stylesheet Preloading"
     48msgstr ""
     49
     50#: core/admin-page/admin-page.php:95
     51msgid "Add flex-column layout to the \"wp-site-blocks\" container"
    4052msgstr ""
    4153
  • caledros-basic-blocks/trunk/package-lock.json

    r3326517 r3328403  
    11{
    22  "name": "caledros-basic-blocks",
    3   "version": "1.2.2",
     3  "version": "2.0.0",
    44  "lockfileVersion": 3,
    55  "requires": true,
     
    77    "": {
    88      "name": "caledros-basic-blocks",
    9       "version": "1.2.2",
     9      "version": "2.0.0",
    1010      "license": "GPL-2.0-or-later",
    1111      "dependencies": {
  • caledros-basic-blocks/trunk/package.json

    r3326517 r3328403  
    11{
    22  "name": "caledros-basic-blocks",
    3   "version": "1.2.2",
     3  "version": "2.0.0",
    44  "main": "index.js",
    55  "scripts": {
Note: See TracChangeset for help on using the changeset viewer.