Opened 9 years ago
Last modified 5 years ago
#32238 new enhancement
Enhancement has_filter function
Reported by: | tuanphp | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.2.1 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | Cc: |
Description
I am optimize has_filter wordpress function. It is simple logic.
Code here: http://pastebin.com/mW0tBstE
I cannot create a path file. So I create this ticket. Hope someone will accepted that.
Attachments (3)
Change History (8)
#2
follow-up:
↓ 3
@
9 years ago
@tuanphp I wrote a helpful guide to creating and submitting a patch that you mind find useful: http://code.tutsplus.com/tutorials/creating-and-submitting-a-patch-to-wordpress-core--cms-20658
#3
in reply to:
↑ 2
@
9 years ago
Replying to Shelob9:
@tuanphp I wrote a helpful guide to creating and submitting a patch that you mind find useful: http://code.tutsplus.com/tutorials/creating-and-submitting-a-patch-to-wordpress-core--cms-20658
Thanks. I will try it.
#5
@
9 years ago
Looks like your patch accidentally changes tabs to spaces, note that all WP code uses tabs for indentation. Can you reformat with the indentation corrected please? :)
(If you can't, we can correct it for you, but probably good to fix it now in case you want to make future patches too. :) )
Hi @tuanphp, welcome to Trac!
Could you describe your changes? See also https://make.wordpress.org/core/2011/03/23/code-refactoring/.