Plugin Directory

Changeset 3113910

Timestamp:
07/07/2024 10:59:49 PM (4 weeks ago)
Author:
joedolson
Message:

Remove 3.5.7, add 3.5.9, change stable.

https://github.com/joedolson/my-calendar/releases/tag/v3.5.9

Location:
my-calendar
Files:
1354 added
1 deleted
7 edited

Legend:

Unmodified
Added
Removed
  • my-calendar/trunk/css/reset.css

    r3096977 r3113910 ��
    953953    padding: 8px;
    954954    box-sizing: border-box;
     955
    955956}
    956957
  • my-calendar/trunk/my-calendar-api.php

    r3081574 r3113910  
    164164        }
    165165    }
    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.
    169167    if ( ! ( isset( $_GET['file'] ) && 'false' === $_GET['file'] ) ) {
    170168        // If accessing remotely as content.
  • my-calendar/trunk/my-calendar-event-editor.php

    r3106337 r3113910  
    24812481    }
    24822482
    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 );
    24872490    // Set transient with start date/time of this event for 15 minutes.
    24882491    set_transient(
  • my-calendar/trunk/my-calendar-navigation.php

    r3096977 r3113910  
    821821    $key = ( $has_multiple ) ? $multiple : $key;
    822822    // 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 . '</>' );
    824824    $form .= '<p><button id="mc_filter_' . $show . '-' . $id . '" class="button" data-href="' . esc_url( $current_url ) . '">' . $label . '"</button></p>
    825825    </form></div>';
     
    961961        $output       = ( 'single' === $group ) ? "<div id='mc_access'>\n" : '';
    962962        $url          = mc_build_url( array( 'access' => 'all' ), array() );
    963         $not_selected = ( ! isset( $_GET['access'] ) ) ? 'selected="selected"' : '';
     963        $not_selected = ( ! isset( $_GET['access'] ) ) ? 'selected="selected"' : '';
    964964        $output      .= ( 'list' === $show ) ? "
    965965        <ul>
  • my-calendar/trunk/my-calendar.php

    r3106337 r3113910  
    1818 * License URI: http://www.gnu.org/license/gpl-2.0.txt
    1919 * Domain Path: lang
    20  * Version:     3.5.8
     20 * Version:     3.5.
    2121 */
    2222
     
    5555        return get_option( 'mc_version', '' );
    5656    }
    57     return '3.5.8';
     57    return '3.5.';
    5858}
    5959
  • my-calendar/trunk/readme.txt

    r3106337 r3113910  
    44Tags: event manager, event calendar, venue, location, accessibility
    55Requires at least: 4.9
    6 Tested up to: 6.5
     6Tested up to: 6.
    77Requires PHP: 7.4
    88Text domain: my-calendar
    9 Stable tag: 3.5.8
     9Stable tag: 3.5.
    1010License: GPLv2 or later
    1111
     
    9595
    9696== Changelog ==
     97
     98
     99
     100
     101
     102
     103
    97104
    98105= 3.5.8 =
  • my-calendar/trunk/styles/twentyfourteen.css

    r3081574 r3113910  
    192192
    193193.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);
    195196    font-weight: 700;
    196197}
Note: See TracChangeset for help on using the changeset viewer.