Commit Graph

93 Commits

Author SHA1 Message Date
ryan e3895262ef Deprecate wp_clone(). Call clone directly. Props hakre. fixes #16813
git-svn-id: http://svn.automattic.com/wordpress/trunk@17613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-06 17:44:29 +00:00
nacin eb0c3c6419 Reference proper function equivalents in deprecated.php. props pross, fixes #15253.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-23 18:44:07 +00:00
ryan e8468d167a Revert get_users_of_blog() to 3.0 behavior and deprecate. Use get_users() in core. Props scribu. fixes #15854
git-svn-id: http://svn.automattic.com/wordpress/trunk@17084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 16:25:35 +00:00
ryan 2cc6b2e7ff phpdoc notation fixes. Props demetris. fixes #15852
git-svn-id: http://svn.automattic.com/wordpress/trunk@17009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-16 22:46:13 +00:00
scribu 42361800ad Correct cache invalidation in update_usermeta() and delete_usermeta(). Props mdawaffe. Fixes #15559
git-svn-id: http://svn.automattic.com/wordpress/trunk@16562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:47:52 +00:00
scribu d2a5add61a Deprecate update_category_cache(). Fixes #15446
git-svn-id: http://svn.automattic.com/wordpress/trunk@16412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 00:56:00 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
nacin 5a20c05d27 Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 11:21:11 +00:00
ryan 6ff179a805 is_* WP_Query methods. Props mdawaffe. fixes #14494
git-svn-id: http://svn.automattic.com/wordpress/trunk@15531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-25 18:05:33 +00:00
scribu 3a1d872cfd Move list table deprecated functions to wp-admin/includes/deprecated.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@15515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:33:56 +00:00
scribu 91a362c574 Deprecate get_hidden_columns(). Fixes #14651
git-svn-id: http://svn.automattic.com/wordpress/trunk@15514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-21 16:30:18 +00:00
scribu f01476fb54 Add register_column_headers() and print_column_headers() to deprecated.php to prevent fatal errors in plugins. See #14579
git-svn-id: http://svn.automattic.com/wordpress/trunk@15510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-19 00:26:48 +00:00
nacin 69b10a2948 Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15363 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-07-03 05:55:04 +00:00
nacin 1017822b6f Deprecated doc cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-28 10:11:41 +00:00
westi fae09eb1d1 Fell the dead wood. No point keeping a function as deprecated we only just introduced. See #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:55:08 +00:00
nacin 6310ca6f21 Don't use deprecated functions. props filosofo, fixes #13854.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 17:49:35 +00:00
ryan c614b6d0a2 Deprecate is_term, is_taxonomy, is_post_type for *_exists(). Props nacin. fixes #13747
git-svn-id: http://svn.automattic.com/wordpress/trunk@15220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-11 15:53:41 +00:00
nacin 1a4a30fcf1 Deprecate trackback_rdf(). fixes #11139
git-svn-id: http://svn.automattic.com/wordpress/trunk@13991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 10:04:56 +00:00
nacin 5f134c587e Deprecate funky_javascript_fix() and it's callback. fixes #12520.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-04-04 07:11:23 +00:00
nacin 8704bbf226 Restore accidental removal of get_usernumposts(). This function is now deprecated in favor of count_user_posts() for naming consistency. fixes #12642 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 01:11:21 +00:00
nacin d662f07784 Deprecate get_profile() for get_the_author_meta(). fixes #10695, props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 18:11:45 +00:00
nacin 8b4e58529b A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
dd32 9d54f38d89 Restore backwards compatibility in automatic_feed_links() to deregister the extra feeds. Props Viper007Bond. See #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 11:09:34 +00:00
dd32 f51247ef50 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: http://svn.automattic.com/wordpress/trunk@13398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-25 08:56:19 +00:00
nacin 8bcc5969dc Spelling and grammar fun. Fixes #11875 props cnorris23
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
ryan 9ab7306993 Remove author tags. fixes #12366
git-svn-id: http://svn.automattic.com/wordpress/trunk@13377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 19:07:21 +00:00
nacin 25883dca37 Ensure we're back compat with return values and actions in deprecated *_usermeta() family. See #10837
git-svn-id: http://svn.automattic.com/wordpress/trunk@13326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 09:15:47 +00:00
nacin 10ee577b12 Introduce *_user_meta() functions, deprecate *_usermeta() family. Fixes #10837 props scribu, technosailor.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:35:35 +00:00
nacin cd767cd7a8 Deprecate clean_url() for esc_url(). Fixes #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:25:51 +00:00
nacin 5656a345b9 Use esc_url() instead of clean_url(). See #12309
git-svn-id: http://svn.automattic.com/wordpress/trunk@13297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-22 18:15:10 +00:00
ryan dbfb51c6e0 Trim trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@13268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-21 00:03:42 +00:00
nacin 23918aa60d Introduce wpdb::tables() to fetch table names on a global or blog scope. Remove very old and long deprecated $table{table} globals, fixes #11614. See #12083
git-svn-id: http://svn.automattic.com/wordpress/trunk@13229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-19 19:57:03 +00:00
nacin eb22ca285f Move deprecated pre-2.8 widget API to deprecated.php. Deprecate register_sidebar_widget, unregister_sidebar_widget, register_widget_control, unregister_widget_control, in favor of their wp_* counterparts. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 07:55:28 +00:00
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