Commit Graph

1608 Commits

Author SHA1 Message Date
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
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
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
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
westi
197cdd2bbb Switch from create_function to a fixed function for the plugin page activation admin notice. Fixes #11763 props dd32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 07:41:13 +00:00
ryan
04c6f96f3f Include ms.php if multisite
git-svn-id: http://svn.automattic.com/wordpress/trunk@12633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:33:41 +00:00
ryan
adf017f6b9 Strip trailing whites from ms files. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 04:27:46 +00:00
ryan
9b721a32c6 Queue ms.css if multisite. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 02:33:23 +00:00
ryan
fd475d2b38 s/wpmu/ms/ in file refs. Props Denis-de-Bernardy. see #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:30:53 +00:00
wpmuguru
8ab77e04e7 Change references to wpmu-edit.php - See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:24:03 +00:00
ryan
dbe9b17271 Move wpmu_menu() logic into menu.php. Props Denis-de-Bernardy. fixes #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:17:13 +00:00
ryan
45ec04e3e9 Deprecate argument. Never fallback to options table for user option requests. Props nacin. fixes #11615
git-svn-id: http://svn.automattic.com/wordpress/trunk@12616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-07 00:01:52 +00:00
ryan
fc23a88df8 Move some multisite menu checks directly into menu.php. see #11763
git-svn-id: http://svn.automattic.com/wordpress/trunk@12613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 23:41:03 +00:00
westi
53d810f260 Remove svn:executable property on new files. Fixes #11743 props Denis-de-Bernardy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 22:22:45 +00:00
wpmuguru
d07d6c5717 Add mu only (inactive) files
git-svn-id: http://svn.automattic.com/wordpress/trunk@12603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-06 04:02:57 +00:00
ryan
da89de4958 More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 16:58:43 +00:00
westi
e51341dc1d Fix a notice when replying to comments in the admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:16:26 +00:00
westi
99709adb4e phpDoc for get_pending_comments_num().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-02 17:15:11 +00:00
ryan
d375ef7d54 Use current_time() to calculate current time. Props filosofo. fixes #10915
git-svn-id: http://svn.automattic.com/wordpress/trunk@12590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 17:56:09 +00:00
westi
ff7831207c Updates and improvements to _depreceated_argument. See #11386 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
azaozz
3f3846e2fc Remove unneeded empty span and add form closing tag in media.php, props Simek and hakre, fixes #11569
git-svn-id: http://svn.automattic.com/wordpress/trunk@12582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 08:19:34 +00:00
ryan
19168c8238 Cleanup after bailing when php or mysql versions are not compat. Props nacin. fixes #11638 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 17:19:04 +00:00
ryan
2819ce72d4 Better duplicate option delete query. Props miqrogroove. fixes #11649 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-28 16:25:56 +00:00
azaozz
a6c8080b61 Show disabled image rotation buttons when imagerotate() is missing, props husky and hakre, fixes #11536
git-svn-id: http://svn.automattic.com/wordpress/trunk@12555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 21:24:39 +00:00
westi
17c7533b72 Swap out ;; for ;. Fixes #11618 props demetris and nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:53:17 +00:00
westi
f419654041 phpDoc for wp_reset_vars().
git-svn-id: http://svn.automattic.com/wordpress/trunk@12547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 16:48:24 +00:00
azaozz
b3871f9247 Replace ctype_digit() with is_numeric() for better compatibility, props markup, fixes #11620 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-26 08:47:47 +00:00
matt
1e15d7c64a More cleanup of the edit media screen:
* Simplified table to not need rowspan, and other markup where possible.
* Put more elements in a paragraph tag for better spacing.
* Brought edit image buton under the image.
* Everything is now in line with WordPress Coding Standards, particularly with regards to spacing and attribute quotes.
* Minor styling for better alignment.

TODO: We show the file URL here, but for images we should show the URL to each size, with its dimensions.



git-svn-id: http://svn.automattic.com/wordpress/trunk@12543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 23:04:48 +00:00
matt
6f824a6b3e Media editing: When you have many custom taxonomies this page can get rather long, or just normally, so adding a "save" button to the top as well, for easy access.
There was no place on this page that actually linked to the item being edited, so I hyperinked the thumbnail.


git-svn-id: http://svn.automattic.com/wordpress/trunk@12542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 22:22:21 +00:00
matt
5fb288d031 Change to comments UI to show when a comment is replying to another, and link to the parent comment, so you can understand the context of a given comment when moderating from the dashboard.
Long term, I feel like front-end moderation could be really handy if we can make it as AJAXy.

git-svn-id: http://svn.automattic.com/wordpress/trunk@12540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-25 02:46:40 +00:00
westi
9ca731eee2 Consitent use of … Fixes #10374 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 09:46:57 +00:00
ryan
9b6bd6bf87 Retunr WP_Error from wp_crop_image() and image_resize(). Props mdwaffe. fixes #9922
git-svn-id: http://svn.automattic.com/wordpress/trunk@12524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 18:39:31 +00:00
ryan
b9dfd1fb4a Check upload_tmp_dir ini settings for a usable temporary path. Props Denis-de-Bernardy. fixes #6699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 16:22:26 +00:00
ryan
cedfa0181b Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: http://svn.automattic.com/wordpress/trunk@12515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:31:02 +00:00
ryan
354607036c Remove unneeded quotes around vars. Props johnbillion. fixes #10245
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
westi
10a5ba6622 Wrap the content of <wp:meta_value></wp:meta_value> in CDATA for WXR exports. Fixes #9633 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 13:03:34 +00:00
ryan
a858edf405 Add escaping to _wp_comment_row(). Props Denis-de-Bernardy. fixes #11492 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 17:00:54 +00:00
ryan
4bbaabff55 Increase download_url() timeout to 5 minutes. fixes #11551 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 16:42:30 +00:00
westi
1a097b6479 Updated phpDoc for wp-admin/includes/post.php . Fixes #11198 based on a patch from Simek.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12483 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:25:15 +00:00
westi
bcaffad604 Fix spelling mistake in tooltip for image rotation button. Fixes #11488 for trunk props computerwiz908.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-22 12:02:51 +00:00
westi
10a6d0e916 Deprecate _nc() as _nx() is a much better was of specifying contexts. Fixes #11404 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-19 10:51:29 +00:00
ryan
d3a748eb46 Hard code required version in update-core.php. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 16:53:44 +00:00
azaozz
fc1e6f8f72 Fix the scale image check in image editor, fixes #11473 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@12446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-18 09:52:32 +00:00
ryan
40035bf93e Add required php and mysql versions to version.php. Future proof required version check strings. Props nacin. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 18:46:19 +00:00
ryan
81321bd367 Fix typo. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:22:54 +00:00