Commit Graph

62 Commits

Author SHA1 Message Date
Andrew Nacin
5e4cb3af70 Display links if no link categories exist. props MikeHansenMe. fixes #22216.
git-svn-id: http://core.svn.wordpress.org/trunk@22426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-07 19:25:18 +00:00
Andrew Nacin
557d9313a7 Introduce constants to allow for easier expression of time periods in seconds. Adds MINUTE_IN_SECONDS, HOUR_IN_SECONDS, DAY_IN_SECONDS, WEEK_IN_SECONDS, YEAR_IN_SECONDS. props nbachiyski, SergeyBiryukov. fixes #20987.
git-svn-id: http://core.svn.wordpress.org/trunk@21996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-25 05:26:19 +00:00
markjaquith
d65e49c9f3 Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
git-svn-id: http://core.svn.wordpress.org/trunk@21241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-09 05:03:53 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
059d7225fb Refresh deprecated bookmark functions. Props filosofo. fixes #10920
git-svn-id: http://svn.automattic.com/wordpress/trunk@12525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:49:22 +00:00
ryan
8513b29792 Prophylactic escapes
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
markjaquith
3ebf837ced Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 16:00:33 +00:00
markjaquith
6c2ffddf31 _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: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
azaozz
154896f99d Add a space between image and name in bookmark-template.php, props sivel, fixes #8608
git-svn-id: http://svn.automattic.com/wordpress/trunk@11184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 02:23:40 +00:00
ryan
2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan
2b430c9751 Links widget options. Props DD32. see #9196
git-svn-id: http://svn.automattic.com/wordpress/trunk@10712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 23:49:21 +00:00
ryan
9fd20b9893 Update _walk_bookmarks phpdoc. Props brh and sivel. fixes #8607 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-16 07:54:17 +00:00
ryan
e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
ryan
2d1010a8fb Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: http://svn.automattic.com/wordpress/trunk@9590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:45:38 +00:00
ryan
fc81ae374d Formatting cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@9410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-30 04:07:24 +00:00
ryan
611bbf9955 wp_list_bookmarks should always show name if there is no image to show. Props mtdewvirus. fixes #7981
git-svn-id: http://svn.automattic.com/wordpress/trunk@9366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-27 16:23:07 +00:00
ryan
1f1409a786 link_before and link_after from thee17. fixes #5652
git-svn-id: http://svn.automattic.com/wordpress/trunk@9202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:13:30 +00:00
ryan
586e660529 Add show_name to wp_list_bookmarks(). Props Otto42. fixes #7847
git-svn-id: http://svn.automattic.com/wordpress/trunk@9139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:43:05 +00:00
westi
f7b32217a3 phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-27 06:45:13 +00:00
azaozz
643f76d20c Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-26 19:56:08 +00:00
ryan
9e585b7c30 Add exclude_category argument to wp_list_bookmarks(). Props ionfish. fixes #6808
git-svn-id: http://svn.automattic.com/wordpress/trunk@8183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-24 17:44:30 +00:00
westi
829ac35bbe Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-20 13:54:23 +00:00
ryan
d69adece5a category_name is not a valid arg. Use name__like. Props drdavid. fixes #6722 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-06-16 22:19:34 +00:00
ryan
62784a594f phpdoc updates from jacobsantos. see #7038
git-svn-id: http://svn.automattic.com/wordpress/trunk@7990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-25 15:45:05 +00:00
ryan
938f29414f Use array calling style. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@7911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 19:19:58 +00:00
westi
ab4ce8237d '>"
git-svn-id: http://svn.automattic.com/wordpress/trunk@6828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 21:56:56 +00:00
ryan
3b04c16b5e Add wp_list_bookmarks filter. Props codealsatian. fixes #5532
git-svn-id: http://svn.automattic.com/wordpress/trunk@6822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 18:47:34 +00:00
ryan
d88983793b Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-05 06:47:27 +00:00
westi
30145d1a56 Add documentation for bookmark-template.php. Fixes #5521 props darkdragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-24 07:04:29 +00:00
westi
1f889417e5 Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-20 21:25:12 +00:00
ryan
a48973211c Fix typo. fixes #5061
git-svn-id: http://svn.automattic.com/wordpress/trunk@6161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-24 01:48:36 +00:00
ryan
8d349aa85c Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@6160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-23 19:25:15 +00:00
ryan
a1046188b8 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: http://svn.automattic.com/wordpress/trunk@6088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-12 01:01:48 +00:00
ryan
321c310717 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
9d3d20f063 Use EXTR_SKIP when extracting. see #4468
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
ryan
2f09416258 Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
ryan
eb541a962f Link category fixes. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 17:21:04 +00:00
ryan
b00beb3027 Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-23 18:59:12 +00:00
rob1n
e6c189902c Use wp_parse_args(). fixes #4237
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
rob1n
090c138591 Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: http://svn.automattic.com/wordpress/trunk@5153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-31 19:43:49 +00:00
ryan
e9e3e0787d Castaways on Gilligan's Isle
git-svn-id: http://svn.automattic.com/wordpress/trunk@5090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 02:16:16 +00:00
matt
7602d17899 (int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-23 00:59:21 +00:00
markjaquith
611b037efa use clean_url() instead of attribute_escape() when dealing with src/href to protect against XSS. props xknown. fixes #3986 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-17 08:46:59 +00:00
ryan
328afedc07 Link filters from jhodgdon. fixes #3595
git-svn-id: http://svn.automattic.com/wordpress/trunk@5011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 01:13:49 +00:00
ryan
1e3ca9cde1 Pass along all parameters to get_bookmarks(). Props Otto42. fixes #3898
git-svn-id: http://svn.automattic.com/wordpress/trunk@4964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-04 01:59:57 +00:00
markjaquith
d0f79bb3f2 trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan
33d8407781 Don't output ul when title_li is empty. Props m0n5t3r. fixes #3664
git-svn-id: http://svn.automattic.com/wordpress/trunk@4800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-25 02:02:21 +00:00
markjaquith
5a76c03203 new function for escaping within attributes: attribute_escape()
git-svn-id: http://svn.automattic.com/wordpress/trunk@4656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-21 10:10:04 +00:00
ryan
cc44db510d Use js_escape. Props nbachiyski. fixes #3399
git-svn-id: http://svn.automattic.com/wordpress/trunk@4535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-28 21:51:13 +00:00
ryan
d7c11f087d Typo. fixes #3389
git-svn-id: http://svn.automattic.com/wordpress/trunk@4527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-24 16:41:07 +00:00