Commit Graph

24 Commits

Author SHA1 Message Date
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 f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +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 181d28cd9a If link name not given, use url for name. Props Denis-de-Bernardy. fixes #7789 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10414 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-22 22:47:34 +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
Mark Jaquith 53fe2dd063 Code cleanup for wp-admin/includes/bookmark.php
git-svn-id: https://develop.svn.wordpress.org/trunk@9659 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-13 07:17:40 +00:00
Ryan Boren f885a9f93a phpdoc for wp-admin/includes from jacobsantos. see #7527
git-svn-id: https://develop.svn.wordpress.org/trunk@9053 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 01:03:26 +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
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren cbcc62a5b2 Strip slashes before preparing link for insert. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7693 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 05:55:27 +00:00
Ryan Boren fdc05b24f6 Prepare DB queries in more places. Props filosofo. see #6644
git-svn-id: https://develop.svn.wordpress.org/trunk@7645 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-14 16:13:25 +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 c644e7c0bc Add privacy and preview to edit link submitbox
git-svn-id: https://develop.svn.wordpress.org/trunk@6935 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-20 08:06:03 +00:00
Ryan Boren 029a74ca44 Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 06:37:30 +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 7df77b79b9 Add some taxonomy validation. Rearrange funcs.
git-svn-id: https://develop.svn.wordpress.org/trunk@5726 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-19 00:33:44 +00:00
Ryan Boren 240cfc467c EXTR_SKIP. See #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5712 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-15 17:30:37 +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 67013eb065 Separate AJAX cat adder into post and link flavors. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5637 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 02:53:09 +00:00
Ryan Boren 921a17e6a0 Return true when deleting link to satisfy admin-ajax error check. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5564 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 19:43:44 +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 b41b02db5d Fix object term relationship deletion and count updating.
git-svn-id: https://develop.svn.wordpress.org/trunk@5556 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-27 05:15:18 +00:00
Ryan Boren 09f70467e0 Admin includes reorg. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5542 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-25 07:16:21 +00:00