This repository was archived by the owner on Dec 2, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,7 @@ public function register_api_hooks() {
808808 'method ' => 'GET ' ,
809809 'callback ' => 'plugin_install ' ,
810810 ),
811- 'welcome ' => array (
811+ 'welcome ' => array (
812812 'method ' => 'POST ' ,
813813 'callback ' => 'welcome_guide ' ,
814814 ),
Original file line number Diff line number Diff line change @@ -140,12 +140,11 @@ public function editor_assets() {
140140 if ( ! $ global_vars ['mokama ' ] ) {
141141
142142 // phpcs:disable Squiz.PHP.CommentedOutCode
143- // delete_user_meta( get_current_user_id(), '_redux_templates_counts'); // To test left.
143+ // delete_user_meta( get_current_user_id(), '_redux_templates_counts'); // To test left.
144144 if ( ! \Redux_Functions_Ex::activated () ) {
145145 $ count = get_user_meta ( get_current_user_id (), '_redux_templates_counts ' , true );
146146 if ( '' === $ count ) {
147147 $ count = self ::$ default_left ;
148- //update_user_meta( get_current_user_id(), '_redux_templates_counts', $count );
149148 }
150149 $ global_vars ['left ' ] = $ count ;
151150 } else {
@@ -161,7 +160,6 @@ public function editor_assets() {
161160 $ global_vars ['welcome ' ] = 1 ;
162161 }
163162 }
164-
165163 }
166164
167165 if ( ! $ global_vars ['mokama ' ] ) {
You can’t perform that action at this time.
0 commit comments