Changeset 2754584
- Timestamp:
- 07/11/2022 01:09:34 PM (4 years ago)
- Location:
- custom-post-type-maker
- Files:
-
- 3 deleted
- 4 edited
- 8 copied
-
tags/1.2.0 (copied) (copied from custom-post-type-maker/trunk)
-
tags/1.2.0/CHANGELOG.md (copied) (copied from custom-post-type-maker/trunk/CHANGELOG.md) (1 diff)
-
tags/1.2.0/README.md (copied) (copied from custom-post-type-maker/trunk/README.md) (2 diffs)
-
tags/1.2.0/class-cptm.php (copied) (copied from custom-post-type-maker/trunk/class-cptm.php) (4 diffs)
-
tags/1.2.0/custom-post-type-maker.php (deleted)
-
tags/1.2.0/lang (copied) (copied from custom-post-type-maker/trunk/lang)
-
tags/1.2.0/lang/.gitkeep (copied) (copied from custom-post-type-maker/trunk/lang/.gitkeep)
-
tags/1.2.0/lang/custom-post-type-maker-fr_FR.mo (deleted)
-
tags/1.2.0/lang/custom-post-type-maker-fr_FR.po (deleted)
-
tags/1.2.0/lang/custom-post-type-maker.pot (copied) (copied from custom-post-type-maker/trunk/lang/custom-post-type-maker.pot)
-
tags/1.2.0/readme.txt (copied) (copied from custom-post-type-maker/trunk/readme.txt) (3 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/README.md (modified) (2 diffs)
-
trunk/class-cptm.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
custom-post-type-maker/tags/1.2.0/CHANGELOG.md
r2553487 r2754584 1 1 # Changelog 2 3 ## 1.2.0 4 5 - Added `CPTM_DONT_GENERATE_ICON` constant for disabling the 16x16px image_size via wp-config.php as suggested by @clubside and @ldeejay 6 - Fixed spelling as suggested by @ldeejay 7 - Compatibility with latest version of WP 2 8 3 9 ## 1.1.15 -
custom-post-type-maker/tags/1.2.0/README.md
r2553487 r2754584 11 11 ## Installation 12 12 13 1. Upload 'custom-post-type-maker' to the '/wp-content/plugins/'directory13 1. Upload `custom-post-type-maker` to the `/wp-content/plugins/` directory 14 14 2. Activate the plugin through the 'Plugins' menu in WordPress 15 15 3. Click the new menu item 'Post Types' to create a Custom Post Type or a custom Taxonomy 16 17 ## Additional configuration 18 19 You can add `CPTM_DONT_GENERATE_ICON` in `wp-config.php` to prevent CPTM to generate the 16x16px WordPress image_size. You can do this after you upload an initial icon. 20 We've added this option because some users have very large image galleries and the additional WordPress image_size matters. 16 21 17 22 ## Frequently Asked Questions … … 29 34 ## Changelog 30 35 31 ## 1.1.15 32 33 - Better sanitize taxonomy name as suggested by @ldeejay 34 35 ## 1.1.14 36 37 - Compatibility with future version of WP 38 39 ## 1.1.13 40 41 - Fix translations. Add .pot template file, reported by @wicko77 42 43 ## 1.1.12 44 45 - Remove 'All' from taxonomy names as suggested by @gnowland 46 47 ## 1.1.11 48 49 - Update assets. 50 51 ## 1.1.10 52 53 - Compatibility with future version of WP 54 55 ### 1.1.9 56 57 - Compatibility with future version of WP 58 59 ### 1.1.8 60 61 - Fixes undefined variable (Thanks @richardshea,@kubik101)[#20](https://github.com/Graffino/Custom-Post-Type-Maker/issues/21), [#20](https://github.com/Graffino/Custom-Post-Type-Maker/issues/21) 62 63 ### 1.1.7 64 65 - Makes code compatible with WordPressCore PHP Linter 66 - Marks plugin compatible with future WordPress versions 67 68 ### 1.1.6 69 70 - Fixes tab navigation (Thanks @mediengestalter2)[#16](https://github.com/Graffino/Custom-Post-Type-Maker/issues/16) 71 72 ### 1.1.5 73 74 - Add ability to show custom post in REST API (Thanks @asithade)[#14](https://github.com/Graffino/Custom-Post-Type-Maker/issues/14). 75 76 ### 1.1.4 77 78 - Add ability to show custom taxonomy column in post listing. 79 80 ### 1.1.3 81 82 - Removed forgotten development dump. Sorry about that. 83 84 ### 1.1.2 85 86 - [Bugfix] Make `with_front` available in `register_post` when set to `false` (Credit: @cmerrick). Closes: [#7](https://github.com/Graffino/Custom-Post-Type-Maker/issues/7) 87 88 ### 1.1.1 89 90 - [Feature] Auto-flush rewrite rules on: custom post save, plugin activation, plugin deactivation. 91 - [Bugfix] Made `publicly_queryable` default to true. This fixes permalink errors after upgrading to v1.1.0 on existing installations. 92 - [Localization] Add french translation. (Credit: @momo-fr). 93 94 ### 1.1.0 95 96 - [Feature] Implemented `publicly_queryable`. Closes: [#5](https://github.com/Graffino/Custom-Post-Type-Maker/issues/5) 97 98 ### 1.0.4 99 100 - [Bugfix] Renamed plugin to match WP Plugins 101 102 ### 1.0.3 103 104 - [Bugfix] Fix typos 105 106 ### 1.0.2 107 108 - [Bugfix] Fixed `undefined` error that prevented media library from loading 109 110 ### 1.0.1 111 112 - Compatibility with future version of WP 113 114 ### 1.0.0 115 116 - [Added] Ability to select [DashIcons](https://developer.wordpress.org/resource/dashicons/#layout) as Custom Post Type icon. 117 - [Bugfix] Fixed `add_utility_page provokes "deprecated" notice in 4.5.2` 36 See [CHANGELOG.md](https://raw.githubusercontent.com/Graffino/Custom-Post-Type-Maker/develop/CHANGELOG.md). -
custom-post-type-maker/tags/1.2.0/class-cptm.php
r2553487 r2754584 4 4 Plugin URI: https://github.com/Graffino/custom-post-type-maker 5 5 Description: Custom Post Type Maker lets you create Custom Post Types and custom Taxonomies in a user friendly way. 6 Version: 1. 1.156 Version: 1.2.0 7 7 Author: Graffino 8 8 Author URI: http://www.graffino.com/ … … 62 62 $this->dir = plugins_url( '', __FILE__ ); 63 63 $this->path = plugin_dir_path( __FILE__ ); 64 $this->version = '1. 1.15';64 $this->version = '1.2.0'; 65 65 66 66 // actions … … 161 161 162 162 // Add image size for the Custom Post Type icon 163 if ( function_exists( 'add_image_size' ) ) {163 if ( function_exists( 'add_image_size' ) && ! defined( 'CPTM_DONT_GENERATE_ICON' ) ) { 164 164 add_image_size( 'cptm_icon', 16, 16, true ); 165 165 } … … 742 742 <div class="current-cptm-icon"> 743 743 <?php if ( $cptm_icon_url ) { ?><img src="<?php echo $cptm_icon_url; ?>" /><?php } ?></div> 744 <a href="/" class="remove-cptm-icon button-secondary"<?php if ( ! $cptm_icon_url ) { ?> style="display: none;"<?php } ?> tabindex="16">Remove icon</a>745 <a href="/"class="media-uploader-button button-primary" data-post-id="<?php echo $post->ID; ?>" tabindex="17"><?php if ( ! $cptm_icon_url ) { ?><?php _e( 'Add icon', 'custom-post-type-maker' ); ?><?php } else { ?><?php _e( ' Edit icon', 'custom-post-type-maker' ); ?><?php } ?></a>744 <a href="/" class="remove-cptm-icon button-secondary"<?php if ( ! $cptm_icon_url ) { ?> style="display: none;"<?php } ?> tabindex="16">Remove Icon</a> 745 <a href="/"class="media-uploader-button button-primary" data-post-id="<?php echo $post->ID; ?>" tabindex="17"><?php if ( ! $cptm_icon_url ) { ?><?php _e( 'Add icon', 'custom-post-type-maker' ); ?><?php } else { ?><?php _e( 'Upload Icon', 'custom-post-type-maker' ); ?><?php } ?></a> 746 746 </div> 747 747 <input type="hidden" name="cptm_icon_url" id="cptm_icon_url" class="widefat" value="<?php echo $cptm_icon_url; ?>" /> -
custom-post-type-maker/tags/1.2.0/readme.txt
r2553487 r2754584 3 3 Tags: custom, post, type, custom post type, custom post types, maker, make, cpt, post types, taxonomy, taxonomies, tax, custom taxonomies 4 4 Requires at least: 3.0.0 5 Tested up to: 5.76 Stable tag: 1. 1.155 Tested up to: 6.0 6 Stable tag: 1.2.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 2. Activate the plugin through the 'Plugins' menu in WordPress. 31 31 3. Click the new menu item 'Post Types' to create a Custom Post Type or a custom Taxonomy. 32 33 == Additional configuration == 34 35 You can add `CPTM_DONT_GENERATE_ICON` in `wp-config.php` to prevent CPTM to generate the 16x16px WordPress image_size. You can do this after you upload an initial icon. 36 We've added this option because some users have very large image galleries and the additional WordPress image_size matters. 32 37 33 38 == Frequently Asked Questions == … … 66 71 67 72 == Changelog == 73 74 = 1.2.0 = 75 76 - Added `CPTM_DONT_GENERATE_ICON` constant for disabling the 16x16px image_size via wp-config.php as suggested by @clubside and @ldeejay 77 - Fixed spelling as suggested by @ldeejay 78 - Compatibility with latest version of WP 68 79 69 80 = 1.1.15 = -
custom-post-type-maker/trunk/CHANGELOG.md
r2553487 r2754584 1 1 # Changelog 2 3 ## 1.2.0 4 5 - Added `CPTM_DONT_GENERATE_ICON` constant for disabling the 16x16px image_size via wp-config.php as suggested by @clubside and @ldeejay 6 - Fixed spelling as suggested by @ldeejay 7 - Compatibility with latest version of WP 2 8 3 9 ## 1.1.15 -
custom-post-type-maker/trunk/README.md
r2553487 r2754584 11 11 ## Installation 12 12 13 1. Upload 'custom-post-type-maker' to the '/wp-content/plugins/'directory13 1. Upload `custom-post-type-maker` to the `/wp-content/plugins/` directory 14 14 2. Activate the plugin through the 'Plugins' menu in WordPress 15 15 3. Click the new menu item 'Post Types' to create a Custom Post Type or a custom Taxonomy 16 17 ## Additional configuration 18 19 You can add `CPTM_DONT_GENERATE_ICON` in `wp-config.php` to prevent CPTM to generate the 16x16px WordPress image_size. You can do this after you upload an initial icon. 20 We've added this option because some users have very large image galleries and the additional WordPress image_size matters. 16 21 17 22 ## Frequently Asked Questions … … 29 34 ## Changelog 30 35 31 ## 1.1.15 32 33 - Better sanitize taxonomy name as suggested by @ldeejay 34 35 ## 1.1.14 36 37 - Compatibility with future version of WP 38 39 ## 1.1.13 40 41 - Fix translations. Add .pot template file, reported by @wicko77 42 43 ## 1.1.12 44 45 - Remove 'All' from taxonomy names as suggested by @gnowland 46 47 ## 1.1.11 48 49 - Update assets. 50 51 ## 1.1.10 52 53 - Compatibility with future version of WP 54 55 ### 1.1.9 56 57 - Compatibility with future version of WP 58 59 ### 1.1.8 60 61 - Fixes undefined variable (Thanks @richardshea,@kubik101)[#20](https://github.com/Graffino/Custom-Post-Type-Maker/issues/21), [#20](https://github.com/Graffino/Custom-Post-Type-Maker/issues/21) 62 63 ### 1.1.7 64 65 - Makes code compatible with WordPressCore PHP Linter 66 - Marks plugin compatible with future WordPress versions 67 68 ### 1.1.6 69 70 - Fixes tab navigation (Thanks @mediengestalter2)[#16](https://github.com/Graffino/Custom-Post-Type-Maker/issues/16) 71 72 ### 1.1.5 73 74 - Add ability to show custom post in REST API (Thanks @asithade)[#14](https://github.com/Graffino/Custom-Post-Type-Maker/issues/14). 75 76 ### 1.1.4 77 78 - Add ability to show custom taxonomy column in post listing. 79 80 ### 1.1.3 81 82 - Removed forgotten development dump. Sorry about that. 83 84 ### 1.1.2 85 86 - [Bugfix] Make `with_front` available in `register_post` when set to `false` (Credit: @cmerrick). Closes: [#7](https://github.com/Graffino/Custom-Post-Type-Maker/issues/7) 87 88 ### 1.1.1 89 90 - [Feature] Auto-flush rewrite rules on: custom post save, plugin activation, plugin deactivation. 91 - [Bugfix] Made `publicly_queryable` default to true. This fixes permalink errors after upgrading to v1.1.0 on existing installations. 92 - [Localization] Add french translation. (Credit: @momo-fr). 93 94 ### 1.1.0 95 96 - [Feature] Implemented `publicly_queryable`. Closes: [#5](https://github.com/Graffino/Custom-Post-Type-Maker/issues/5) 97 98 ### 1.0.4 99 100 - [Bugfix] Renamed plugin to match WP Plugins 101 102 ### 1.0.3 103 104 - [Bugfix] Fix typos 105 106 ### 1.0.2 107 108 - [Bugfix] Fixed `undefined` error that prevented media library from loading 109 110 ### 1.0.1 111 112 - Compatibility with future version of WP 113 114 ### 1.0.0 115 116 - [Added] Ability to select [DashIcons](https://developer.wordpress.org/resource/dashicons/#layout) as Custom Post Type icon. 117 - [Bugfix] Fixed `add_utility_page provokes "deprecated" notice in 4.5.2` 36 See [CHANGELOG.md](https://raw.githubusercontent.com/Graffino/Custom-Post-Type-Maker/develop/CHANGELOG.md). -
custom-post-type-maker/trunk/class-cptm.php
r2553487 r2754584 4 4 Plugin URI: https://github.com/Graffino/custom-post-type-maker 5 5 Description: Custom Post Type Maker lets you create Custom Post Types and custom Taxonomies in a user friendly way. 6 Version: 1. 1.156 Version: 1.2.0 7 7 Author: Graffino 8 8 Author URI: http://www.graffino.com/ … … 62 62 $this->dir = plugins_url( '', __FILE__ ); 63 63 $this->path = plugin_dir_path( __FILE__ ); 64 $this->version = '1. 1.15';64 $this->version = '1.2.0'; 65 65 66 66 // actions … … 161 161 162 162 // Add image size for the Custom Post Type icon 163 if ( function_exists( 'add_image_size' ) ) {163 if ( function_exists( 'add_image_size' ) && ! defined( 'CPTM_DONT_GENERATE_ICON' ) ) { 164 164 add_image_size( 'cptm_icon', 16, 16, true ); 165 165 } … … 742 742 <div class="current-cptm-icon"> 743 743 <?php if ( $cptm_icon_url ) { ?><img src="<?php echo $cptm_icon_url; ?>" /><?php } ?></div> 744 <a href="/" class="remove-cptm-icon button-secondary"<?php if ( ! $cptm_icon_url ) { ?> style="display: none;"<?php } ?> tabindex="16">Remove icon</a>745 <a href="/"class="media-uploader-button button-primary" data-post-id="<?php echo $post->ID; ?>" tabindex="17"><?php if ( ! $cptm_icon_url ) { ?><?php _e( 'Add icon', 'custom-post-type-maker' ); ?><?php } else { ?><?php _e( ' Edit icon', 'custom-post-type-maker' ); ?><?php } ?></a>744 <a href="/" class="remove-cptm-icon button-secondary"<?php if ( ! $cptm_icon_url ) { ?> style="display: none;"<?php } ?> tabindex="16">Remove Icon</a> 745 <a href="/"class="media-uploader-button button-primary" data-post-id="<?php echo $post->ID; ?>" tabindex="17"><?php if ( ! $cptm_icon_url ) { ?><?php _e( 'Add icon', 'custom-post-type-maker' ); ?><?php } else { ?><?php _e( 'Upload Icon', 'custom-post-type-maker' ); ?><?php } ?></a> 746 746 </div> 747 747 <input type="hidden" name="cptm_icon_url" id="cptm_icon_url" class="widefat" value="<?php echo $cptm_icon_url; ?>" /> -
custom-post-type-maker/trunk/readme.txt
r2553487 r2754584 3 3 Tags: custom, post, type, custom post type, custom post types, maker, make, cpt, post types, taxonomy, taxonomies, tax, custom taxonomies 4 4 Requires at least: 3.0.0 5 Tested up to: 5.76 Stable tag: 1. 1.155 Tested up to: 6.0 6 Stable tag: 1.2.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 30 30 2. Activate the plugin through the 'Plugins' menu in WordPress. 31 31 3. Click the new menu item 'Post Types' to create a Custom Post Type or a custom Taxonomy. 32 33 == Additional configuration == 34 35 You can add `CPTM_DONT_GENERATE_ICON` in `wp-config.php` to prevent CPTM to generate the 16x16px WordPress image_size. You can do this after you upload an initial icon. 36 We've added this option because some users have very large image galleries and the additional WordPress image_size matters. 32 37 33 38 == Frequently Asked Questions == … … 66 71 67 72 == Changelog == 73 74 = 1.2.0 = 75 76 - Added `CPTM_DONT_GENERATE_ICON` constant for disabling the 16x16px image_size via wp-config.php as suggested by @clubside and @ldeejay 77 - Fixed spelling as suggested by @ldeejay 78 - Compatibility with latest version of WP 68 79 69 80 = 1.1.15 =
Note: See TracChangeset
for help on using the changeset viewer.