Commit Graph

5757 Commits

Author SHA1 Message Date
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
ryan e7bfd5f2dd Move current_screen setup before plugin page handling so it is defined for all cases. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 20:21:18 +00:00
ryan 05bf7382ff Merge edit-pages.php into edit.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 16:58:36 +00:00
wpmuguru 2653342f43 merge multisite wp-admin/includes except schema, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 00:21:13 +00:00
wpmuguru 04803e826d change ms-blogs.php refs to ms-sites.php, remove extraneous character, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:42:55 +00:00
wpmuguru e5b11f300a revert permission check in [12722], props ddebernardy, See #11894
git-svn-id: http://svn.automattic.com/wordpress/trunk@12724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 19:15:00 +00:00
dd32 41e561b941 Standardise WP_Filesystem_*::put_contents() arguments to support chmod reliably across all transports. Fixes #10889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 09:23:53 +00:00
wpmuguru 9d2762f279 merge wp-admin user, plugins, themes, upgrade , See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-14 02:02:19 +00:00
ryan ee1488ea60 RTL fix. Props yoavf. fixes #11886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:06:47 +00:00
ryan 0fbb0fd093 Revert line accidentally added during merge. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 19:04:30 +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
ryan b323e4b9e6 Typo fix. Props nacin. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-13 17:03:14 +00:00
wpmuguru 68eb3f5632 fix multisite logic in changeset 12712, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:51:41 +00:00
westi 2fabcf53fe Improve get_pending_comments_num() to be a little more predictable and revert the erroneous change in [12596]. See #11882.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 22:38:26 +00:00
wpmuguru 346f859e12 merge multisite admin - edit links,tags,cats,options, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 21:11:52 +00:00
ryan 6ce726545b Always use post.php for form action. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 19:03:03 +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
ryan 8e9f48b472 Allow per_page settings for custom post type edit screens. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:41:10 +00:00
ryan 252e24395f Make wp_edit_posts_query() more post_type aware. Use array calling style. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 15:23:10 +00:00
ryan a9ff034bf4 Remove file
git-svn-id: http://svn.automattic.com/wordpress/trunk@12704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:18:31 +00:00
ryan 66fce24ad1 Remove file
git-svn-id: http://svn.automattic.com/wordpress/trunk@12703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:17:55 +00:00
ryan 5316b4fc2d Merge page-new.php into post-new.php. Start abstracting column headers and prefs. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-12 00:14:27 +00:00
ryan ad30e86462 Merge edit-page-form.php into edit-form-advanced.php. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-11 21:42:45 +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
markjaquith 9ad08bb69f Enable custom taxonomy UI for pages as well as for posts. fixes #11290
git-svn-id: http://svn.automattic.com/wordpress/trunk@12690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 18:29:37 +00:00
ryan 2ff7f83b99 Add post_type inputs. Fix submenu highlighting. Props dd32. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-10 01:24:56 +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
wpmuguru 0ec6df5f61 remove hardcoded wp_ prefix, props ddebernardy, Fixes #11785
git-svn-id: http://svn.automattic.com/wordpress/trunk@12681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 19:19:55 +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
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 70c195833c Fix invalid HTML in edit-category-form.php, props nacin, fixes #11736 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 00:19:09 +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 0c95b3b457 Disable sitewide plugin actions that use unfiltered GET and generate warnings pending further scrutiny. see #11767
git-svn-id: http://svn.automattic.com/wordpress/trunk@12670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 20:15:22 +00:00
ryan 28677c6b00 Don't break UTF-8 strings in setup-config.php. Props SergeyBiryukov fixes #11821
git-svn-id: http://svn.automattic.com/wordpress/trunk@12663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:40:00 +00:00
ryan 26ade42134 Pass parent to category_exists(). Props thetoine. fixes #11825
git-svn-id: http://svn.automattic.com/wordpress/trunk@12662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 17:58:13 +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 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
azaozz eb130cc23e Optimize scan for lost attachments, props johnjosephbachir, fixes #10911
git-svn-id: http://svn.automattic.com/wordpress/trunk@12655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 05:23:22 +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
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 4c92a634a3 User is_super_admin(). Props GIGALinux. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 15:52:22 +00:00
westi a3e49fff6e Use like_escape to make safe search string for like queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 08:02:52 +00:00
westi f1e8a2107a Search using blog_id = blog_id not blog_id = search string . Fixes #11787 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:58:04 +00:00
azaozz d4a604aaad Bring over the site admin menu icon
git-svn-id: http://svn.automattic.com/wordpress/trunk@12638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:55:09 +00:00
westi d759368680 Ensure that apage and num cannot have negative values. Fixes #11786 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:54:15 +00:00