~tcuthbert/wordpress/openstack-objectstorage-k8s

« back to all changes in this revision

Viewing changes to include/functions.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
/**
 
3
 * Alias of swift_get_secure_attachment_url for backward compatibility
 
4
 * Will be depreated in a later version
 
5
 *
 
6
 * @since 2.0
 
7
 * @access public
 
8
 * @param mixed $post_id Post ID of the attachment or null to use the loop
 
9
 * @param int $expires Secondes for the link to live
 
10
 * @return array
 
11
 */
 
12
function wps3_get_secure_attachment_url( $post_id, $expires = 900, $deprecated = '' ) {
 
13
        return swift_get_secure_attachment_url( $post_id, $expires = 900 );
 
14
}
 
15
 
 
16
function swift_get_secure_attachment_url( $post_id, $expires = 900, $operation = 'GET' ) {
 
17
 
 
18
}