#18338 closed feature request (duplicate)
add $name arg to the_editor () function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.2.1 |
Component: | Editor | Keywords: | 2nd-opinion needs-patch |
Focuses: | Cc: |
Description
Hi every one , I have a small suggestion about add ability to separate ID attribute and NAME attribute , this may help devlopers to include the editor in thier options page or in thier own forms .
example of function args:
the_editor($content, $atts = array ( 'id' => 'content' , 'name' => 'content' ), $prev_id = 'title', $media_buttons = true, $tab_index = 2 )
Change History (3)
#2
@
10 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
Please make any suggestions related to the editor API here: #17144
#3
in reply to:
↑ description
@
10 years ago
Replying to alex-ye:
I have a small suggestion about add ability to separate ID attribute and NAME attribute...
This is an option in the new API: http://core.trac.wordpress.org/browser/trunk/wp-includes/class-wp-editor.php#L45
Note: See
TracTickets for help on using
tickets.
Related: #17144
Looks like the_editor() is also deprecated at this point. Use wp_editor().