Commit Graph

5761 Commits

Author SHA1 Message Date
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
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 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
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
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
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 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 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 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
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
Ryan Boren 397ae0d74b Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12695 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:42:45 +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
Mark Jaquith 20c7f2963e Enable custom taxonomy UI for pages as well as for posts. fixes #11290
git-svn-id: https://develop.svn.wordpress.org/trunk@12690 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 18:29:37 +00:00
Ryan Boren 5656bbea87 Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12683 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-10 01:24:56 +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
Ron Rennick 00664f3d77 remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
git-svn-id: https://develop.svn.wordpress.org/trunk@12681 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 19:19:55 +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
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 cb0ee5b478 Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@12675 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 00:19:09 +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
Ryan Boren 71bef9fe26 Convert update_themes, update_plugins, update_core, and dismissed_update_core into site transients/plugins. Remove no longer need compat code.
git-svn-id: https://develop.svn.wordpress.org/trunk@12673 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:49:55 +00:00
Ryan Boren b153c75949 Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12672 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:29:56 +00:00
Ryan Boren 6a4dae4be0 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: https://develop.svn.wordpress.org/trunk@12670 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 20:15:22 +00:00
Ryan Boren f121906d10 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: https://develop.svn.wordpress.org/trunk@12663 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:40:00 +00:00
Ryan Boren 70c55846ac Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: https://develop.svn.wordpress.org/trunk@12662 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 17:58:13 +00:00
Peter Westwood b5a43efa73 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: https://develop.svn.wordpress.org/trunk@12659 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:51:12 +00:00
Peter Westwood 2a93c55f43 Switch to passing arrays instead of query strings to functions. Fixes #6647 props filosofo and hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@12657 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 08:34:39 +00:00
Andrew Ozz f3a95270ad Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: https://develop.svn.wordpress.org/trunk@12655 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 05:23:22 +00:00
Andrew Ozz 4b7556c1db Don't let "Crunching" overlap image name while uploading, props hakre, fixes #11447
git-svn-id: https://develop.svn.wordpress.org/trunk@12654 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 01:01:52 +00:00
Ryan Boren 7b580bf8e8 Use update and insert. Props DD32. fixes #6836
git-svn-id: https://develop.svn.wordpress.org/trunk@12652 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 20:13:54 +00:00
Ryan Boren 7e6f603296 Revert extra bits that snuck in with [12650]
git-svn-id: https://develop.svn.wordpress.org/trunk@12651 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:55:48 +00:00
Ryan Boren d93a81bd35 Assume current user of user ID is not passed. Props filosofo. fixes #11808
git-svn-id: https://develop.svn.wordpress.org/trunk@12650 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 19:45:57 +00:00
Ryan Boren aff9330640 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12646 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-07 15:52:22 +00:00