Commit Graph

109 Commits

Author SHA1 Message Date
nacin b76d0dc22e Deprecate old l10n and sanitization APIs. Deprecate __ngettext() for _n(), __ngettext_noop() for _n_noop(), translate_with_context() for _x(). Deprecate sanitize_url for esc_url_raw, js_escape for esc_js, wp_specialchars for esc_html, attribute_escape for esc_attr. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:28:19 +00:00
nacin fd5f785cce 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: http://svn.automattic.com/wordpress/trunk@13093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:39:51 +00:00
ryan 1b98b9c106 Move deprecated admin functions to wp-admin/includes/deprecated.php. Props nacin. fixes #12024
git-svn-id: http://svn.automattic.com/wordpress/trunk@12871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 14:10:32 +00:00
ryan 6da55f7792 Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:11:12 +00:00
westi f05ee1844f Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:34:39 +00:00
westi 9e4d80b259 Deprecate get_alloptions(). Fixes #4915 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:29:55 +00:00
ryan 2ecdf4550f Set the version of WP a function was deprecated in for all deprecated functions. Props nacin, docwhat. fixes #7493
git-svn-id: http://svn.automattic.com/wordpress/trunk@12526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:54:17 +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 cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
westi 10a6d0e916 Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
westi 6ba5006153 Mark _c() as Deprecated people should use the new _x() instead. Fixes #11225.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 12:07:41 +00:00
ryan d6bd539813 Deprecate make_url_footnote(). fixes #4968
git-svn-id: http://svn.automattic.com/wordpress/trunk@12203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 21:11:24 +00:00
ryan bf96c01551 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
ryan 5224680c4d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
ryan 2df887bd07 Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +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
ryan 5b8b047b79 Add the_author_aim() to deprecated. see #8776
git-svn-id: http://svn.automattic.com/wordpress/trunk@11269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-11 17:56:34 +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
ryan cd77f8c3a5 get_the_author_meta() and the_author_meta(). Props DD32, thee17. fixes #8776
git-svn-id: http://svn.automattic.com/wordpress/trunk@11138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-30 16:27:17 +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 6ecb1077d7 Deprecae get_catname(). Props filosofo. fixes #9550
git-svn-id: http://svn.automattic.com/wordpress/trunk@10959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 22:03:45 +00:00
ryan bf0796d4f8 Deprecate get_category_children(). Props filosofo. fixes #9007
git-svn-id: http://svn.automattic.com/wordpress/trunk@10703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-04 19:53:17 +00:00
azaozz 1c9353ad2e Cleanup js files and prepare for concatenating, move most inline js to files
git-svn-id: http://svn.automattic.com/wordpress/trunk@10348 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-12 13:43:17 +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
ryan 1b0bfced2e XML-RPC comments API. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 22:29:37 +00:00
ryan 4cd0c96d03 Fix get_links_list deprecation doc. Props Otto42. fixes #6879
git-svn-id: http://svn.automattic.com/wordpress/trunk@8285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-08 17:38:12 +00:00
ryan 04c9051a7d Remove trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-02 20:17:30 +00:00
ryan c516aa6a42 Add gzip_compression() stub in case someone actually uses it.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-13 11:21:09 +00:00
ryan 1edf014a54 s/2.4/2.5/. Props ffemtcj. fixes #5810
git-svn-id: http://svn.automattic.com/wordpress/trunk@6777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-10 07:59: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
ryan 1ae1811dd0 Unused var cleanup. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 19:36:34 +00:00
westi bce8c48d72 Deprecate comments_rss and create_user.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:47:54 +00:00
westi d49cece4a3 Mark functions and files as deprecated. Fixes #4361 props docwhat and darkdragon
git-svn-id: http://svn.automattic.com/wordpress/trunk@6514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-28 21:17:42 +00:00
ryan dd17ae4da8 phpdoc for deprecated funcs. Props darkdragon. fixes #5444
git-svn-id: http://svn.automattic.com/wordpress/trunk@6370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-10 18:52:24 +00:00
ryan 83afcae858 New feed_link functions. Deprecate rss_link functions. Make default feed pluggable. Props rubys. see #5328
git-svn-id: http://svn.automattic.com/wordpress/trunk@6365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:58:15 +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 9b395107f4 Deprecate permalink_single_rss(). Add the_permalink_rss() with accompanying filter. Props joostdevalk and Otto42. fixes #4654
git-svn-id: http://svn.automattic.com/wordpress/trunk@5910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-08-21 18:27:45 +00:00
markjaquith 6a41f63aae permalink_link() is deprecated, and should reference its replacement.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-28 04:39:40 +00:00
ryan ee5ec0c505 Fix up exporter. Remove more refrences to the categories table. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-27 19:32:45 +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
markjaquith f09853fd9c Tending the graveyard. Memento mori.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-23 09:15:17 +00:00
ryan c7e3649d78 Add some back compat files and vars. Use is deprecated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-13 21:23:41 +00:00
ryan 741ea65d3b Fix list cats style arg. Props Dickie. fixes #3552
git-svn-id: http://svn.automattic.com/wordpress/trunk@4713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-10 09:19:02 +00:00
ryan 9f534ebae6 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-11-19 07:56:05 +00:00
ryan b8921bfac8 Typo fix. Props schulte. fixes #3087
git-svn-id: http://svn.automattic.com/wordpress/trunk@4145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-31 00:10:59 +00:00
ryan 849a0d29d7 Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:46:31 +00:00
ryan a22a9f25c3 Deprecate link_pages(). Clean up wp_link_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 21:00:37 +00:00
ryan d71d2abfc7 Deprecate get_author_link(). Add get_author_posts_url() and the_author_link(). Props Viper007Bond and westi. fixes #2423
git-svn-id: http://svn.automattic.com/wordpress/trunk@4139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-08-30 18:07:49 +00:00
ryan 9d33ab78dc Use compact instead of long query string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-30 01:11:42 +00:00
ryan 49e390d402 Use wp_list_categories() in templates.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-17 00:05:00 +00:00
ryan ab541ae071 wp_get_archives() cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-15 20:28:47 +00:00
ryan 0585475e02 Deprecate wp_get/set_post_cats() in favor of wp_get/set_post_categories().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 05:04:41 +00:00
ryan db3a022631 Deprecate list_authors(). Clean up wp_list_authors().
git-svn-id: http://svn.automattic.com/wordpress/trunk@3848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-06 04:50:41 +00:00
ryan 4d49e98fe4 Script loader from mdawaffe. #2701
git-svn-id: http://svn.automattic.com/wordpress/trunk@3788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-05-22 17:16:05 +00:00
ryan 150bb1dcee Normalize argument names.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-03 21:38:36 +00:00
ryan 36adfa7d1c Add wp_dropdown_categories(). Deprecate dropdown_categories(). Add wp_list_categories() and make wp_list_cats() an alias.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 04:51:24 +00:00
ryan 263088e1a8 Actually move these this time. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:31:43 +00:00
ryan ca92bb4311 Move deprecated functions to deprecated.php. #2520
git-svn-id: http://svn.automattic.com/wordpress/trunk@3589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-02 03:27:48 +00:00