Commit Graph

64 Commits

Author SHA1 Message Date
Ryan Boren c8abb2071b In wp_list_bookmarks(), don't stomp the categorize argument. Fixes categorized display in the links widget.
fixes #22216


git-svn-id: https://develop.svn.wordpress.org/trunk@22910 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-28 23:19:03 +00:00
Andrew Nacin 5de1543fc4 Avoid notices with [22426]. props pross. fixes #22420.
git-svn-id: https://develop.svn.wordpress.org/trunk@22565 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 05:09:23 +00:00
Andrew Nacin 6e69cc9798 Display links if no link categories exist. props MikeHansenMe. fixes #22216.
git-svn-id: https://develop.svn.wordpress.org/trunk@22426 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-07 19:25:18 +00:00
Andrew Nacin 774a12be83 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: https://develop.svn.wordpress.org/trunk@21996 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-25 05:26:19 +00:00
Mark Jaquith ebcf49cf93 Bunch of PHPDoc corrections and cleanups. props c3mdigital. props SergeyBiryukov. fixes #21149
git-svn-id: https://develop.svn.wordpress.org/trunk@21241 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-09 05:03:53 +00:00
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 7cff2c4ae0 Refresh deprecated bookmark functions. Props filosofo. fixes #10920
git-svn-id: https://develop.svn.wordpress.org/trunk@12525 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 18:49:22 +00:00
Ryan Boren f4f70a6479 Prophylactic escapes
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Mark Jaquith ba1c3bdd5b Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()
git-svn-id: https://develop.svn.wordpress.org/trunk@11383 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 16:00:33 +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
Andrew Ozz 1741eb34e0 Add a space between image and name in bookmark-template.php, props sivel, fixes #8608
git-svn-id: https://develop.svn.wordpress.org/trunk@11184 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 02:23:40 +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 c892071f81 Links widget options. Props DD32. see #9196
git-svn-id: https://develop.svn.wordpress.org/trunk@10712 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-04 23:49:21 +00:00
Ryan Boren 6bc7377953 Update _walk_bookmarks phpdoc. Props brh and sivel. fixes #8607 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10207 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-16 07:54:17 +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 e36aee40d4 Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: https://develop.svn.wordpress.org/trunk@9590 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 17:45:38 +00:00
Ryan Boren aa0a8fcd36 Formatting cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@9410 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-30 04:07:24 +00:00
Ryan Boren fdcc463c3d wp_list_bookmarks should always show name if there is no image to show. Props mtdewvirus. fixes #7981
git-svn-id: https://develop.svn.wordpress.org/trunk@9366 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 16:23:07 +00:00
Ryan Boren d806f2e97d link_before and link_after from thee17. fixes #5652
git-svn-id: https://develop.svn.wordpress.org/trunk@9202 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 19:13:30 +00:00
Ryan Boren 83756cee0f Add show_name to wp_list_bookmarks(). Props Otto42. fixes #7847
git-svn-id: https://develop.svn.wordpress.org/trunk@9139 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 22:43:05 +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
Andrew Ozz bf798dda32 Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8463 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 19:56:08 +00:00
Ryan Boren edcde97e0f Add exclude_category argument to wp_list_bookmarks(). Props ionfish. fixes #6808
git-svn-id: https://develop.svn.wordpress.org/trunk@8183 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 17:44:30 +00:00
Peter Westwood c273f5e8d4 Add xoxo microformat markup to the blogroll. Fixes #4954 props Otto42.
git-svn-id: https://develop.svn.wordpress.org/trunk@8132 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-20 13:54:23 +00:00
Ryan Boren 408e467fd1 category_name is not a valid arg. Use name__like. Props drdavid. fixes #6722 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8104 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-16 22:19:34 +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 020a8cacad Use array calling style. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@7911 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 19:19:58 +00:00
Peter Westwood bf9ca290b2 '>"
git-svn-id: https://develop.svn.wordpress.org/trunk@6828 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 21:56:56 +00:00
Ryan Boren 1fbf72ada3 Add wp_list_bookmarks filter. Props codealsatian. fixes #5532
git-svn-id: https://develop.svn.wordpress.org/trunk@6822 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-13 18:47:34 +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 e25735041e Add documentation for bookmark-template.php. Fixes #5521 props darkdragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@6481 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-24 07:04:29 +00:00
Peter Westwood e097caa70c Fix some of the notices visible with WP_DEBUG enabled.
git-svn-id: https://develop.svn.wordpress.org/trunk@6436 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 21:25:12 +00:00
Ryan Boren 85a3aab65c Fix typo. fixes #5061
git-svn-id: https://develop.svn.wordpress.org/trunk@6161 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-24 01:48:36 +00:00
Ryan Boren 8e5f6a187e Add some filtering. Props jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@6160 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-23 19:25:15 +00:00
Ryan Boren dabc12fd93 Deprecate old links functions. Props rob1n. fixes #3413
git-svn-id: https://develop.svn.wordpress.org/trunk@6088 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-12 01:01:48 +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 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 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
Ryan Boren 3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +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
rob1n 5a4c2c68ad Add link rating to wp_list_bookmarks(). fixes #3916
git-svn-id: https://develop.svn.wordpress.org/trunk@5153 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 19:43:49 +00:00
Ryan Boren d64c69bcd4 Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 02:16:16 +00:00
Matt Mullenweg b1f6f9a6a8 (int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-23 00:59:21 +00:00
Mark Jaquith d8336eed5c 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: https://develop.svn.wordpress.org/trunk@5056 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-17 08:46:59 +00:00
Ryan Boren 0018169c02 Link filters from jhodgdon. fixes #3595
git-svn-id: https://develop.svn.wordpress.org/trunk@5011 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 01:13:49 +00:00
Ryan Boren 3de61ceeea Pass along all parameters to get_bookmarks(). Props Otto42. fixes #3898
git-svn-id: https://develop.svn.wordpress.org/trunk@4964 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-04 01:59:57 +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
Ryan Boren 04a3b1c246 Don't output ul when title_li is empty. Props m0n5t3r. fixes #3664
git-svn-id: https://develop.svn.wordpress.org/trunk@4800 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-25 02:02:21 +00:00
Mark Jaquith 31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00