Commit Graph

5860 Commits

Author SHA1 Message Date
ryan
06f947e804 Fix taxonomy check so categories show in post quick edit. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 18:27:26 +00:00
ryan
4ba525986a Update new page link. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 17:59:06 +00:00
wpmuguru
bb8c644797 Fix table prefix on upgrade for 3.0 main site, Fixes #11970
git-svn-id: http://svn.automattic.com/wordpress/trunk@12808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-23 00:33:10 +00:00
ryan
3609f388f5 Introduce update_blog_details(). Add some phpdoc. Fix some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 23:35:59 +00:00
ryan
5cfb383abe Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:38:43 +00:00
ryan
f221b0cfdc Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:34:54 +00:00
ryan
4f04aad2db Remove raquo. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:30:52 +00:00
ryan
902bfdba21 Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:28:48 +00:00
ryan
4b6278340c Fix warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:27:26 +00:00
ryan
96b459d0b4 Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 22:14:22 +00:00
ryan
56fc7d5471 Set proper class so quick edit works. Props nacin. fixes #11977
git-svn-id: http://svn.automattic.com/wordpress/trunk@12799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 21:46:35 +00:00
ryan
b1b44019ff Create metaboxes for hierarchical taxonomies. Props prettyboymp. fixes #10122
git-svn-id: http://svn.automattic.com/wordpress/trunk@12798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 19:30:05 +00:00
ryan
a731cbed8e Introduce set_current_screen(). Set current screen for inline edit ajax requests so post rows can be properly displayed. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 18:27:54 +00:00
ryan
92bf8d124c Introduce WP_User::for_blog() and current_user_can_for_blog() to avoid calls to WP_User::_init_caps(). fixes #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 17:27:28 +00:00
dd32
4e5292e08f Optimised unzip_file(), reduces is_dir() IO calls. See #10779
git-svn-id: http://svn.automattic.com/wordpress/trunk@12794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-22 11:02:09 +00:00
ryan
94859834fc i18n fixes. Props nbachiyski. fixes #11954
git-svn-id: http://svn.automattic.com/wordpress/trunk@12789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 21:37:43 +00:00
ryan
9559d58e67 Typo fix. Props nacin. fixes #11715
git-svn-id: http://svn.automattic.com/wordpress/trunk@12788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 20:31:21 +00:00
wpmuguru
2f3f5b351f allow www installs to enable multisite, see #11945
git-svn-id: http://svn.automattic.com/wordpress/trunk@12787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 17:20:23 +00:00
wpmuguru
3c70028227 add real parent file for wpmu-admin.php, fixes #11961
git-svn-id: http://svn.automattic.com/wordpress/trunk@12786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 16:03:29 +00:00
ryan
5ebbe4bad2 Sanitize translation of default post slug. Props nbachiyski. fixes #11952
git-svn-id: http://svn.automattic.com/wordpress/trunk@12784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 07:19:23 +00:00
ryan
decf135295 Update trash and right now links for pages. fixes #11958
git-svn-id: http://svn.automattic.com/wordpress/trunk@12783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-21 06:53:33 +00:00
ryan
74a86506f6 Clear some warnings. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 23:01:09 +00:00
ryan
4ef834c4b1 Screen icons for site admin pages. Using temp icon until new ones are done. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:35:21 +00:00
ryan
f05930b979 Print footer instead of dying immediately. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:11:02 +00:00
ryan
6b0f3a88d5 Start adding gettext to options-network. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 22:08:50 +00:00
ryan
c679e65c9c Add email and login dupe checking down into wp_insert_user(). Tidy up user-new.php. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 21:58:13 +00:00
wpmuguru
0d6a380bd2 make server address in network settings a label, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:42:20 +00:00
ryan
af9c401d97 Deprecate wp_install_blog_defaults(). Use wp_install_defaults() instead. fixes #11747 see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 20:09:41 +00:00
wpmuguru
629dcd1861 set default empty message, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 18:25:08 +00:00
ryan
9aa40449a9 Use update. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 16:50:09 +00:00
wpmuguru
515d1354da sync single and multisite cookie hash, remove extraneous code, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-20 01:14:05 +00:00
ryan
aac0a1230a Use API to set the user's role. see #11781
git-svn-id: http://svn.automattic.com/wordpress/trunk@12770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:12:04 +00:00
wpmuguru
5c5be8cd43 add multisite theme admin, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 20:03:11 +00:00
ryan
89c4e9f15d Use SimplePie in admin_notice_feed(). Props garyc40. fixes #11765
git-svn-id: http://svn.automattic.com/wordpress/trunk@12767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:33:21 +00:00
ryan
57c4b79b91 Introduce clean_user_cache(). fixes #11761
git-svn-id: http://svn.automattic.com/wordpress/trunk@12766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 19:23:11 +00:00
ryan
7f699e5857 Remove mu_dashboard(). Rely on cap checks to customize dash for multisite.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:15:53 +00:00
ryan
9746d095d5 Remove disable_some_pages(). Rely on cap checks. fixes #11770
git-svn-id: http://svn.automattic.com/wordpress/trunk@12764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 18:11:33 +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
ryan
a7e588ae16 Formatting cleanups
git-svn-id: http://svn.automattic.com/wordpress/trunk@12759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 16:14:06 +00:00
dd32
92b9b61c78 Fix is_multisite() typo. See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 10:59:43 +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
wpmuguru
fca602d414 implement multisite schema, upgrade, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-19 00:04:25 +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
d0e599c50b Fix inverted logic. phpdoc update. Props nacin. fixes #11935
git-svn-id: http://svn.automattic.com/wordpress/trunk@12754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 22:34:16 +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
ryan
8760e7da1b Coding standards, space after if
git-svn-id: http://svn.automattic.com/wordpress/trunk@12752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 20:34:48 +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
dd32
32ac56eaa8 Always set a goback link on upgrade page. Props filosofo. Fixes #10986
git-svn-id: http://svn.automattic.com/wordpress/trunk@12744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:38:27 +00:00
dd32
97c8150bbd Correct the Theme update package check. Props Denis-de-Bernardy. Fixes #11908 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 07:04:31 +00:00
dd32
72ffe9d28b Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640
git-svn-id: http://svn.automattic.com/wordpress/trunk@12742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-17 03:26:50 +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
westi
795ce48b83 Ensure that inaccessible parent menus are marked as such even if they have accessible children. See #11922.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-16 22:59:27 +00:00
ryan
c2873bbab3 Coding style
git-svn-id: http://svn.automattic.com/wordpress/trunk@12736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-15 23:49:09 +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
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