Changeset 3309462
- Timestamp:
- 06/10/2025 11:24:10 PM (6 months ago)
- Location:
- cubecolour-caboodle/trunk
- Files:
-
- 4 edited
-
cubecolour-caboodle.php (modified) (2 diffs)
-
includes/modules/no-comments.php (modified) (2 diffs)
-
includes/modules/svg.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cubecolour-caboodle/trunk/cubecolour-caboodle.php
r3307308 r3309462 5 5 Description: An agglomeration of useful functions 6 6 Author: cubecolour 7 Version: 1.4. 17 Version: 1.4.2 8 8 License: GPLv2 or later 9 9 Text Domain: cubecolour-caboodle … … 42 42 * 43 43 */ 44 define( 'CC_CABOODLE_PLUGIN_VERSION', '1.4. 1' );44 define( 'CC_CABOODLE_PLUGIN_VERSION', '1.4.2' ); 45 45 define( 'CC_CABOODLE_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 46 46 define( 'CC_CABOODLE_PLUGIN_PATH', plugin_dir_path( __FILE__ ) ); -
cubecolour-caboodle/trunk/includes/modules/no-comments.php
r3277296 r3309462 37 37 // Remove comments page in menu 38 38 add_action('admin_menu', function () { 39 40 // Remove the "Comments" top-level menu item 39 41 remove_menu_page('edit-comments.php'); 42 43 // Remove the "Discussion" submenu under "Settings" 44 remove_submenu_page('options-general.php', 'options-discussion.php'); 40 45 }); 41 46 … … 46 51 } 47 52 }); 53 54 // Remove comments page in menu 55 add_action('admin_menu', function () { 56 remove_menu_page('options-discussion.php'); 57 }); -
cubecolour-caboodle/trunk/includes/modules/svg.php
r3307330 r3309462 35 35 add_filter( 'upload_mimes', 'cc_caboodle_mime_types' ); 36 36 37 37 38 function cc_caboodle_fix_svg() { 38 39 echo '<style type="text/css"> -
cubecolour-caboodle/trunk/readme.txt
r3307331 r3309462 4 4 Requires: 6.0 5 5 Tested up to: 6.8 6 Stable tag: 1.4. 16 Stable tag: 1.4.2 7 7 Donate link: https://cubecolour.co.uk/wp 8 8 Requires PHP: 7.4 … … 238 238 239 239 ## Changelog 240 241 ### 1.4.2 242 243 * 'No Comments' module now removes the settings -> discussion link 240 244 241 245 ### 1.4.1
Note: See TracChangeset
for help on using the changeset viewer.