Opened 11 years ago
Closed 11 years ago
#25444 closed defect (bug) (fixed)
Hook Docs: wp-admin/customize.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Inline Docs | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
Patch forthcoming.
Attachments (7)
Change History (23)
#3
@
11 years ago
- Keywords needs-patch added; has-patch removed
- Owner set to kpdesign
- Status changed from new to reviewing
Hi @andg, thanks for the patch. customize.diff looks pretty good, just a few things:
- All
@since
tags should use the 3-digit, x.x.x version style
customize_controls_enqueue_scripts
hook:
- The short description reads a little awkwardly: "Fired when customizer scripts enqueuing occurs.". Maybe try rewording it.
#5
@
11 years ago
Attached diff fine with a revised "customize_controls_enqueue_scripts" hook description.
#7
follow-up:
↓ 8
@
11 years ago
@DrewAPicture this looks good to commit. For consistency, I'd recommend updating "Fired when..." to instead say "Fires when..."
#8
in reply to:
↑ 7
@
11 years ago
- Keywords needs-patch added; has-patch removed
Replying to rzen:
@DrewAPicture this looks good to commit. For consistency, I'd recommend updating "Fired when..." to instead say "Fires when..."
Suggested language of the standard says "fires", so we should stay with that.
Actions: When does an action fire?
Good: Fires after most of core is loaded, and the user is authenticated.
Also, this patch still has issues that need to be fixed. I'm working on that this AM.
#9
@
11 years ago
- Keywords has-patch commit added; needs-patch removed
- Milestone changed from Awaiting Review to 3.7
#11
@
11 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
25444.1.diff adds doc block for customize_allowed_urls
(missed in original patch).
#12
@
11 years ago
25444.1.diff doesn't have enough context. Filter the allowed URLs for what? In this case, it is specifically for filtering the URLs that can be clicked inside the customizer preview and be followed, instead of being ignored.
Most of the hooks in [25826] are not "Fires when" but rather those hooks are used *for* enqueueing, or printing, or whatever.
#13
@
11 years ago
@nacin: Thanks for the review. :) 25444.2.diff incorporates your comments on the short descriptions.
#15
@
11 years ago
Thank you Sergey. :) Fixed in 25444.3.diff.
Added inline documentation for the actions executed in this file.