Changeset 3193445
- Timestamp:
- 11/20/2024 07:17:26 PM (17 months ago)
- Location:
- easy-liveblogs
- Files:
-
- 8 edited
- 1 copied
-
tags/2.3.6 (copied) (copied from easy-liveblogs/trunk)
-
tags/2.3.6/easy-liveblogs.php (modified) (1 diff)
-
tags/2.3.6/includes/class-elb-liveblog.php (modified) (1 diff)
-
tags/2.3.6/includes/elb-shortcodes.php (modified) (1 diff)
-
tags/2.3.6/readme.txt (modified) (2 diffs)
-
trunk/easy-liveblogs.php (modified) (1 diff)
-
trunk/includes/class-elb-liveblog.php (modified) (1 diff)
-
trunk/includes/elb-shortcodes.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-liveblogs/tags/2.3.6/easy-liveblogs.php
r2956895 r3193445 26 26 private $plugin_url; 27 27 private $plugin_name = 'Easy Liveblogs'; 28 private $plugin_version = '2.3. 5';28 private $plugin_version = '2.3.6'; 29 29 private $text_domain = 'easy-liveblogs'; 30 30 -
easy-liveblogs/tags/2.3.6/includes/class-elb-liveblog.php
r2883849 r3193445 111 111 $content .= do_action( 'elb_before_liveblog', $this->get_liveblog_id(), array() ); 112 112 113 $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . e lb_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 ) . '">'; 114 114 115 115 $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 13 13 */ 14 14 function 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 ); 19 22 } else { 20 23 return; -
easy-liveblogs/tags/2.3.6/readme.txt
r2956895 r3193445 6 6 Donate link: https://vanrossum.dev/donate 7 7 Requires at least: 4.4 8 Tested up to: 6. 39 Stable Tag: 2.3. 58 Tested up to: 6.7 9 Stable Tag: 2.3.6 10 10 License: MIT 11 11 … … 53 53 54 54 = Unreleased = 55 56 = 2.3.6, November 20th, 2024 = 57 * Escape attributes on liveblog render. 55 58 56 59 = 2.3.5, August 22th, 2023 = -
easy-liveblogs/trunk/easy-liveblogs.php
r2956895 r3193445 26 26 private $plugin_url; 27 27 private $plugin_name = 'Easy Liveblogs'; 28 private $plugin_version = '2.3. 5';28 private $plugin_version = '2.3.6'; 29 29 private $text_domain = 'easy-liveblogs'; 30 30 -
easy-liveblogs/trunk/includes/class-elb-liveblog.php
r2883849 r3193445 111 111 $content .= do_action( 'elb_before_liveblog', $this->get_liveblog_id(), array() ); 112 112 113 $content .= '<div id="elb-liveblog" class="' . implode( ' ', $classes ) . '" data-append-timestamp="' . e lb_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 ) . '">'; 114 114 115 115 $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 13 13 */ 14 14 function 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 ); 19 22 } else { 20 23 return; -
easy-liveblogs/trunk/readme.txt
r2956895 r3193445 6 6 Donate link: https://vanrossum.dev/donate 7 7 Requires at least: 4.4 8 Tested up to: 6. 39 Stable Tag: 2.3. 58 Tested up to: 6.7 9 Stable Tag: 2.3.6 10 10 License: MIT 11 11 … … 53 53 54 54 = Unreleased = 55 56 = 2.3.6, November 20th, 2024 = 57 * Escape attributes on liveblog render. 55 58 56 59 = 2.3.5, August 22th, 2023 =
Note: See TracChangeset
for help on using the changeset viewer.