Opened 8 years ago
Closed 7 years ago
#46850 closed defect (bug) (fixed)
Two parameters passed to delete_option in wp-includes/post.php. Should only pass one.
| Reported by: | diddledani | Owned by: | SergeyBiryukov |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.3 |
| Component: | Posts, Post Types | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
delete_option expects one parameter but usage in the function _reset_front_page_settings_for_post() tries to send two arguments. The attached patch fixes it to send the required one parameter.
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
patch to fix wrong number of parameters in delete_option() call