IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
406 | 406 | * |
407 | 407 | * @since 2.7.0 |
408 | 408 | * |
409 | | * @param int $position |
410 | | * @param bool $checkbox |
| 409 | * @param int $position |
| 410 | * @param bool $checkbox |
411 | 411 | * @param string $mode |
412 | | * @param bool $table_row |
| 412 | * @param bool $table_row |
413 | 413 | */ |
414 | | function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single', $table_row = true) { |
| 414 | function wp_comment_reply($position = 1, $checkbox = false, $mode = 'single', $table_row = true) { |
415 | 415 | global $wp_list_table; |
416 | 416 | /** |
417 | 417 | * Filter the in-line comment reply-to form output in the Comments |
… |
… |
|
843 | 843 | * |
844 | 844 | * @since 2.1.0 |
845 | 845 | * |
846 | | * @param string $selected slug for the role that should be already selected |
| 846 | * @param string $selected Slug for the role that should be already selected. |
847 | 847 | */ |
848 | | function wp_dropdown_roles( $selected = false ) { |
| 848 | function wp_dropdown_roles( $selected = '' ) { |
849 | 849 | $p = ''; |
850 | 850 | $r = ''; |
851 | 851 | |
… |
… |
|
853 | 853 | |
854 | 854 | foreach ( $editable_roles as $role => $details ) { |
855 | 855 | $name = translate_user_role($details['name'] ); |
856 | | if ( $selected == $role ) // preselect specified role |
| 856 | if ( $selected === $role ) // preselect specified role |
857 | 857 | $p = "\n\t<option selected='selected' value='" . esc_attr($role) . "'>$name</option>"; |
858 | 858 | else |
859 | 859 | $r .= "\n\t<option value='" . esc_attr($role) . "'>$name</option>"; |
… |
… |
|
1814 | 1814 | * Defaults to no other attributes. Other attributes can also be provided as a |
1815 | 1815 | * string such as 'tabindex="1"', though the array format is typically cleaner. |
1816 | 1816 | */ |
1817 | | function get_submit_button( $text = null, $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = null ) { |
| 1817 | function get_submit_button( $text = '', $type = 'primary large', $name = 'submit', $wrap = true, $other_attributes = '' ) { |
1818 | 1818 | if ( ! is_array( $type ) ) |
1819 | 1819 | $type = explode( ' ', $type ); |
1820 | 1820 | |