diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index 1d4a8e8da1..49b4f084bb 100644
|
a
|
b
|
function compression_test() { |
| 2549 | 2549 | * @param bool $wrap True if the output button should be wrapped in a paragraph tag, |
| 2550 | 2550 | * false otherwise. Defaults to true. |
| 2551 | 2551 | * @param array|string $other_attributes Other attributes that should be output with the button, mapping |
| 2552 | | * attributes to their values, such as setting tabindex to 1, etc. |
| | 2552 | * attributes to their values, such as setting the id attribute, etc. |
| 2553 | 2553 | * These key/value attribute pairs will be output as attribute="value", |
| 2554 | 2554 | * where attribute is the key. Other attributes can also be provided |
| 2555 | | * as a string such as 'tabindex="1"', though the array format is |
| | 2555 | * as a string such as 'id="search-submit"', though the array format is |
| 2556 | 2556 | * preferred. Default null. |
| 2557 | 2557 | */ |
| 2558 | 2558 | function submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap = true, $other_attributes = null ) { |
| … |
… |
function submit_button( $text = null, $type = 'primary', $name = 'submit', $wrap |
| 2573 | 2573 | * @param bool $wrap Optional. True if the output button should be wrapped in a paragraph |
| 2574 | 2574 | * tag, false otherwise. Default true. |
| 2575 | 2575 | * @param array|string $other_attributes Optional. Other attributes that should be output with the button, |
| 2576 | | * mapping attributes to their values, such as `array( 'tabindex' => '1' )`. |
| | 2576 | * mapping attributes to their values, such as `array( 'id' => 'search-submit' )`. |
| 2577 | 2577 | * These attributes will be output as `attribute="value"`, such as |
| 2578 | | * `tabindex="1"`. Other attributes can also be provided as a string such |
| 2579 | | * as `tabindex="1"`, though the array format is typically cleaner. |
| | 2578 | * `id="search-submit"`. Other attributes can also be provided as a string such |
| | 2579 | * as `id="search-submit"`, though the array format is typically cleaner. |
| 2580 | 2580 | * Default empty. |
| 2581 | 2581 | * @return string Submit button HTML. |
| 2582 | 2582 | */ |