Ver código fonte

:bug: typos in frontend modules

tags/0.9.0
J 4 anos atrás
pai
commit
bb7baa55d7

+ 0
- 4
plugins/cia-endpoints/includes/class.make-endpoint.php Ver arquivo

106
     }
106
     }
107
     public function prepare_all_items_for_response( $args ) {
107
     public function prepare_all_items_for_response( $args ) {
108
         $collection = [];
108
         $collection = [];
109
-        $alphabet_section = 'a';
110
         
109
         
111
         $q = new WP_Query( $args );
110
         $q = new WP_Query( $args );
112
 
111
 
126
             
125
             
127
             // Don't use the BLOCK system for pages for some reason
126
             // Don't use the BLOCK system for pages for some reason
128
             if($post->post_type == 'page') $formatted[content] = $post->post_content;
127
             if($post->post_type == 'page') $formatted[content] = $post->post_content;
129
-            
130
-            // This is where you add to your letter counter
131
-            if($post->post_type == 'artist') {}
132
 
128
 
133
             array_push($collection, $formatted);
129
             array_push($collection, $formatted);
134
         }
130
         }

+ 3
- 3
vue-theme/src/store/modules/guide.js Ver arquivo

3
 const state = {
3
 const state = {
4
     all: [],
4
     all: [],
5
     loaded: false,
5
     loaded: false,
6
-    singledGuide: null,
6
+    singleGuide: null,
7
 }
7
 }
8
 
8
 
9
 const getters = {
9
 const getters = {
54
         state.all = guides
54
         state.all = guides
55
     },
55
     },
56
     STORE_FETCHED_SINGLE_GUIDE(state, guide) {
56
     STORE_FETCHED_SINGLE_GUIDE(state, guide) {
57
-        state.singledGuide = guide
57
+        state.singleGuide = guide
58
     },
58
     },
59
     CLEAR_GUIDES(state) {
59
     CLEAR_GUIDES(state) {
60
         state.all = []
60
         state.all = []
61
     },
61
     },
62
     CLEAR_SINGLE_GUIDES(state) {
62
     CLEAR_SINGLE_GUIDES(state) {
63
-        state.singledGuide = null
63
+        state.singleGuide = null
64
     },
64
     },
65
     GUIDES_LOADED(state, val) {
65
     GUIDES_LOADED(state, val) {
66
         state.loaded = val
66
         state.loaded = val

+ 3
- 3
vue-theme/src/store/modules/object.js Ver arquivo

3
 const state = {
3
 const state = {
4
     all: [],
4
     all: [],
5
     loaded: false,
5
     loaded: false,
6
-    singledObject: null,
6
+    singleObject: null,
7
 }
7
 }
8
 
8
 
9
 const getters = {
9
 const getters = {
54
         state.all = objects
54
         state.all = objects
55
     },
55
     },
56
     STORE_FETCHED_SINGLE_OBJECT(state, object) {
56
     STORE_FETCHED_SINGLE_OBJECT(state, object) {
57
-        state.singledObject = object
57
+        state.singleObject = object
58
     },
58
     },
59
     CLEAR_OBJECTS(state) {
59
     CLEAR_OBJECTS(state) {
60
         state.all = []
60
         state.all = []
61
     },
61
     },
62
     CLEAR_SINGLE_OBJECTS(state) {
62
     CLEAR_SINGLE_OBJECTS(state) {
63
-        state.singledObject = null
63
+        state.singleObject = null
64
     },
64
     },
65
     OBJECTS_LOADED(state, val) {
65
     OBJECTS_LOADED(state, val) {
66
         state.loaded = val
66
         state.loaded = val

+ 3
- 3
vue-theme/src/store/modules/publication.js Ver arquivo

3
 const state = {
3
 const state = {
4
     all: [],
4
     all: [],
5
     loaded: false,
5
     loaded: false,
6
-    singledPublication: null,
6
+    singlePublication: null,
7
 }
7
 }
8
 
8
 
9
 const getters = {
9
 const getters = {
54
         state.all = publications
54
         state.all = publications
55
     },
55
     },
56
     STORE_FETCHED_SINGLE_PUBLICATION(state, publication) {
56
     STORE_FETCHED_SINGLE_PUBLICATION(state, publication) {
57
-        state.singledPublication = publication
57
+        state.singlePublication = publication
58
     },
58
     },
59
     CLEAR_PUBLICATIONS(state) {
59
     CLEAR_PUBLICATIONS(state) {
60
         state.all = []
60
         state.all = []
61
     },
61
     },
62
     CLEAR_SINGLE_PUBLICATIONS(state) {
62
     CLEAR_SINGLE_PUBLICATIONS(state) {
63
-        state.singledPublication = null
63
+        state.singlePublication = null
64
     },
64
     },
65
     PUBLICATIONS_LOADED(state, val) {
65
     PUBLICATIONS_LOADED(state, val) {
66
         state.loaded = val
66
         state.loaded = val

+ 2
- 2
vue-theme/src/store/modules/short.js Ver arquivo

54
         state.all = shorts
54
         state.all = shorts
55
     },
55
     },
56
     STORE_FETCHED_SINGLE_SHORT(state, short) {
56
     STORE_FETCHED_SINGLE_SHORT(state, short) {
57
-        state.singledShort = short
57
+        state.singleShort = short
58
     },
58
     },
59
     CLEAR_SHORTS(state) {
59
     CLEAR_SHORTS(state) {
60
         state.all = []
60
         state.all = []
61
     },
61
     },
62
     CLEAR_SINGLE_SHORTS(state) {
62
     CLEAR_SINGLE_SHORTS(state) {
63
-        state.singledShort = null
63
+        state.singleShort = null
64
     },
64
     },
65
     SHORTS_LOADED(state, val) {
65
     SHORTS_LOADED(state, val) {
66
         state.loaded = val
66
         state.loaded = val

Carregando…
Cancelar
Salvar