@@ -67,6 +67,7 @@ |
||
67 | 67 | * |
68 | 68 | * Similar to current_user_can, but internal to VideoPress. Returns |
69 | 69 | * true if the given VideoPress capability is allowed by the given user. |
70 | + * @param string $cap |
|
70 | 71 | */ |
71 | 72 | public function can( $cap, $user_id = false ) { |
72 | 73 | if ( ! $user_id ) { |
@@ -115,6 +115,9 @@ |
||
115 | 115 | delete_transient( self::CALLABLES_AWAIT_TRANSIENT_NAME ); |
116 | 116 | } |
117 | 117 | |
118 | + /** |
|
119 | + * @param integer $checksum |
|
120 | + */ |
|
118 | 121 | public function should_send_callable( $callable_checksums, $name, $checksum ) { |
119 | 122 | if ( in_array( $name, array( 'home_url', 'site_url' ) ) && Jetpack_Options::get_option( 'migrate_for_idc' ) ) { |
120 | 123 | return true; |