@@ -44,7 +44,7 @@ |
||
| 44 | 44 | * @param array $attr The attributes of the shortcode. |
| 45 | 45 | * @param array $old_attr Optional array of attributes from the old shortcode format. |
| 46 | 46 | * |
| 47 | - * @return array Width and height. |
|
| 47 | + * @return integer[] Width and height. |
|
| 48 | 48 | */ |
| 49 | 49 | function jetpack_shortcode_get_vimeo_dimensions( $attr, $old_attr = array() ) { |
| 50 | 50 | global $content_width; |
@@ -20,6 +20,9 @@ |
||
| 20 | 20 | return new Capability( $name, $this ); |
| 21 | 21 | } |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param Capability $capability |
|
| 25 | + */ |
|
| 23 | 26 | public function register( $capability ) { |
| 24 | 27 | // TODO check for clashes? |
| 25 | 28 | $this->capabilities[ $capability->name ] = $capability; |