Ryan Boren
9df1546b16
Fix array handling in sanitize_bookmark_field(). Props mdawaffe. fixes #13098
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14239 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-26 14:10:12 +00:00
Andrew Nacin
8d47975e76
Allow orberby in wp_list_bookmarks to accept a comma-delimited list of fields, per docs. fixes #12421 , props sorich87, scribu.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14131 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:45:09 +00:00
Andrew Nacin
8e79d5c2ac
Move deprecated functions to deprecated.php. Deprecate get_the_attachment_link() for wp_get_attachment_link(), get_attachment_icon_src() for wp_get_attachment_image_src(),
...
get_attachment_icon() and get_attachment_innerHTML() for wp_get_attachment_image(), get_link() for get_bookmark(). Add missing deprecated version numbers. Add inline documentation to pluggable functions that are deprecated. See #11388
git-svn-id: https://develop.svn.wordpress.org/trunk@13093 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 06:39:51 +00:00
Peter Westwood
685bd009b5
Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13017 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:59:24 +00:00
Ryan Boren
dcd3604d90
Use array calling style. Props Denis-de-Bernardy. see #6647
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:31:02 +00:00
Ryan Boren
af737032df
Do recently updated test only if show_updated. Avoids slow query.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12306 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-01 19:35:21 +00:00
Mark Jaquith
8d6cb67233
esc_js(). Shorter, follows new escaping naming convention.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11245 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-09 07:27:22 +00:00
Mark Jaquith
c638e8d8de
_a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren
fe7c34b6fd
s/attribute_escape/attr/. see #9650
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren
2323b85540
Return empty list if requests bookmark category does not exist. Props Viper007Bond. fixes #7507
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11064 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-23 05:39:33 +00:00
Ryan Boren
cc7454270c
Make sure get_bookmarks cache is an array
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10229 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 07:05:51 +00:00
Ryan Boren
baaaa352ba
Strip trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Ryan Boren
fab4e5a68e
Unused var fixes. Props DD32. see #8220
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9716 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-15 18:10:35 +00:00
Ryan Boren
2dc15c5a81
Notice fixes from DD32. see #7509
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9699 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 23:01:16 +00:00
Ryan Boren
fa0b44817d
Add edit and delete links to the Content->Links rows. Add get_edit_bookmark_link(). Add caching for individual bookmarks. see #7552
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8758 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 22:04:12 +00:00
Peter Westwood
000f6ec3b6
phpDoc corrections for wp-includes. See #7550 props santosj.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:45:13 +00:00
Ryan Boren
be87986f7a
phpdoc updates from jacobsantos. see #7038
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7990 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:45:05 +00:00
Ryan Boren
882fa08d42
Add sanitization to get_link() and get_link_to_edit(). Props mdawaffe. fixes #6125
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7193 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 05:28:21 +00:00
Ryan Boren
9fdf23af3a
Manage links redesign. Add link search.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6798 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-12 08:01:32 +00:00
Ryan Boren
3a18b96c9b
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Peter Westwood
90e193bdab
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Peter Westwood
7d592c6d64
Add documentation for bookmark.php. Fixes #5523 props darkdragon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6480 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 07:01:47 +00:00
Ryan Boren
34c792ccc8
Use correct var. Props DD32. fixes #5419
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6353 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 23:59:16 +00:00
Ryan Boren
b6905da933
Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6224 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:43:49 +00:00
Mark Jaquith
d9c7174ee2
prepare() for wp-includes/ bookmark.php, canonical.php, comment.php, comment-template.php. see #4553
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6173 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-27 07:34:15 +00:00
Ryan Boren
7a43c01e08
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
e9391140a7
Strip lines that contain only whitespace down to newlines.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Ryan Boren
7cfadec3fa
Don't use unavailable func. Props filosofo. fixes #4881
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5997 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-31 22:36:16 +00:00
Ryan Boren
d8adefe0b2
bookmark sanitizer funcs and default filter cleanup. see #4546
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5906 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:50:04 +00:00
Ryan Boren
23efaffd94
Revert accidental commit.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5897 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:23:39 +00:00
Ryan Boren
b2d8f1bd12
First cut of taxonomy API phpdoc from darkdragon. see #4742
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5896 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-17 21:22:37 +00:00
Ryan Boren
820d43f538
Set instead of add since the cache value has multiple keys that can change. Props josephscott. fixes #4743
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5879 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:12:12 +00:00
Ryan Boren
09da00f7fe
Use EXTR_SKIP when extracting. see #4468
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Ryan Boren
b046d67f41
Trim empty lines. Nothing but newline.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren
668f977343
Typo fix from flinkflonk. fixes #4347 see #4189
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5561 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:45:31 +00:00
Ryan Boren
cb8250ff30
Link category fixes. see #4189
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5560 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 17:21:04 +00:00
rob1n
c213997f48
Use wp_parse_args(). fixes #4237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
Ryan Boren
d8c8ecb711
Actually make use of wp_cache_add to avoid unnecessary cache writes. Props skeltoac. fixes #4138
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5248 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-12 02:27:12 +00:00
Ryan Boren
51cd99bb02
More clean_url and int casts for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5119 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-27 23:45:41 +00:00
Mark Jaquith
5acfcd9fea
trailing tabs and whitespace cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Mark Jaquith
aa86502ddf
whitespace tidying by Viper007Bond. fixes #3385
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4529 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-24 22:55:28 +00:00
Matt Mullenweg
350c99b608
Caching for get_bookmarks
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4520 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-23 17:04:05 +00:00
Ryan Boren
e44ea1ff93
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren
7e82eef627
Use get_option instead of get_settings. Just 'cause.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren
27bc07a27f
Reorg bookmark functions. #2525
...
git-svn-id: https://develop.svn.wordpress.org/trunk@3845 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-05 02:12:59 +00:00