Plugin Directory

Changeset 3309462


Ignore:
Timestamp:
06/10/2025 11:24:10 PM (6 months ago)
Author:
numeeja
Message:

v 1.4.2

Location:
cubecolour-caboodle/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cubecolour-caboodle/trunk/cubecolour-caboodle.php

    r3307308 r3309462  
    55Description: An agglomeration of useful functions
    66Author: cubecolour
    7 Version: 1.4.1
     7Version: 1.4.2
    88License: GPLv2 or later
    99Text Domain: cubecolour-caboodle
     
    4242 *
    4343 */
    44 define( 'CC_CABOODLE_PLUGIN_VERSION', '1.4.1' );
     44define( 'CC_CABOODLE_PLUGIN_VERSION', '1.4.2' );
    4545define( 'CC_CABOODLE_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
    4646define( 'CC_CABOODLE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
  • cubecolour-caboodle/trunk/includes/modules/no-comments.php

    r3277296 r3309462  
    3737// Remove comments page in menu
    3838add_action('admin_menu', function () {
     39   
     40    // Remove the "Comments" top-level menu item
    3941    remove_menu_page('edit-comments.php');
     42   
     43    // Remove the "Discussion" submenu under "Settings"
     44    remove_submenu_page('options-general.php', 'options-discussion.php');
    4045});
    4146 
     
    4651    }
    4752});
     53
     54// Remove comments page in menu
     55add_action('admin_menu', function () {
     56    remove_menu_page('options-discussion.php');
     57});
  • cubecolour-caboodle/trunk/includes/modules/svg.php

    r3307330 r3309462  
    3535add_filter( 'upload_mimes', 'cc_caboodle_mime_types' );
    3636
     37
    3738function cc_caboodle_fix_svg() {
    3839  echo '<style type="text/css">
  • cubecolour-caboodle/trunk/readme.txt

    r3307331 r3309462  
    44Requires: 6.0
    55Tested up to: 6.8
    6 Stable tag: 1.4.1
     6Stable tag: 1.4.2
    77Donate link: https://cubecolour.co.uk/wp
    88Requires PHP: 7.4
     
    238238
    239239## Changelog
     240
     241### 1.4.2
     242
     243* 'No Comments' module now removes the settings -> discussion link
    240244
    241245### 1.4.1
Note: See TracChangeset for help on using the changeset viewer.