Plugin Directory

Changeset 3193445


Ignore:
Timestamp:
11/20/2024 07:17:26 PM (17 months ago)
Author:
jeffreyvr
Message:

Update to version 2.3.6 from GitHub

Location:
easy-liveblogs
Files:
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • easy-liveblogs/tags/2.3.6/easy-liveblogs.php

    r2956895 r3193445  
    2626        private $plugin_url;
    2727        private $plugin_name    = 'Easy Liveblogs';
    28         private $plugin_version = '2.3.5';
     28        private $plugin_version = '2.3.6';
    2929        private $text_domain    = 'easy-liveblogs';
    3030
  • easy-liveblogs/tags/2.3.6/includes/class-elb-liveblog.php

    r2883849 r3193445  
    111111        $content .= do_action( 'elb_before_liveblog', $this->get_liveblog_id(), array() );
    112112
    113         $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . elb_get_option( 'append_timestamp', false ) . '" data-status="' . elb_get_liveblog_status() . '" data-highlighted-entry="' . elb_get_highlighted_entry_id() . '" data-show-entries="' . elb_get_show_entries() . '" data-endpoint="' . $this->endpoint . '">';
     113        $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . esc_attr( elb_get_option( 'append_timestamp', false ) ) . '" data-status="' . esc_attr( elb_get_liveblog_status() ) . '" data-highlighted-entry="' . esc_attr( elb_get_highlighted_entry_id() ) . '" data-show-entries="' . esc_attr( elb_get_show_entries() ) . '" data-endpoint="' . esc_attr( $this->endpoint ) . '">';
    114114
    115115        $content .= '<div class="elb-liveblog-closed-message" style="display: none;">' . __( 'The liveblog has ended.', ELB_TEXT_DOMAIN ) . '</div>';
  • easy-liveblogs/tags/2.3.6/includes/elb-shortcodes.php

    r2723705 r3193445  
    1313 */
    1414function elb_liveblog_shortcode( $atts ) {
    15     if ( ! empty( $atts['endpoint'] ) ) {
    16         $liveblog = ELB_Liveblog::fromEndpoint( $atts['endpoint'] );
    17     } elseif ( ! empty( $atts['id'] ) ) {
    18         $liveblog = ELB_Liveblog::fromId( $atts['id'] );
     15    $endpoint = !empty($atts['endpoint']) ? esc_attr($atts['endpoint']) : null;
     16    $id = !empty($atts['id']) ? esc_attr($atts['id']) : null;
     17
     18    if ( $endpoint ) {
     19        $liveblog = ELB_Liveblog::fromEndpoint( $endpoint );
     20    } elseif ( $id ) {
     21        $liveblog = ELB_Liveblog::fromId( $id );
    1922    } else {
    2023        return;
  • easy-liveblogs/tags/2.3.6/readme.txt

    r2956895 r3193445  
    66Donate link: https://vanrossum.dev/donate
    77Requires at least: 4.4
    8 Tested up to: 6.3
    9 Stable Tag: 2.3.5
     8Tested up to: 6.7
     9Stable Tag: 2.3.6
    1010License: MIT
    1111
     
    5353
    5454= Unreleased =
     55
     56= 2.3.6, November 20th, 2024 =
     57* Escape attributes on liveblog render.
    5558
    5659= 2.3.5, August 22th, 2023 =
  • easy-liveblogs/trunk/easy-liveblogs.php

    r2956895 r3193445  
    2626        private $plugin_url;
    2727        private $plugin_name    = 'Easy Liveblogs';
    28         private $plugin_version = '2.3.5';
     28        private $plugin_version = '2.3.6';
    2929        private $text_domain    = 'easy-liveblogs';
    3030
  • easy-liveblogs/trunk/includes/class-elb-liveblog.php

    r2883849 r3193445  
    111111        $content .= do_action( 'elb_before_liveblog', $this->get_liveblog_id(), array() );
    112112
    113         $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . elb_get_option( 'append_timestamp', false ) . '" data-status="' . elb_get_liveblog_status() . '" data-highlighted-entry="' . elb_get_highlighted_entry_id() . '" data-show-entries="' . elb_get_show_entries() . '" data-endpoint="' . $this->endpoint . '">';
     113        $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . esc_attr( elb_get_option( 'append_timestamp', false ) ) . '" data-status="' . esc_attr( elb_get_liveblog_status() ) . '" data-highlighted-entry="' . esc_attr( elb_get_highlighted_entry_id() ) . '" data-show-entries="' . esc_attr( elb_get_show_entries() ) . '" data-endpoint="' . esc_attr( $this->endpoint ) . '">';
    114114
    115115        $content .= '<div class="elb-liveblog-closed-message" style="display: none;">' . __( 'The liveblog has ended.', ELB_TEXT_DOMAIN ) . '</div>';
  • easy-liveblogs/trunk/includes/elb-shortcodes.php

    r2723705 r3193445  
    1313 */
    1414function elb_liveblog_shortcode( $atts ) {
    15     if ( ! empty( $atts['endpoint'] ) ) {
    16         $liveblog = ELB_Liveblog::fromEndpoint( $atts['endpoint'] );
    17     } elseif ( ! empty( $atts['id'] ) ) {
    18         $liveblog = ELB_Liveblog::fromId( $atts['id'] );
     15    $endpoint = !empty($atts['endpoint']) ? esc_attr($atts['endpoint']) : null;
     16    $id = !empty($atts['id']) ? esc_attr($atts['id']) : null;
     17
     18    if ( $endpoint ) {
     19        $liveblog = ELB_Liveblog::fromEndpoint( $endpoint );
     20    } elseif ( $id ) {
     21        $liveblog = ELB_Liveblog::fromId( $id );
    1922    } else {
    2023        return;
  • easy-liveblogs/trunk/readme.txt

    r2956895 r3193445  
    66Donate link: https://vanrossum.dev/donate
    77Requires at least: 4.4
    8 Tested up to: 6.3
    9 Stable Tag: 2.3.5
     8Tested up to: 6.7
     9Stable Tag: 2.3.6
    1010License: MIT
    1111
     
    5353
    5454= Unreleased =
     55
     56= 2.3.6, November 20th, 2024 =
     57* Escape attributes on liveblog render.
    5558
    5659= 2.3.5, August 22th, 2023 =
Note: See TracChangeset for help on using the changeset viewer.