#25466 closed defect (bug) (fixed)
Hook Docs: wp-includes/vars.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Inline Docs | Keywords: | needs-patch |
Focuses: | Cc: |
Description (last modified by )
Attached patch has done for the all hooks in wp-includes/vars.php.
Attachments (2)
Change History (13)
#1
@
11 years ago
- Description modified (diff)
- Owner set to DrewAPicture
- Status changed from new to reviewing
- Summary changed from Hook Docs: vars.php to Hook Docs: wp-includes/vars.php
#2
@
11 years ago
- Keywords needs-patch added; has-patch removed
- Type changed from enhancement to defect (bug)
Hi, thanks for the patch. Some notes on vars.diff
- "Filter whether to use google chrome frame." is incorrect. The filters serves more as whether to identify the HTTP_USER_AGENT as Google Chrome.
- Once you've fixed the short description, match that to the parameter description. Something like, "Whether to allow the HTTP_USER_AGENT to be identified as Google Chrome."
- Specify the default of the boolean value (in this case,
true
) at the end of the parameter description. - Per [18036],
@since
should be 3.2.0.
#4
@
11 years ago
It's more like: "Filter to whether Google Chrome Frame should be used, if available."
#5
@
11 years ago
Thank you for the lucid Comment!!
- Fixed the short description to "Filter to whether Google Chrome Frame should be used, if available.".
(I referenced Mr.nacin's Comment. Thank you.) - Added the default of the boolean value.
- Fixed the
@since
to "3.2.0".
I'm sorry if I had mistake, Please help me again.
#7
follow-up:
↓ 9
@
11 years ago
Thank you for added to changeset and your supported.
But I have a quetion a little.
Changeset 25712:
trunk/src/wp-includes/vars.php in line 60.
* @param bool $is_admin
There is not $is_admin in this file.
Is not the problem this description?
Is not need break the array out to a boolian variable in apply_filters?
#9
in reply to:
↑ 7
@
11 years ago
Replying to tmtoy:
Thank you for added to changeset and your supported.
But I have a quetion a little.
Changeset 25712:
trunk/src/wp-includes/vars.php in line 60.
* @param bool $is_admin
There is not $is_admin in this file.
Is not the problem this description?
Is not need break the array out to a boolian variable in apply_filters?
It looks like the variable was inadvertently removed prior to the commit (my bad). Fixed in [25718].
Patch wp-includes/vars.php