Commit Graph

5644 Commits

Author SHA1 Message Date
ryan
7e294fd282 phpdoc for metadata API. Props wnorris. fixes #11943
git-svn-id: http://svn.automattic.com/wordpress/trunk@12761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:08:04 +00:00
ryan
a06a4c6b70 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 17:01:39 +00:00
wpmuguru
fe7b362bd1 options network page, db variable change, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:18:52 +00:00
ryan
e52de33dc2 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 23:34:36 +00:00
ryan
f7d7bc2dd0 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:21:36 +00:00
dd32
7f34057330 Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674. Fixes #11703
git-svn-id: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
markjaquith
e0872e840c Make it obvious that do_shortcode_tag passes the tag as the third parameter. plus code spacing cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 22:51:15 +00:00
dd32
45b2389358 Fix Typo in r12747, Move cURL Redirection check higher. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:31:37 +00:00
dd32
5c739a4b9c Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
git-svn-id: http://svn.automattic.com/wordpress/trunk@12748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 09:03:56 +00:00
dd32
b34906e9ec Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
git-svn-id: http://svn.automattic.com/wordpress/trunk@12747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:15:52 +00:00
dd32
8c109d738b Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
git-svn-id: http://svn.automattic.com/wordpress/trunk@12746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:05:58 +00:00
dd32
651925fe74 Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 08:00:41 +00:00
dd32
fc2c5fd21b Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: http://svn.automattic.com/wordpress/trunk@12741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:57:59 +00:00
dd32
f1bc3dde7b Fix wp_mkdir_p() when running under safe_mode on certain PHP versions. Props Denis-de-Bernardy. Fixes #8830
git-svn-id: http://svn.automattic.com/wordpress/trunk@12740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 02:44:47 +00:00
dd32
e85a09e8e9 Correctly set the body on Curl requests with an empty body. Add a defensive check to WP_Http_Encoding::decompress to prevent the decompression functions running on empty strings. Fixes #11912
git-svn-id: http://svn.automattic.com/wordpress/trunk@12739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 23:11:28 +00:00
ryan
f9a92c2588 Coding style cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:25:40 +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
ryan
439d50d655 Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: http://svn.automattic.com/wordpress/trunk@12732 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 22:03:41 +00:00
wpmuguru
432087e89e fix multisite object cache warnings, $table_prefix assignment, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 18:02:34 +00:00
ryan
933e511518 Support id=>parent in fields arg of get_terms. Returns array of parent ids keyed by the id of the child term.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 17:40:37 +00:00
ryan
61e1249bf0 Always set default timezone to UTC. Do offsets on top of that to be portable across all environments. fixes #9588 #11672 #11665
git-svn-id: http://svn.automattic.com/wordpress/trunk@12727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:39:11 +00:00
ryan
c6737c2f02 register_post_type(). see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 18:49:56 +00:00
dd32
da4b7d09c0 Add MP4 Audio Book format(.m4b) for uploads, Fix order of mimetypes. props demetris. fixes #11864
git-svn-id: http://svn.automattic.com/wordpress/trunk@12717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 10:06:02 +00:00
wpmuguru
591a31a664 add is_main_site() function, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:52:51 +00:00
ryan
0495192229 Make _get_term_hierarchy() query more efficient.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 20:12:04 +00:00
ryan
f4c3545fba Formatting cleanup. Props Simek. fixes #11876
git-svn-id: http://svn.automattic.com/wordpress/trunk@12709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 18:40:40 +00:00
ryan
c616e65733 Merge page.php into post.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 16:50:37 +00:00
azaozz
bfb5ac0d25 Safely include class-json.php, class-simplepie.php and class-snoopy.php, props alexkingorg, fixes #11827
git-svn-id: http://svn.automattic.com/wordpress/trunk@12705 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 13:22:43 +00:00
westi
6cab12999b @since version for wp_login_form. See #11172 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:33:28 +00:00
ryan
84ad379150 Formatting cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:30:21 +00:00
ryan
b4447f9f9c Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:23:58 +00:00
ryan
d24ac0a095 Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 22:08:49 +00:00
wpmuguru
7b64248bc8 merge in multisite login, wp-includes, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:49:40 +00:00
ryan
fd5266e0a9 wp_login_form(). Props beaulebens. see #11172
git-svn-id: http://svn.automattic.com/wordpress/trunk@12696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:48:43 +00:00
ryan
58d3776667 Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: http://svn.automattic.com/wordpress/trunk@12694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 19:27:44 +00:00
ryan
30181fd9ea Convert taxonomy children cache into a transient. fixes #11866
git-svn-id: http://svn.automattic.com/wordpress/trunk@12693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 18:53:52 +00:00
markjaquith
ffe9beca1d Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
git-svn-id: http://svn.automattic.com/wordpress/trunk@12692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 19:05:43 +00:00
markjaquith
145db4bad0 Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
git-svn-id: http://svn.automattic.com/wordpress/trunk@12691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:56:03 +00:00
wpmuguru
dbd245932d multi-site startup, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:10:51 +00:00
ryan
158b615cd2 phpdoc updates. Props sirzooro. fixes #11853
git-svn-id: http://svn.automattic.com/wordpress/trunk@12687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 15:50:17 +00:00
westi
90d3ce241c Pass $version to deprecated_argument_run action hook. See #11386.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 15:02:12 +00:00
ryan
b26dc3c874 Don't delete site transient if it doesn't have a timeout set. fixes #11844
git-svn-id: http://svn.automattic.com/wordpress/trunk@12684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 02:39:24 +00:00
ryan
25e152a58b Post type caps. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:23:14 +00:00
westi
bf4a5241e1 Add missing version numbers to _deprecated_argument() calls.
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
westi
03ed98ab17 _future_post_hook should not call _deprecated_argument() as it will always get that argument from the action it is hooked to. Fixes #11815 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 09:55:41 +00:00
azaozz
9a58ea0649 Fix height of input and link buttons for all latest browsers.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 08:51:24 +00:00
azaozz
1fd65dfefb Show error message in TB when iframes support is turned off in the browser, props nacin, fixes #10939
git-svn-id: http://svn.automattic.com/wordpress/trunk@12677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 01:17:45 +00:00
wpmuguru
4b8c87da92 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: http://svn.automattic.com/wordpress/trunk@12674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 21:25:01 +00:00
ryan
166435891c Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:49:55 +00:00
ryan
dea7019303 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:29:56 +00:00
ryan
34f9711beb Set result of insert
git-svn-id: http://svn.automattic.com/wordpress/trunk@12669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:09:04 +00:00
ryan
a581554d9a Use correct var name. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:07:40 +00:00
wpmuguru
45cf3431f2 db class compatible with WP, MU & multi site - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 19:26:00 +00:00
ryan
de5cecc69d Sanitize page template class. Props willmot. fixes #11722
git-svn-id: http://svn.automattic.com/wordpress/trunk@12664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:52:16 +00:00
azaozz
70d6691f15 Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655, fixes #10442
git-svn-id: http://svn.automattic.com/wordpress/trunk@12660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 13:06:17 +00:00
westi
cc30f8ad98 Introduce a single function for getting all the intermediate image sizes to be used both when adding attachements and deleting. Fixes #10263 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:51:12 +00:00
westi
4d0c9da793 Add support to get_terms() to allow 'include' & 'exclude' args to be arrays(). Fixes #11076 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 08:44:45 +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
azaozz
9532a2a4bb Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
git-svn-id: http://svn.automattic.com/wordpress/trunk@12654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 01:01:52 +00:00
westi
904b89dc9f Run the old WPMU random_password filter in wp_generate_password(). Fixes #11746 props uglyrobot.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:49:04 +00:00
ryan
0d31c12db6 Use update and insert. Props DD32. fixes #6836
git-svn-id: http://svn.automattic.com/wordpress/trunk@12652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 20:13:54 +00:00
ryan
083064e628 Revert extra bits that snuck in with [12650]
git-svn-id: http://svn.automattic.com/wordpress/trunk@12651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:55:48 +00:00
ryan
8c875db5b4 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: http://svn.automattic.com/wordpress/trunk@12650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 19:45:57 +00:00
ryan
53324a6983 Deprecate is_site_admin. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:50:46 +00:00
azaozz
40efc5b7f4 Check if VHOST is defined in get_id_from_blogname()
git-svn-id: http://svn.automattic.com/wordpress/trunk@12643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 10:52:21 +00:00
azaozz
36b2df4606 When decompressing try to raw-inflate first, props dd32, fixes #11600
git-svn-id: http://svn.automattic.com/wordpress/trunk@12642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 10:26:33 +00:00
westi
c30c392e91 Allow people to attach PHP 5.3 Closures to filters and actions. Fixes #10493 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 08:27:02 +00:00
westi
c7dae7d3be phpDoc for ms-deprecated.php props nacin.
Make generate_random_password use wp_generate_password()
Fixes #11746.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:32:44 +00:00
azaozz
633cdd43e9 Silence error if TB iframe is loaded from another domain, see #6883
git-svn-id: http://svn.automattic.com/wordpress/trunk@12634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 05:55:26 +00:00
ryan
adf017f6b9 Strip trailing whites from ms files. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan
43bfa1a300 Remove certain caps for non super admins when running multisite. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:05:53 +00:00
ryan
49cda5fdb6 Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 03:40:03 +00:00
ryan
ce33a91f95 Deprecate generate_random_password(). fixes #11746
git-svn-id: http://svn.automattic.com/wordpress/trunk@12624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:22:51 +00:00
ryan
eea7c0ee49 Better POST_BY_EMAIL logic. Props Denis-de-Bernardy. fixes #11752
git-svn-id: http://svn.automattic.com/wordpress/trunk@12623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 01:29:40 +00:00
ryan
fd475d2b38 s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
ryan
45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan
1a8bb6d244 Make *_site_option() multisite awate. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:57:35 +00:00
ryan
68073badbc Return true for all admin user is multisite is not enabled. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:39:40 +00:00
ryan
5ba4a05d29 Introduce is_super_admin(). see #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:27:22 +00:00
westi
53d810f260 Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
ryan
8a42022e27 Fix deprecate spelling. Props filosofo. fixes #11758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 20:05:44 +00:00
westi
336bec5923 Set svn-eolstyle on some files. See #11644.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 07:50:12 +00:00
westi
3a7520dfc3 Remove the gettext libs that accidentally got added back in. See #10890.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 07:44:25 +00:00
wpmuguru
d07d6c5717 Add mu only (inactive) files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00
wpmuguru
2920185dfb Adding multi-site settings code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-05 20:59:48 +00:00
ryan
ca59a472c8 Restore [10490], part of which was accidentally reverted.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-05 15:50:30 +00:00
ryan
ec8e347792 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
befa36c379 Mark 2nd param of load_plugin_textdomain() as deprecated. Fixes #11679 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 10:28:05 +00:00
ryan
d375ef7d54 Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
eccd0eb4be Don't pass deprecated argument to get_bloginfo() in get_index_rel_link() also observer user trailing slash preferences. Fixes #11607 props nacin and miqrogroove.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:08:23 +00:00
westi
9105b46360 Use _deprecated_argument() in get_bloginfo() and then don't pass deprecated argument to get_bloginfo(). Fixes #11652 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:05:02 +00:00
westi
0163da57c4 Don't pass deprecated argument to comments_number().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:54:28 +00:00
westi
bb827e82c6 Mark user levels as Deprecated. Fixes #10805 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:51:32 +00:00
westi
ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
azaozz
94dd7f757b Add more document file type extensions, props Otto42, dd32, hakre, fixes #7225
git-svn-id: http://svn.automattic.com/wordpress/trunk@12581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 07:59:33 +00:00
azaozz
82b0dfbb72 Attempt to detect the correct post enclosure mime type, props josephscott, fixes #11668
git-svn-id: http://svn.automattic.com/wordpress/trunk@12580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 07:36:17 +00:00
ryan
91c8fc90c0 Don't set charset if mysql version does not have the collation cap. Props miqrogroove. see #11666 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:34:12 +00:00
ryan
309afc8ad3 Return empty array instead of null. Props Denis-de-Bernardy. fixes #11661 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-29 21:11:18 +00:00