Commit Graph

5596 Commits

Author SHA1 Message Date
Ryan Boren 640c04fbe2 Typo fix. Props mentel_br. fixes #11921
git-svn-id: https://develop.svn.wordpress.org/trunk@12763 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:28:48 +00:00
Ryan Boren a279ade5a0 phpdoc for load.php, return some includes to global scope. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12762 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:27:03 +00:00
Ryan Boren fa345f7f2c phpdoc for metadata API. Props wnorris. fixes #11943
git-svn-id: https://develop.svn.wordpress.org/trunk@12761 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:08:04 +00:00
Ryan Boren 59d31d8c5e Formatting cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12760 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 17:01:39 +00:00
Ron Rennick cb779b4655 options network page, db variable change, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12757 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-19 00:18:52 +00:00
Ryan Boren ee5efb4187 Multisite and formatting cleanups. Introduce get_allowed_themes(). see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12755 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 23:34:36 +00:00
Ryan Boren f260b32d25 Use cap checks instead of multisite and super admin checks. Add some new caps. Merge cleanup. see #11644.
git-svn-id: https://develop.svn.wordpress.org/trunk@12753 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 22:21:36 +00:00
Dion Hulse 333b3c517c 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: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 11:44:51 +00:00
Mark Jaquith aafd7c6db9 Make it obvious that do_shortcode_tag passes the tag as the third parameter. plus code spacing cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@12750 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 22:51:15 +00:00
Dion Hulse bc0c67ff87 Fix Typo in r12747, Move cURL Redirection check higher. See #11305
git-svn-id: https://develop.svn.wordpress.org/trunk@12749 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 09:31:37 +00:00
Dion Hulse 5c64824b2e Allow WP_HTTP_Fopen to send extra headers and custom user-agents. See #11888
git-svn-id: https://develop.svn.wordpress.org/trunk@12748 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 09:03:56 +00:00
Dion Hulse f1cad2c2ae Allow cURL to follow redirects when running under safe_mode or open_basedir. See #11305
git-svn-id: https://develop.svn.wordpress.org/trunk@12747 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:15:52 +00:00
Dion Hulse ebcae35244 Fix WP_Http_Streams to return a single set of headers in the event of redirections. Fixes #11555
git-svn-id: https://develop.svn.wordpress.org/trunk@12746 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:05:58 +00:00
Dion Hulse e988455155 Bring WP_Http_Streams maximum redirection into line with the rest of the transports. Fixes #11557
git-svn-id: https://develop.svn.wordpress.org/trunk@12745 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 08:00:41 +00:00
Dion Hulse ee11169862 Fix WP_Filesystem_Direct::mkdir() when running under safe_mode on certain versions of PHP. Props remi. Fixes #10497
git-svn-id: https://develop.svn.wordpress.org/trunk@12741 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:57:59 +00:00
Dion Hulse 95166aa0cf Fix wp_mkdir_p() when running under safe_mode on certain PHP versions. Props Denis-de-Bernardy. Fixes #8830
git-svn-id: https://develop.svn.wordpress.org/trunk@12740 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 02:44:47 +00:00
Dion Hulse f44d88c4e1 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: https://develop.svn.wordpress.org/trunk@12739 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-16 23:11:28 +00:00
Ryan Boren 3dfc463062 Coding style cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@12734 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:25:40 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 42292a8c4d Cleanup wp-settings. Move functions needed at startup into load.php. Props nacin. see #11881
git-svn-id: https://develop.svn.wordpress.org/trunk@12732 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:03:41 +00:00
Ron Rennick 4239e6ef01 fix multisite object cache warnings, $table_prefix assignment, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12730 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 18:02:34 +00:00
Ryan Boren 85de154ee3 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: https://develop.svn.wordpress.org/trunk@12729 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 17:40:37 +00:00
Ryan Boren 2f72315628 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: https://develop.svn.wordpress.org/trunk@12727 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:39:11 +00:00
Ryan Boren 105573a2f9 register_post_type(). see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12719 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 18:49:56 +00:00
Dion Hulse 76349e9b09 Add MP4 Audio Book format(.m4b) for uploads, Fix order of mimetypes. props demetris. fixes #11864
git-svn-id: https://develop.svn.wordpress.org/trunk@12717 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 10:06:02 +00:00
Ron Rennick 4b4316bdf8 add is_main_site() function, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12714 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:52:51 +00:00
Ryan Boren 60b50434bd Make _get_term_hierarchy() query more efficient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12711 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 20:12:04 +00:00
Ryan Boren 1a7bd827e8 Formatting cleanup. Props Simek. fixes #11876
git-svn-id: https://develop.svn.wordpress.org/trunk@12709 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 18:40:40 +00:00
Ryan Boren 9b510ecec4 Merge page.php into post.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12708 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 16:50:37 +00:00
Andrew Ozz 156b5d27c3 Safely include class-json.php, class-simplepie.php and class-snoopy.php, props alexkingorg, fixes #11827
git-svn-id: https://develop.svn.wordpress.org/trunk@12705 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 13:22:43 +00:00
Peter Westwood 72bc28a2ad @since version for wp_login_form. See #11172 props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@12701 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:33:28 +00:00
Ryan Boren 10f2b3a02e Formatting cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12700 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:30:21 +00:00
Ryan Boren 37d1acae71 Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:23:58 +00:00
Ryan Boren a6798b1fb6 Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12698 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:08:49 +00:00
Ron Rennick 8b4fbdb503 merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +00:00
Ryan Boren 234f4f0025 wp_login_form(). Props beaulebens. see #11172
git-svn-id: https://develop.svn.wordpress.org/trunk@12696 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:48:43 +00:00
Ryan Boren c64564251a Show custom hierarchical taxonomies in the menus. Props dd32. see #11838
git-svn-id: https://develop.svn.wordpress.org/trunk@12694 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 19:27:44 +00:00
Ryan Boren 32bfcc6aa8 Convert taxonomy children cache into a transient. fixes #11866
git-svn-id: https://develop.svn.wordpress.org/trunk@12693 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 18:53:52 +00:00
Mark Jaquith 2d9af20cc3 Do not fire the redirect_canonical filter if the redirect_url is empty. fixes #11700
git-svn-id: https://develop.svn.wordpress.org/trunk@12692 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 19:05:43 +00:00
Mark Jaquith 7263a46dae Do proper canonical redirect for ?paged=1 or /page/1/. fixes #11696
git-svn-id: https://develop.svn.wordpress.org/trunk@12691 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:56:03 +00:00
Ron Rennick b7710fdf5a multi-site startup, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12688 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:10:51 +00:00
Ryan Boren 45b15868ca phpdoc updates. Props sirzooro. fixes #11853
git-svn-id: https://develop.svn.wordpress.org/trunk@12687 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:50:17 +00:00
Peter Westwood d71468418b Pass $version to deprecated_argument_run action hook. See #11386.
git-svn-id: https://develop.svn.wordpress.org/trunk@12686 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 15:02:12 +00:00
Ryan Boren 9a9700dff4 Don't delete site transient if it doesn't have a timeout set. fixes #11844
git-svn-id: https://develop.svn.wordpress.org/trunk@12684 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 02:39:24 +00:00
Ryan Boren c4c46a3070 Post type caps. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12682 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:23:14 +00:00
Peter Westwood 2e2ad12171 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: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Peter Westwood 713ef64d69 _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: https://develop.svn.wordpress.org/trunk@12679 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 09:55:41 +00:00
Andrew Ozz 1ef5b387cf Fix height of input and link buttons for all latest browsers.
git-svn-id: https://develop.svn.wordpress.org/trunk@12678 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 08:51:24 +00:00
Andrew Ozz abb39f0c99 Show error message in TB when iframes support is turned off in the browser, props nacin, fixes #10939
git-svn-id: https://develop.svn.wordpress.org/trunk@12677 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 01:17:45 +00:00
Ron Rennick 436316a4a8 Add is_subdomain_install() to ms code - Fixes #11796
git-svn-id: https://develop.svn.wordpress.org/trunk@12674 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 21:25:01 +00:00