#20091 closed enhancement (maybelater)
Introduce set_theme_mods function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Themes | Keywords: | has-patch close |
Focuses: | Cc: |
Description
In core we have get_theme_mod(s)
and remove_theme_mod(s)
but only set_theme_mod
.
We should introduce set_theme_mods
too.
(We need this for Gandalf.)
Attachments (1)
Change History (6)
#2
@
13 years ago
We don't have these kinds of setters anywhere else -- update_options(), set_transients(), update_post_metas(), etc. Why not just loop?
#3
@
13 years ago
- Keywords close added
We should leave the method internally in WP_Cutomize, but setting it to private/protected.
#4
@
13 years ago
- Milestone 3.4 deleted
- Resolution set to maybelater
- Status changed from new to closed
Customize no longer uses this function, so I'm not sure how relevant it is. If Customize does need it, let's just keep it there for now and make sure it is protected. Otherwise, we should remove it.
Note: See
TracTickets for help on using
tickets.
20091.patch props koopersmith.