nacin
5a4f7349e8
Can haz recursion? get_current_theme() is deprecated in favor of wp_get_theme(), not itself. props duck_. see #20138 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:22:16 +00:00
nacin
a8d45a288f
Deprecate get_current_theme(). Use (string) wp_get_theme() to get the translated name of the theme. Keep the current_theme option for now. see #20103 , see #20138 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 20:07:22 +00:00
nacin
d130a63e25
Introduce WP_Theme, wp_get_themes(), and wp_get_theme() to replace get_themes(), get_theme(), get_theme_data(), current_theme_info(), and others.
...
* Getters and Helpers: Introduces a series of methods to allow for easy generation of headers for display, and other theme metadata, including page templates.
* Screenshots: Handles support for multiple screenshots. (see # Additional screenshots must be PNG and start with screenshot-2.png, and be sequential to be counted. see #19816 .
* Error Handling: Broken themes have a WP_Error object attached to them.
* Caching: Introduces a wp_cache_themes_persistently filter (also in [20020]) to enable persistent caching of all filesystem and sanitization operations normally handled by WP_Theme (and formerly get_file_data() and get_themes()). Themes are cached individually and across five different cache keys for different data pieces.
* Compatibility: A WP_Theme object is backwards compatible with a theme's array formerly returned by get_themes() and get_theme(), and an stdClass object formerly returned by current_theme_info().
* i18n/L10n: Theme headers are now localizable with proper Text Domain and Domain Path headers, like plugins. (Language packs may remove the requirement for headers.) For page templates, see #6007 (not fixed yet, but will be easy now). For headers, fixes #15858 .
* PHP and CSS files: New methods that fetch a list of theme files (for the theme editor) only on demand, rather than only loading them into memory. fixes #11214 .
Functions deprecated:
* get_themes(), get_allowed_themes() and get_broken_themes() -- use wp_get_themes()
* get_theme() and current_theme_info() -- use wp_get_theme()
* get_site_allowed_themes() -- use WP_Theme::get_allowed_on_network()
* wpmu_get_blog_allowedthemes() -- use WP_theme::get_allowed_on_site()
see also [20016], [20018], [20019], [20020], [20021], [20022], [20025], [20026], [20027]. also fixes #19244 .
see #20103 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@20029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 21:24:44 +00:00
ryan
d910c26182
Pinking shears 6-20000
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-27 19:46:52 +00:00
nacin
aefde50081
Deprecate ancient "debugging" tools.
...
* logIO() and the global $xmlrpc_logging in XML-RPC.
* log_app() and the global $app_logging in APP.
* debug_fwrite(), debug_fopen(), debug_fclose(), and $debug.
see #20051 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@19935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-17 00:02:42 +00:00
ryan
616c35e71c
One newline is enough.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-05 20:10:39 +00:00
nacin
a7c296dd47
Move WP_Editor to a _WP_Editors encapsulation.
...
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
* TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
* Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
ryan
b957c72f9a
Turn is_blog_user() into a wrapper around is_user_member_of_blog() and deprecate. Make user_id optional for is_user_member_of_blog(). Props SergeyBiryukov. fixes #16702
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-19 22:35:15 +00:00
markjaquith
9e80bec002
Always pass the post ID as the second argument to the the_title filter. props GaryJ. fixes #16688
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-06 21:09:37 +00:00
ryan
32e25b6aec
phpdoc typo and readability fixes. Props SergeyBiryukov. fixes #18560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 22:57:43 +00:00
koopersmith
834dc9ff5e
Admin bar UX improvements. First pass, see #18197
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-16 05:01:54 +00:00
nacin
a96e0dff91
Remove support for <link rel=start>, end, up, and index. These rel="" values have been dropped by the HTML Working Group. props Elpie, kawauso, fixes #18128 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-15 16:54:59 +00:00
duck_
e4ed63fc6f
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-03 16:02:41 +00:00
ryan
0f06334e11
Introduce metadata_exists(), WP_User::get_data_by(), WP_User::get(), WP_User::has_prop(). Don't fill user objects with meta. Eliminate data duplication in cache and memory. Props scribu. see #15458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-24 19:32:59 +00:00
azaozz
f634dd5af4
Editor API enhancement, first run (still needs some work), see #17144
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00
azaozz
b3204a0b60
Bring back wp_localize_script(), see #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-31 09:11:24 +00:00
azaozz
21058cf460
Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-25 00:36:06 +00:00
ryan
daa14c36f9
Bring out the pinking shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 23:01:45 +00:00
ryan
f9b418a2f9
Move wp_clone() back to load.php. Props technosailor. fixes #17206
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 17:46:02 +00:00
ryan
8f8b8d16a7
Remove PHP4 timezone support. Props hakre. fixes #16970
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-13 17:30:02 +00:00
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