Changeset 3113910
- Timestamp:
- 07/07/2024 10:59:49 PM (4 weeks ago)
- Location:
- my-calendar
- Files:
-
- 1354 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
my-calendar/trunk/css/reset.css
r3096977 r3113910 �� 953 953 padding: 8px; 954 954 box-sizing: border-box; 955 955 956 } 956 957 -
my-calendar/trunk/my-calendar-api.php
r3081574 r3113910 164 164 } 165 165 } 166 // Rewind the stream. 167 rewind( $stream ); 168 // You can now echo its content. 166 // Echo the content as a file. Use content-type headers if for download. 169 167 if ( ! ( isset( $_GET['file'] ) && 'false' === $_GET['file'] ) ) { 170 168 // If accessing remotely as content. -
my-calendar/trunk/my-calendar-event-editor.php
r3106337 r3113910 2481 2481 } 2482 2482 2483 $current_user = wp_get_current_user(); 2484 $event_author = ( $event_author === $current_user->ID || current_user_can( 'mc_manage_events' ) ) ? $event_author : $current_user->ID; 2485 $primary = ( ! $primary ) ? 1 : $primary; 2486 $cats = ( isset( $cats ) && is_array( $cats ) ) ? $cats : array( 1 ); 2483 $current_user = is_user_logged_in() ? wp_get_current_user() : false; 2484 if ( $current_user ) { 2485 // Users without manage events capability can't change author values. 2486 $event_author = ( $event_author === $current_user->ID || current_user_can( 'mc_manage_events' ) ) ? $event_author : $current_user->ID; 2487 } 2488 $primary = ( ! $primary ) ? 1 : $primary; 2489 $cats = ( isset( $cats ) && is_array( $cats ) ) ? $cats : array( 1 ); 2487 2490 // Set transient with start date/time of this event for 15 minutes. 2488 2491 set_transient( -
my-calendar/trunk/my-calendar-navigation.php
r3096977 r3113910 821 821 $key = ( $has_multiple ) ? $multiple : $key; 822 822 // Translators: Type of filter shown. Events, Categories, Locations, or Accessibility Services. 823 $label = sprintf( __( 'Filter %s', 'my-calendar' ), '<span class="screen-reader-text"> ' . $key . '</ a>' );823 $label = sprintf( __( 'Filter %s', 'my-calendar' ), '<span class="screen-reader-text"> ' . $key . '</>' ); 824 824 $form .= '<p><button id="mc_filter_' . $show . '-' . $id . '" class="button" data-href="' . esc_url( $current_url ) . '">' . $label . '"</button></p> 825 825 </form></div>'; … … 961 961 $output = ( 'single' === $group ) ? "<div id='mc_access'>\n" : ''; 962 962 $url = mc_build_url( array( 'access' => 'all' ), array() ); 963 $not_selected = ( ! isset( $_GET['access'] ) ) ? ' selected="selected"' : '';963 $not_selected = ( ! isset( $_GET['access'] ) ) ? 'selected="selected"' : ''; 964 964 $output .= ( 'list' === $show ) ? " 965 965 <ul> -
my-calendar/trunk/my-calendar.php
r3106337 r3113910 18 18 * License URI: http://www.gnu.org/license/gpl-2.0.txt 19 19 * Domain Path: lang 20 * Version: 3.5. 820 * Version: 3.5. 21 21 */ 22 22 … … 55 55 return get_option( 'mc_version', '' ); 56 56 } 57 return '3.5. 8';57 return '3.5.'; 58 58 } 59 59 -
my-calendar/trunk/readme.txt
r3106337 r3113910 4 4 Tags: event manager, event calendar, venue, location, accessibility 5 5 Requires at least: 4.9 6 Tested up to: 6. 56 Tested up to: 6. 7 7 Requires PHP: 7.4 8 8 Text domain: my-calendar 9 Stable tag: 3.5. 89 Stable tag: 3.5. 10 10 License: GPLv2 or later 11 11 … … 95 95 96 96 == Changelog == 97 98 99 100 101 102 103 97 104 98 105 = 3.5.8 = -
my-calendar/trunk/styles/twentyfourteen.css
r3081574 r3113910 192 192 193 193 .mc-main.mini .has-events, .mc-main.mini .has-events .mc-date { 194 background: #fff; 194 background: var(--date-has-events-bg); 195 color: var(--date-has-events-color); 195 196 font-weight: 700; 196 197 }
Note: See TracChangeset
for help on using the changeset viewer.