Plugin Directory

Changeset 3404037


Ignore:
Timestamp:
11/27/2025 12:02:19 PM (3 months ago)
Author:
awcode
Message:

post link

Location:
repostra/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • repostra/trunk/README.md

    r3403945 r3404037  
    44Requires at least: 6.0
    55Tested up to: 6.8
    6 Stable tag: 1.0.7
     6Stable tag: 1.0.8
    77Requires PHP: 8.0
    88License: GPLv2 or later
  • repostra/trunk/repostra.php

    r3403945 r3404037  
    44 * Plugin URI: https://repostra.app
    55 * Description: Integrate Repostra content creation platform with your WordPress site. Automatically receive and publish blog posts from Repostra.
    6  * Version: 1.0.7
     6 * Version: 1.0.8
    77 * Author: AWcode Co Ltd
    88 * License: GPL v2 or later
     
    227227        }
    228228       
     229        // Get the post URL
     230        $post_url = get_permalink($post_id);
     231       
    229232        return array(
    230233            'success' => true,
    231234            'post_id' => $post_id,
     235            'post_url' => $post_url,
     236            'url' => $post_url, // Alias for compatibility
    232237            'message' => __('Post created successfully', 'repostra')
    233238        );
     
    280285        }
    281286       
     287        // Get the post URL
     288        $post_url = get_permalink($post_id);
     289       
    282290        return array(
    283291            'success' => true,
    284292            'post_id' => $post_id,
     293            'post_url' => $post_url,
     294            'url' => $post_url, // Alias for compatibility
    285295            'message' => __('Post updated successfully', 'repostra')
    286296        );
Note: See TracChangeset for help on using the changeset viewer.