Skip to content

Commit

Permalink
deploy: 7bc46a5
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Nov 17, 2023
1 parent 0fff7f1 commit 1316a19
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 21 deletions.
4 changes: 2 additions & 2 deletions mc_filter_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line296">line 296</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line297">line 297</a>
</li></ul></dd>


Expand Down Expand Up @@ -396,7 +396,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line419">line 419</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line420">line 420</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_future_search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line558">line 558</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line559">line 559</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_get_events_sites.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line183">line 183</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line184">line 184</a>
</li></ul></dd>


Expand Down
4 changes: 2 additions & 2 deletions mc_happening_next_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line883">line 883</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line884">line 884</a>
</li></ul></dd>


Expand Down Expand Up @@ -350,7 +350,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line970">line 970</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line971">line 971</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_past_search_results.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line548">line 548</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line549">line 549</a>
</li></ul></dd>


Expand Down
4 changes: 2 additions & 2 deletions mc_primary_sort.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line160">line 160</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line161">line 161</a>
</li></ul></dd>


Expand Down Expand Up @@ -350,7 +350,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line826">line 826</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line827">line 827</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_rss_feed_date_range.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line474">line 474</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line475">line 475</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_search_attributes.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line590">line 590</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line591">line 591</a>
</li></ul></dd>


Expand Down
2 changes: 1 addition & 1 deletion mc_searched_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line622">line 622</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line623">line 623</a>
</li></ul></dd>


Expand Down
4 changes: 2 additions & 2 deletions mc_secondary_sort.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line171">line 171</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line172">line 172</a>
</li></ul></dd>


Expand Down Expand Up @@ -350,7 +350,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line837">line 837</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line838">line 838</a>
</li></ul></dd>


Expand Down
13 changes: 7 additions & 6 deletions my-calendar-events.php.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
* @return array qualified events
*/
function my_calendar_get_events( $args ) {
$get = map_deep( $_GET, 'sanitize_text_field' );
$from = isset( $args['from'] ) ? $args['from'] : '';
$to = isset( $args['to'] ) ? $args['to'] : '';
$category = isset( $args['category'] ) ? $args['category'] : 'all';
Expand All @@ -152,14 +153,14 @@
}

if ( null === $holidays ) {
$ccategory = ( isset( $_GET['mcat'] ) &amp;&amp; '' !== trim( $_GET['mcat'] ) ) ? $_GET['mcat'] : $category;
$ccategory = ( isset( $get['mcat'] ) &amp;&amp; '' !== trim( $get['mcat'] ) ) ? $get['mcat'] : $category;
} else {
$ccategory = $category;
}
$cltype = ( isset( $_GET['ltype'] ) ) ? $_GET['ltype'] : $ltype;
$clvalue = ( isset( $_GET['loc'] ) ) ? $_GET['loc'] : $lvalue;
$clauth = ( isset( $_GET['mc_auth'] ) ) ? $_GET['mc_auth'] : $author;
$clhost = ( isset( $_GET['mc_host'] ) ) ? $_GET['mc_host'] : $host;
$cltype = ( isset( $get['ltype'] ) ) ? $get['ltype'] : $ltype;
$clvalue = ( isset( $get['loc'] ) ) ? $get['loc'] : $lvalue;
$clauth = ( isset( $get['mc_auth'] ) ) ? $get['mc_auth'] : $author;
$clhost = ( isset( $get['mc_host'] ) ) ? $get['mc_host'] : $host;

// If location value is not set, then location type shouldn't be set.
if ( 'all' === $clvalue ) {
Expand All @@ -176,7 +177,7 @@
$select_author = ( 'all' !== $clauth ) ? mc_select_author( $clauth ) : '';
$select_host = ( 'all' !== $clhost ) ? mc_select_host( $clhost ) : '';
$select_location = mc_select_location( $cltype, $clvalue );
$select_access = ( isset( $_GET['access'] ) ) ? mc_access_limit( $_GET['access'] ) : '';
$select_access = ( isset( $get['access'] ) ) ? mc_access_limit( $get['access'] ) : '';
$select_published = mc_select_published();
$search = mc_prepare_search_query( $search );
$exclude_categories = mc_private_categories();
Expand Down
2 changes: 1 addition & 1 deletion my_calendar_events_args.html
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ <h5>Parameters:</h5>

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line767">line 767</a>
<a href="my-calendar-events.php.html">my-calendar-events.php</a>, <a href="my-calendar-events.php.html#line768">line 768</a>
</li></ul></dd>


Expand Down

0 comments on commit 1316a19

Please sign in to comment.