Changeset 2908638
- Timestamp:
- 05/05/2023 04:38:06 PM (3 years ago)
- Location:
- custom-post-types
- Files:
-
- 24 added
- 2 edited
-
tags/3.1.3 (added)
-
tags/3.1.3/assets (added)
-
tags/3.1.3/assets/css (added)
-
tags/3.1.3/assets/css/backend.css (added)
-
tags/3.1.3/assets/icon-256x256.png (added)
-
tags/3.1.3/assets/icon.svg (added)
-
tags/3.1.3/assets/js (added)
-
tags/3.1.3/assets/js/backend.js (added)
-
tags/3.1.3/custom-post-types.php (added)
-
tags/3.1.3/inc (added)
-
tags/3.1.3/inc/Column.class.php (added)
-
tags/3.1.3/inc/Fields.class.php (added)
-
tags/3.1.3/inc/MetaBox.class.php (added)
-
tags/3.1.3/inc/Notice.class.php (added)
-
tags/3.1.3/inc/PostType.class.php (added)
-
tags/3.1.3/inc/Taxonomy.class.php (added)
-
tags/3.1.3/inc/Template.class.php (added)
-
tags/3.1.3/inc/functions.php (added)
-
tags/3.1.3/inc/loader-fields.php (added)
-
tags/3.1.3/inc/theme-supports-rules.php (added)
-
tags/3.1.3/languages (added)
-
tags/3.1.3/languages/custom-post-types.mo (added)
-
tags/3.1.3/languages/custom-post-types.pot (added)
-
tags/3.1.3/readme.txt (added)
-
trunk/custom-post-types.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
custom-post-types/trunk/custom-post-types.php
r2900231 r2908638 8 8 Text Domain: custom-post-types 9 9 Domain Path: /languages/ 10 Version: 3.1. 210 Version: 3.1.3 11 11 */ 12 12 … … 52 52 53 53 add_action('init', [$this, 'update_from_old_version']); 54 55 $this->applyUpdates(); 54 56 } 55 57 … … 619 621 false, 620 622 -1 623 ); 624 625 626 (new CPT\Notice)->add( 627 'beta_4_notice', 628 "<strong><u>Version 4.x.x BETA is ready.</u></strong><br><br> 629 You can download and install the new version (in staging or local environment or new websites).<br> 630 Here are 100 reasons to ask for your help ☺︎<br> 631 The <strong>first 50 users who send bug reports or suggestions</strong> will receive the <strong><u>PRO version free for lifetime</u></strong>.<br> 632 The <strong>following 50 users who send bug reports or suggestions</strong> will receive a <strong><u>lifetime discount code (70% value) for the PRO version</u></strong>.<br> 633 All users who send bug reports or valid suggestions will be able to try the PRO version free for 1 month.<br><br> 634 Thank you all for the support ❤", 635 'success', 636 false, 637 -1, 638 [ 639 [ 640 'link' => 'https://99zw.short.gy/cpt-4-beta', 641 'label' => __('Download BETA version', 'custom-post-types'), 642 'target' => '_blank', 643 'cta' => true 644 ], 645 [ 646 'link' => 'https://totalpress.org/support?utm_source=wp-dashboard&utm_medium=installed-plugin&utm_campaign=custom-post-types-beta', 647 'label' => __('Send bug reports or suggestions', 'custom-post-types'), 648 'target' => '_blank' 649 ] 650 ] 621 651 ); 622 652 … … 890 920 } 891 921 } 922 923 private function applyUpdates() 924 { 925 $installedVersion = get_option('custom_post_types_version', null); 926 $currentVersion = '3.1.3'; 927 928 if (version_compare($installedVersion, $currentVersion, '=')) { 929 return; 930 } 931 932 update_option('custom_post_types_version', $currentVersion); 933 update_option('custom_post_types_installation_time', time()); 934 } 892 935 } 893 936 new totalpress_custom_post_types(); -
custom-post-types/trunk/readme.txt
r2900231 r2908638 5 5 Requires at least: 4.0 6 6 Tested up to: 6.1 7 Stable tag: 3.1. 27 Stable tag: 3.1.3 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.