082ee4c3 by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 14064510
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -151,7 +151,6 @@ function getName() { ...@@ -151,7 +151,6 @@ function getName() {
151 return $randomString; 151 return $randomString;
152 } 152 }
153 153
154
155 function en_fr_date($date) 154 function en_fr_date($date)
156 { 155 {
157 error_log($date); 156 error_log($date);
...@@ -165,7 +164,6 @@ function en_fr_date($date) ...@@ -165,7 +164,6 @@ function en_fr_date($date)
165 164
166 165
167 function convert_date_fr($date, $format_in = 'j F Y') { 166 function convert_date_fr($date, $format_in = 'j F Y') {
168 error_log($date);
169 167
170 $months = array( 168 $months = array(
171 'january' => 'janvier', 169 'january' => 'janvier',
...@@ -225,6 +223,5 @@ function convert_date_fr($date, $format_in = 'j F Y') { ...@@ -225,6 +223,5 @@ function convert_date_fr($date, $format_in = 'j F Y') {
225 foreach($tmp as $k => $v) { 223 foreach($tmp as $k => $v) {
226 $imploded .= $v . (isset($separators[$k]) ? str_replace('\\', '', $separators[$k]) : ''); 224 $imploded .= $v . (isset($separators[$k]) ? str_replace('\\', '', $separators[$k]) : '');
227 } 225 }
228 error_log($imploded);
229 return $imploded; 226 return $imploded;
230 } 227 }
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -60,8 +60,6 @@ function pull_posts_for_post_list( $data ) { ...@@ -60,8 +60,6 @@ function pull_posts_for_post_list( $data ) {
60 $img_id = get_post_thumbnail_id( $post->ID); 60 $img_id = get_post_thumbnail_id( $post->ID);
61 $alt = get_post($img_id)->post_excerpt; 61 $alt = get_post($img_id)->post_excerpt;
62 $img = get_the_post_thumbnail_url($post, 'medium'); 62 $img = get_the_post_thumbnail_url($post, 'medium');
63 error_log('$alt');
64 error_log($alt);
65 if(!$img) { 63 if(!$img) {
66 $img = get_post_meta($post->ID, 'photo_from_source', true); 64 $img = get_post_meta($post->ID, 'photo_from_source', true);
67 } 65 }
...@@ -118,8 +116,6 @@ function pull_posts_for_post_list( $data ) { ...@@ -118,8 +116,6 @@ function pull_posts_for_post_list( $data ) {
118 $author_company = get_field('author_company', $post->ID) ?: null; 116 $author_company = get_field('author_company', $post->ID) ?: null;
119 $img_id = get_post_thumbnail_id( $post->ID); 117 $img_id = get_post_thumbnail_id( $post->ID);
120 $alt = get_post($img_id)->post_excerpt; 118 $alt = get_post($img_id)->post_excerpt;
121 error_log('$alt');
122 error_log($alt);
123 $img = get_the_post_thumbnail_url($post, 'medium_large'); 119 $img = get_the_post_thumbnail_url($post, 'medium_large');
124 120
125 if(!$img) { 121 if(!$img) {
......
...@@ -20859,6 +20859,16 @@ ...@@ -20859,6 +20859,16 @@
20859 function init() { 20859 function init() {
20860 $('.search-box').css('margin-right', $('#main-nav .container').css('margin-right')); 20860 $('.search-box').css('margin-right', $('#main-nav .container').css('margin-right'));
20861 $('.search-box').css('opacity', '1'); 20861 $('.search-box').css('opacity', '1');
20862 setTimeout(() => {
20863 $('#search-sidebar .select2-search__field').attr('id', 'search-sidebar-keyword');
20864 $("<label for='search-sidebar-keyword'> <span class='screen-reader-text'>keywords</span></label>").insertAfter("#search-sidebar-keyword");
20865 $('#advance-search-modal .select2-search__field').attr('id', 'advance-search-modal-keyword');
20866 $("<label for='advance-search-modal-keyword'> <span class='screen-reader-text'>keywords</span></label>").insertAfter("#search-sidebar-keyword");
20867 $('#search-sidebar .sf-input-select.select2-hidden-accessible').attr('id', 'search-sidebar-keyword-select');
20868 $("<label for='search-sidebar-keyword-select'> <span class='screen-reader-text'>keywords</span></label>").insertAfter("#search-sidebar-keyword-select");
20869 $('#advance-search-modal .sf-input-select.select2-hidden-accessible').attr('id', 'advance-search-modal-keyword-select');
20870 $("<label for='advance-search-modal-keyword-select'> <span class='screen-reader-text'>keywords</span></label>").insertAfter("#advance-search-modal-keyword-select");
20871 }, "300");
20862 $('.badge').css('margin-right', $('#main-nav .container').css('margin-right')); 20872 $('.badge').css('margin-right', $('#main-nav .container').css('margin-right'));
20863 $('#pojo-a11y-toolbar').css('margin-right', $('#main-nav .container').css('margin-right')); 20873 $('#pojo-a11y-toolbar').css('margin-right', $('#main-nav .container').css('margin-right'));
20864 $('.badge').css('opacity', '1'); 20874 $('.badge').css('opacity', '1');
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -12,7 +12,16 @@ var Search = (function($) { ...@@ -12,7 +12,16 @@ var Search = (function($) {
12 12
13 $('.search-box').css('margin-right', $('#main-nav .container').css('margin-right')); 13 $('.search-box').css('margin-right', $('#main-nav .container').css('margin-right'));
14 $('.search-box').css('opacity', '1'); 14 $('.search-box').css('opacity', '1');
15 15 setTimeout(() => {
16 $('#search-sidebar .select2-search__field').attr('id', 'search-sidebar-keyword');
17 $( "<label for='search-sidebar-keyword'> <span class='screen-reader-text'>keywords</span></label>" ).insertAfter( "#search-sidebar-keyword" );
18 $('#advance-search-modal .select2-search__field').attr('id', 'advance-search-modal-keyword');
19 $( "<label for='advance-search-modal-keyword'> <span class='screen-reader-text'>keywords</span></label>" ).insertAfter( "#search-sidebar-keyword" );
20 $('#search-sidebar .sf-input-select.select2-hidden-accessible').attr('id', 'search-sidebar-keyword-select');
21 $( "<label for='search-sidebar-keyword-select'> <span class='screen-reader-text'>keywords</span></label>" ).insertAfter( "#search-sidebar-keyword-select" );
22 $('#advance-search-modal .sf-input-select.select2-hidden-accessible').attr('id', 'advance-search-modal-keyword-select');
23 $( "<label for='advance-search-modal-keyword-select'> <span class='screen-reader-text'>keywords</span></label>" ).insertAfter( "#advance-search-modal-keyword-select" );
24 }, "300");
16 $('.badge').css('margin-right', $('#main-nav .container').css('margin-right')); 25 $('.badge').css('margin-right', $('#main-nav .container').css('margin-right'));
17 $('#pojo-a11y-toolbar').css('margin-right', $('#main-nav .container').css('margin-right')); 26 $('#pojo-a11y-toolbar').css('margin-right', $('#main-nav .container').css('margin-right'));
18 27
......
...@@ -1200,3 +1200,4 @@ ul.sf_date_field { ...@@ -1200,3 +1200,4 @@ ul.sf_date_field {
1200 display: none; 1200 display: none;
1201 1201
1202 } 1202 }
1203
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
2 Theme Name: MSF CA Child 2 Theme Name: MSF CA Child
3 Author: Tenzing Communications 3 Author: Tenzing Communications
4 Template: msf-ca 4 Template: msf-ca
5 Version: 1.0.61 5 Version: 1.0.62
6 */ 6 */
...\ No newline at end of file ...\ No newline at end of file
......