@@ -52,7 +52,6 @@ |
||
52 | 52 | * @param string $output Passed by reference. Used to append additional content. |
53 | 53 | * @param object $item Menu item data object. |
54 | 54 | * @param int $depth Depth of menu item. Used for padding. |
55 | - * @param int $current_page Menu item ID. |
|
56 | 55 | * @param object $args |
57 | 56 | */ |
58 | 57 | public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) { |
@@ -159,6 +159,9 @@ |
||
159 | 159 | return self::$noscripts[ (int) $match[1] ]; |
160 | 160 | } |
161 | 161 | |
162 | + /** |
|
163 | + * @param string $new_class |
|
164 | + */ |
|
162 | 165 | static function add_class( $html_string = '', $new_class ) { |
163 | 166 | $pattern = '/class=[\'"]([^\'"]*)[\'"]/'; |
164 | 167 |
@@ -156,6 +156,7 @@ discard block |
||
156 | 156 | * |
157 | 157 | * @package lsx |
158 | 158 | * @subpackage extras |
159 | + * @param string $size |
|
159 | 160 | */ |
160 | 161 | function lsx_get_thumbnail( $size, $image_src = false ) { |
161 | 162 | if ( false === $image_src ) { |
@@ -220,6 +221,7 @@ discard block |
||
220 | 221 | * |
221 | 222 | * @package lsx |
222 | 223 | * @subpackage extras |
224 | + * @param boolean $image_src |
|
223 | 225 | */ |
224 | 226 | function lsx_get_attachment_id_from_src( $image_src ) { |
225 | 227 | $post_id = wp_cache_get( $image_src, 'lsx_get_attachment_id_from_src' ); |
@@ -17,6 +17,7 @@ |
||
17 | 17 | * |
18 | 18 | * @package lsx |
19 | 19 | * @subpackage layout |
20 | + * @param string $class |
|
20 | 21 | */ |
21 | 22 | function lsx_layout_selector( $class, $area = 'site' ) { |
22 | 23 | $return_class = ''; |