Changeset 3041353
- Timestamp:
- 02/26/2024 02:30:13 PM (2 years ago)
- Location:
- makestories-helper/trunk
- Files:
-
- 4 edited
-
api/publish.php (modified) (2 diffs)
-
makestories.php (modified) (1 diff)
-
pages/index.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
makestories-helper/trunk/api/publish.php
r3040153 r3041353 255 255 $parsed = json_decode($response['body'], true); 256 256 if($parsed && !$parsed['error'] && $parsed['url']){ 257 if(isset($parsed['publisherDetails']) ){257 if(isset($parsed['publisherDetails']) && is_array($parsed['publisherDetails'])){ 258 258 update_post_meta( $post, "publisher_details", json_encode($parsed['publisherDetails'])); 259 wp_update_post([ 260 "ID" => $post, 261 "post_title" => $parsed['publisherDetails']['title'], 262 ]); 263 259 264 } 260 265 print_r( … … 271 276 wp_die(json_encode([ 272 277 "success" => false, 273 "error" => $parsed["message"] ? $parsed["message"] : 'Some error occur ed'278 "error" => $parsed["message"] ? $parsed["message"] : 'Some error occurred while publishing! Please try again or contact support if issue persists.' 274 279 ])); 275 280 } -
makestories-helper/trunk/makestories.php
r3040153 r3041353 4 4 Plugin URI: https://makestories.io/official-wordpress-webstories-plugin/ 5 5 Description: The leading Google Web Stories Editor is now available to create Stories in WordPress. It is easy to use, allows for extensive customization, and is adaptive for future changes. 6 Version: 3.0. 16 Version: 3.0.2 7 7 Author: MakeStories Team 8 8 Author URI: https://makestories.io -
makestories-helper/trunk/pages/index.php
r3037980 r3041353 174 174 $post_type = get_post_type($post_id); 175 175 if($post_type === MS_POST_TYPE && $storyId){ 176 return admin_url("admin.php?page=".MS_ROUTING['EDITOR']['slug']."&mspage=edit-story&story =".$storyId);176 return admin_url("admin.php?page=".MS_ROUTING['EDITOR']['slug']."&mspage=edit-story&storyId=".$storyId); 177 177 } 178 178 return $link; -
makestories-helper/trunk/readme.txt
r3040153 r3041353 4 4 Requires at least: 4.0 5 5 Tested up to: 6.4.3 6 Stable tag: 3.0. 16 Stable tag: 3.0.2 7 7 Requires PHP: 5.6 8 8
Note: See TracChangeset
for help on using the changeset viewer.