Commit Graph

11338 Commits

Author SHA1 Message Date
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 27ef947141 Always set a goback link on upgrade page. Props filosofo. Fixes #10986
git-svn-id: https://develop.svn.wordpress.org/trunk@12744 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 07:38:27 +00:00
Dion Hulse a9ecf3f4be Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12743 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 07:04:31 +00:00
Dion Hulse 97fb7fdd8b Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
git-svn-id: https://develop.svn.wordpress.org/trunk@12742 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-17 03:26:50 +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
Peter Westwood 2406039676 Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922.
git-svn-id: https://develop.svn.wordpress.org/trunk@12738 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-16 22:59:27 +00:00
Ryan Boren 6e875ec562 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12736 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:49:09 +00:00
Ryan Boren 20d3a58ee1 Coding style
git-svn-id: https://develop.svn.wordpress.org/trunk@12735 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 23:40:29 +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
Ryan Boren 482284d02f Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12731 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 20:21:18 +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 b74bea8a2c Merge edit-pages.php into edit.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12728 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 16:58:36 +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
Ron Rennick 542f2132ab merge multisite wp-admin/includes except schema, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12726 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 00:21:13 +00:00
Ron Rennick 0e3e18c7f2 change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12725 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:42:55 +00:00
Ron Rennick d8da09f8f7 revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: https://develop.svn.wordpress.org/trunk@12724 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 19:15:00 +00:00
Dion Hulse 76592af8d8 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: https://develop.svn.wordpress.org/trunk@12723 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 09:23:53 +00:00
Ron Rennick c1f8977b95 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12722 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-14 02:02:19 +00:00
Ryan Boren 648f4516a1 RTL fix. Props yoavf. fixes #11886
git-svn-id: https://develop.svn.wordpress.org/trunk@12721 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 19:06:47 +00:00
Ryan Boren 31a41551ae Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12720 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 19:04:30 +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
Ryan Boren aa1f90af53 Typo fix. Props nacin. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12718 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-13 17:03:14 +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 f0dbd19696 fix multisite logic in changeset 12712, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12716 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:51:41 +00:00
Peter Westwood 60d271287e Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: https://develop.svn.wordpress.org/trunk@12715 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 22:38:26 +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
Peter Westwood f3096d0ecb Tidy up the mu-plugins loading code to make it more readable.
Fix a couple of other tab/whitespace issues.

git-svn-id: https://develop.svn.wordpress.org/trunk@12713 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:28:33 +00:00
Ron Rennick d0f31a991c merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12712 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 21:11:52 +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 aa053ad0cc Always use post.php for form action. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12710 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 19:03:03 +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
Ryan Boren 2a68d3919d Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12707 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:41:10 +00:00
Ryan Boren 0e4bc929a1 Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12706 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 15:23:10 +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
Ryan Boren 13c187210d Remove file
git-svn-id: https://develop.svn.wordpress.org/trunk@12704 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:18:31 +00:00
Ryan Boren e26302b030 Remove file
git-svn-id: https://develop.svn.wordpress.org/trunk@12703 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:17:55 +00:00
Ryan Boren 4e3864bd28 Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12702 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-12 00:14:27 +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