Changeset 3129754
- Timestamp:
- 08/01/2024 10:30:01 PM (20 months ago)
- Location:
- pushly/trunk
- Files:
-
- 4 edited
-
includes/admin/class-pushly-admin-post.php (modified) (1 diff)
-
includes/admin/models/notification.php (modified) (1 diff)
-
pushly.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pushly/trunk/includes/admin/class-pushly-admin-post.php
r3129711 r3129754 510 510 $notification_payload = [ 511 511 'ID' => $post->ID, 512 'title' => $title,513 'body' => $body,512 'title' => stripslashes(wp_specialchars_decode($title)), 513 'body' => stripslashes(wp_specialchars_decode($body)), 514 514 'landing_url' => get_permalink( $post->ID ), 515 515 'schedule_date' => $post->post_date_gmt, -
pushly/trunk/includes/admin/models/notification.php
r3129752 r3129754 64 64 65 65 if ( ! empty( $post['image_id'] ) ) { 66 $image = wp_get_attachment_image_src( $post['image_id'], ' full' );66 $image = wp_get_attachment_image_src( $post['image_id'], 'large' ); 67 67 if ( ! empty( $image ) ) { 68 $notification->template->channels->web->image_url = sanitize_text_field( $image[0] );68 $notification->template->channels->web->image_url = $image[0]; 69 69 } 70 70 } -
pushly/trunk/pushly.php
r3129752 r3129754 5 5 * Plugin URI: http://pushly.com 6 6 * Description: Provide Pushly push notification capability to WordPress installations 7 * Version: 2.1. 67 * Version: 2.1.7 8 8 * Author: Pushly 9 9 * Author URI: http://pushly.com/ -
pushly/trunk/readme.txt
r3129752 r3129754 5 5 Tested up to: 6.6 6 6 Requires PHP: 5.6.20 7 Stable tag: 2.1. 67 Stable tag: 2.1.7 8 8 License: GPLv2 or later 9 9 … … 42 42 * Adds ability to send notifications directly from your WordPress site 43 43 44 = 2.1. 6=44 = 2.1.7 = 45 45 * Adds Enabled Post Types setting to enable sending notifications for custom post types
Note: See TracChangeset
for help on using the changeset viewer.