Changeset 14262 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
- Timestamp:
- 12/11/2024 05:36:31 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-template.php
r14218 r14262 999 999 array( '_wpnonce' => wp_create_nonce( 'wp_rest' ) ), 1000 1000 $url 1001 );1002 }1003 1004 /**1005 * Generates a link to email the release confirmation link.1006 *1007 * @param int|\WP_Post|null $post Optional. Post ID or post object. Defaults to global $post.1008 * @return string URL to enable confirmations.1009 */1010 public static function get_release_confirmation_access_link() {1011 return add_query_arg(1012 array( '_wpnonce' => wp_create_nonce( 'wp_rest' ) ),1013 home_url( 'wp-json/plugins/v1/release-confirmation-access' )1014 1001 ); 1015 1002 }
Note: See TracChangeset
for help on using the changeset viewer.