rob1n
e191edb9ca
Return based on whether the hook was removed or not. Props mdawaffe. fixes #4223
...
Note that this will almost definitely *not* affect existing implementations. The way most code is set up now is to just call remove_filter() or remove_action().
git-svn-id: https://develop.svn.wordpress.org/trunk@5393 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 23:27:12 +00:00
Ryan Boren
c113ddaa1f
Avoid php notices.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5202 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-07 05:24:37 +00:00
Matt Mullenweg
3be1be3815
Because of the next we should always do a reset.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5170 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:46:05 +00:00
Matt Mullenweg
0b78f9638c
Fixes bottlenecks found in filter system using xdebug + kcachegrind. merge_filters was being called 1000+ times.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5169 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 07:03:38 +00:00
rob1n
44bb2a71f1
PHPdoc for plugin.php. Props Martin10. fixes #3852
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5142 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 02:45:34 +00:00
Ryan Boren
0e79a6014b
add and apply filter optimizations from FraT. fixes #3875
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4955 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-28 01:09:20 +00:00
Ryan Boren
664f8de0db
did_action()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4630 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-08 03:45:34 +00:00
Mark Jaquith
db44b0a561
Bunch of whitespace and coding standardization.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4626 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:57:23 +00:00
Mark Jaquith
2cc7fdd66b
Code cleanup: wp-includes/plugin.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4394 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-13 14:01:53 +00:00
Mark Jaquith
bc7cd93309
case insensitive sorting. props Nazgul. fixes #3108
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4289 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:49:56 +00:00
Ryan Boren
7d25a72195
do_action_ref_array(). fixes #3125
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 17:45:23 +00:00
Ryan Boren
387124c66c
Pass along the modified string instead of the original. fixes #3118
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4179 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:16:20 +00:00
Ryan Boren
23d84fac79
do_action and apply_filters arg passing sanity from mdawaffe. fixes #3116
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4177 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-08 23:19:29 +00:00
Ryan Boren
826dd2da08
Specify number of accepted args.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4176 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-08 23:18:03 +00:00
Ryan Boren
2c8931c55d
Move plugin API to plugin.php. #2525
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3893 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-20 02:03:24 +00:00