File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -198,6 +198,9 @@ This project is licensed under the GPL3 License.
198198Release pending.
199199
200200* Added: Mastodon Verification
201+ * Added: Block Editor Support Custom Post Type Pinseldisko
202+ * Added: Block Editor Support Custom Post Type Raketenstaub
203+ * Changed: Maintenance Mode Internal Processing
201204
202205### 0.7
203206
Original file line number Diff line number Diff line change @@ -26,16 +26,17 @@ function unmus_maintenace_mode() {
2626
2727 if ($ doing_maintenance ) {
2828 // Do not activate maintenance mode for Admins and User logged in
29- if (! (is_admin () OR is_user_logged_in () ) ) {
29+ if (! (is_admin () OR is_user_logged_in () ) ) {
3030 // Activate maintenance mode if maintenance page exists
3131 if ( file_exists ( WP_CONTENT_DIR . '/maintenance.php ' ) ) {
3232 require_once ( WP_CONTENT_DIR . '/maintenance.php ' );
3333 die ();
34- }
34+ }
35+
3536 }
3637 }
3738
3839}
39- add_action ('get_header ' , 'unmus_maintenace_mode ' );
40+ add_action ('wp ' , 'unmus_maintenace_mode ' );
4041
4142?>
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ function unmus_pinseldisko_custom_post_type() {
6464 'can_export ' => true ,
6565 'menu_position ' => 5 ,
6666 'capability_type ' => 'post ' ,
67- 'rewrite ' => array ('slug ' => 'pinseldisko ' )
67+ 'rewrite ' => array ('slug ' => 'pinseldisko ' ),
68+ 'show_in_rest ' => true
6869 );
6970
7071 register_post_type ( 'pinseldisko ' , $ args );
Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ function unmus_raketenstaub_custom_post_type() {
6363 'can_export ' => true ,
6464 'menu_position ' => 5 ,
6565 'capability_type ' => 'post ' ,
66- 'rewrite ' => array ('slug ' => 'raketenstaub ' )
66+ 'rewrite ' => array ('slug ' => 'raketenstaub ' ),
67+ 'show_in_rest ' => true
6768 );
6869
6970 register_post_type ( 'raketenstaub ' , $ args );
You can’t perform that action at this time.
0 commit comments