Changeset 3118672
- Timestamp:
- 07/15/2024 07:06:57 PM (21 months ago)
- Location:
- skyword-publishing-api/tags/1.1.3
- Files:
-
- 2 edited
-
php/routes/class-skyword-posts.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
skyword-publishing-api/tags/1.1.3/php/routes/class-skyword-posts.php
r3116651 r3118672 418 418 $newPost['ID'] = (int) $data['id']; 419 419 } 420 if ( null !== $data['author'] && is_numeric( trim( $data['author'] ) ) ) { 421 $newPost['post_author'] = (int)$data['author']; 422 } else if ( null !== $data['author'] && null !== $coauthors_plus ) { 420 if ( null !== $data['author'] && null !== $coauthors_plus ) { 423 421 $data['author'] = str_replace( 'guest-', '', $data['author'] ); 424 422 $author = $coauthors_plus->guest_authors->get_guest_author_by( 'ID', $data['author'] ); 425 423 $authorTerm = $coauthors_plus->update_author_term( $author ); 424 $newPost['post_author'] = (int)$data['author']; 425 } else if ( null !== $data['author'] && is_numeric( trim( $data['author'] ) ) ) { 426 426 $newPost['post_author'] = (int)$data['author']; 427 427 } -
skyword-publishing-api/tags/1.1.3/readme.txt
r3116645 r3118672 24 24 = 1.1.3 = 25 25 * Feature flag to convert paragraph attributes to WP "align" classes 26 * Fix bug with author checking 26 27 27 28 = 1.1.2 =
Note: See TracChangeset
for help on using the changeset viewer.