Commit Graph

1827 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
ryan
c0437cd3a6 Check MySQL and PHP versions when auto upgrading. Props westi, Denis-de-Bernardy, nacin, caesarsgrunt. see #11464
git-svn-id: http://svn.automattic.com/wordpress/trunk@12422 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-17 16:04:47 +00:00
ryan
4aca3ca146 Remove oEmbed discovery option. Add hook so plugins can enable it. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:16:00 +00:00
ryan
60c67e593c Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 21:01:57 +00:00
ryan
b38c409b40 Fix upload dir defaults. Props Denis-de-Bernardy. fixes #11276
git-svn-id: http://svn.automattic.com/wordpress/trunk@12405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 17:53:51 +00:00
azaozz
6769f5d7e8 Fix action on dashboard spam link, merge deletecomment with trashcomment, untrashcomment, spamcomment, and unspamcomment, props caesarsgrunt, fixes #11432
git-svn-id: http://svn.automattic.com/wordpress/trunk@12401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-15 09:45:29 +00:00
westi
7a443a7b6e Fix the IP Address validation code in the FTP class. Fixes #11393 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-13 00:02:01 +00:00
azaozz
066f37c885 Display "Dimensions" only for image attachments, fixes #11403
git-svn-id: http://svn.automattic.com/wordpress/trunk@12378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 07:02:26 +00:00
azaozz
d4d309a1c6 Disable trash for attachments for now pending improvements in 3.0, fixes #11149
git-svn-id: http://svn.automattic.com/wordpress/trunk@12377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-12 06:40:16 +00:00
ryan
657aa5adc3 Don't fallback to the options database when retrieving *_per_page user options. Props nacin. fixes #11385
git-svn-id: http://svn.automattic.com/wordpress/trunk@12375 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 23:14:43 +00:00
ryan
2d77f2e75a Call wp_cache_delete after issuing update actions. Props Denis-de-Bernardy. fixes #11397
git-svn-id: http://svn.automattic.com/wordpress/trunk@12373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-11 16:44:41 +00:00
ryan
e2c408bfbe Pass correct number of args to ftp_chdir(). Props Denis-de-Bernardy. see #10889
git-svn-id: http://svn.automattic.com/wordpress/trunk@12369 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 23:03:25 +00:00
westi
19ff06a6ec Revert [11212], [12252], [12255] and [12258]. Stick with Hello World for now and we will look at other solutions. See #110808.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 22:45:10 +00:00
ryan
c7e8399e1d Drop temp upgrade code. fixes #11266
git-svn-id: http://svn.automattic.com/wordpress/trunk@12365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 20:29:55 +00:00
markjaquith
14f6764df9 Change 'Remove' link on widgets to 'Delete' because it doesn't just remove it, it deletes the settings for that widget instance. props Denis-de-Bernardy. fixes #10379
git-svn-id: http://svn.automattic.com/wordpress/trunk@12360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:51:36 +00:00
markjaquith
8f2d7720db Use esc_url_raw() on wp:comment_author_url in exports. fixes #9524
git-svn-id: http://svn.automattic.com/wordpress/trunk@12359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:42:45 +00:00
markjaquith
805bdb9365 Provide visual feedback for "Use as thumbnail" when clicked immediately after uploading the image. fixes #11140
git-svn-id: http://svn.automattic.com/wordpress/trunk@12355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 08:03:26 +00:00
markjaquith
8a3607998c Do not show "Use as thumbnail" in standalone media browser, but DO show it when you upload a new image on a post. fixes #11366
git-svn-id: http://svn.automattic.com/wordpress/trunk@12352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 07:04:01 +00:00
markjaquith
bf264bb66d Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-10 06:14:36 +00:00
ryan
1c90385918 Allow registering post image support per post type. fixes #11364
git-svn-id: http://svn.automattic.com/wordpress/trunk@12350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 15:39:20 +00:00
westi
944bdb29a6 s/size/s/ fixes #11370 props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12346 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-09 09:44:53 +00:00
markjaquith
df73d335a9 Yet more standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:27:53 +00:00
markjaquith
f74935eb92 More standardization around Post/Page Image instead of Post/Page Thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@12343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:24:32 +00:00
markjaquith
dc8492b9f5 Introducing set_post_image_size(w, h, crop) so themes can register their special size/crop for canonical post images. WP will create this size/crop upon upload, so your canonical post images fit your space exactly!
git-svn-id: http://svn.automattic.com/wordpress/trunk@12342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 21:08:19 +00:00
matt
cff2ea75c7 Cast out the lowercase P demons that snuck in. http://www.google.com/search?q=out+out+you+demons+of+stupidity
git-svn-id: http://svn.automattic.com/wordpress/trunk@12341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 19:59:34 +00:00
markjaquith
0415ab7b42 Standardize around "post image" instead of "post thumbnail"
git-svn-id: http://svn.automattic.com/wordpress/trunk@12339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 16:34:04 +00:00
ryan
d3c9fbd0c8 Use stripslashes_deep to strip meta values. Props JonathanRogers, Sewar. fixes #10656
git-svn-id: http://svn.automattic.com/wordpress/trunk@12336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-08 00:48:39 +00:00
markjaquith
0fa00fd809 Re-enable trash link appearance on autosave. fixes #11351
git-svn-id: http://svn.automattic.com/wordpress/trunk@12330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 16:38:04 +00:00
ryan
d3e30f2ff6 Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 13:57:18 +00:00
markjaquith
408b217622 Reverting [12324] and [12322] after some discussion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-07 04:31:44 +00:00
markjaquith
9b9c09aafe Make codex link open in a new window
git-svn-id: http://svn.automattic.com/wordpress/trunk@12324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:30:56 +00:00
westi
854d93f0e9 Revert the string change to the Discussion meta box as this is a generic box for multiple post types. Fixes #11346.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:05:49 +00:00
markjaquith
8b8dbd3205 Display Post/Page Thumbnail meta box even if theme does not support it -- just display an info message. props janeforshort
git-svn-id: http://svn.automattic.com/wordpress/trunk@12322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 17:02:51 +00:00
azaozz
dd81243d16 Validate date/time fields for posts and comments, fixes #10309
git-svn-id: http://svn.automattic.com/wordpress/trunk@12318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-03 09:56:20 +00:00
azaozz
9b3f5be113 Swap Spam and Trash in comment action links, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:05:03 +00:00
ryan
8b5ba8c556 Fix file validation in theme editor. Props dd32. fixes #11032
git-svn-id: http://svn.automattic.com/wordpress/trunk@12310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 22:03:13 +00:00
ryan
e5d2d65a36 Standardize on 'Undo'. Props caesarsgrunt. fixes #11299
git-svn-id: http://svn.automattic.com/wordpress/trunk@12308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 20:00:33 +00:00
azaozz
fded0ca661 Remove oEmbed references and auto-insert of shortcodes from the UI, fixes #11288
git-svn-id: http://svn.automattic.com/wordpress/trunk@12304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-01 09:22:48 +00:00
ryan
97bf1f11bd Save parent temp ID for unattached attachments in postmeta. Props scribu. fixes #9471
git-svn-id: http://svn.automattic.com/wordpress/trunk@12298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 21:41:52 +00:00
azaozz
8f3af1eb02 Hide Cancel link in the browser uploader on Media Library screen.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 20:58:12 +00:00
ryan
0874bf7d4f escape hrefs. Props Denis-de-Bernardy. fixes #10056
git-svn-id: http://svn.automattic.com/wordpress/trunk@12295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-30 16:55:50 +00:00
azaozz
00a9b90dc9 Flash through red when sending an item to the trash, flash through green when undoing it, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-28 02:56:15 +00:00
azaozz
2a8e03ae14 Reorder comment actions, fixes #11258
git-svn-id: http://svn.automattic.com/wordpress/trunk@12287 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 12:57:35 +00:00
azaozz
fe29434e05 Undo for setting a comment as spam, props caesarsgrunt, fixes #11260, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12286 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-27 10:34:09 +00:00
azaozz
e0f5abc2d3 Fix notice in bulk edit posts, props dd32, fixes #11184
git-svn-id: http://svn.automattic.com/wordpress/trunk@12285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:41:37 +00:00
azaozz
c3f7df6b24 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
azaozz
281f46ecbd Fix typo, props nacin, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 08:13:31 +00:00
azaozz
42379cb215 Swap the Flip horizontally and Flip vertically buttons in the image editor so they are more understandable, props scribu, fixes #11171
git-svn-id: http://svn.automattic.com/wordpress/trunk@12281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 07:49:44 +00:00
ryan
9d68962762 Apply editable_slug filter in more places. Props dwright. fixes #10966
git-svn-id: http://svn.automattic.com/wordpress/trunk@12277 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-25 15:11:57 +00:00
ryan
049b5321d6 Check action type to avoid warnings. Props sirzooro. fixes #11203
git-svn-id: http://svn.automattic.com/wordpress/trunk@12272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-24 16:46:23 +00:00
ryan
1ddec52d4e Fix wpfs root dir location. Props dd32. fixes #11152
git-svn-id: http://svn.automattic.com/wordpress/trunk@12268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 21:52:13 +00:00
ryan
97b5a5f483 Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: http://svn.automattic.com/wordpress/trunk@12264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-23 18:17:46 +00:00
westi
908c4a24ca Use _x() not _c(). See #6362 fixes #11228 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 22:22:25 +00:00
westi
37288a03d1 Make sure the translated urls are attribute safe using esc_attr(). See #11008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 12:11:18 +00:00
westi
d2f6a94dc3 Use _x() not _c() as we want to use the gettext contexts.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 11:50:16 +00:00
westi
f8b76874f9 Update the test case for #11008 - original pre paragraphed text was relying on autop to insert <br /> for the line breaks so make it explicit in the expected result.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-22 10:34:37 +00:00
westi
3e9c8dd010 Don't show page templates in the drop down if they are in a subdirectory. Fixes #10959 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 10:05:19 +00:00
westi
8b56354285 Let autop handle the first post. See #11008.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-21 09:43:45 +00:00
ryan
6d1ba22c9d Fix warnings
git-svn-id: http://svn.automattic.com/wordpress/trunk@12246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 19:46:10 +00:00
ryan
3e17d8b880 Remove reference to non-existent field. Props scribu. fixes #11098
git-svn-id: http://svn.automattic.com/wordpress/trunk@12242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 15:26:14 +00:00
azaozz
c8dd53cdc3 Submit the "Save all changes" form by pressing Enter, props abackstrom, fixes #8557
git-svn-id: http://svn.automattic.com/wordpress/trunk@12240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 06:07:54 +00:00
azaozz
85b81cc6cf Escape $title in dashboard Recent Drafts to reveal HTML tags, props Simek, fixes #11128
git-svn-id: http://svn.automattic.com/wordpress/trunk@12235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-20 01:31:06 +00:00
ryan
1e2349258f Allow link rating of 10. Props ProDevStudio. fixes #11165
git-svn-id: http://svn.automattic.com/wordpress/trunk@12233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 23:07:53 +00:00
ryan
48b9a9f2bb Fix db version logic error. Props miqrogroove. fixes #10994
git-svn-id: http://svn.automattic.com/wordpress/trunk@12232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:53:03 +00:00
ryan
c831a9e3ef Add context to strings. Props nbachiyski. fixes #10738
git-svn-id: http://svn.automattic.com/wordpress/trunk@12231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:49:16 +00:00
westi
492be21173 Some admin copy improvements fixes. #6362 props xenlab and ninjaWR.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:16:16 +00:00
ryan
605710b8c6 gettext fix. Props takayukister. fixes #11188
git-svn-id: http://svn.automattic.com/wordpress/trunk@12227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 22:04:53 +00:00
westi
9a1a22076f Revert [12187] as it didn't fix the issue for all cases. See #10959.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 19:53:27 +00:00
ryan
06bab5e3ff Pass args to settings field callback. Props hanilovesme, scribu. fixes #11143
git-svn-id: http://svn.automattic.com/wordpress/trunk@12220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 17:37:50 +00:00
ryan
4e09fd327c Check DB ver 12217. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:43:38 +00:00
ryan
6189a6fce2 Make option_id primary. Add uniques for option_name and autoload. see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@12217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 16:42:07 +00:00
azaozz
f2dc806c22 Add sidebar descriptions to sidebar settings and widget admin screen, props jeremyclarke scribu, fixes #11157
git-svn-id: http://svn.automattic.com/wordpress/trunk@12213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-19 09:12:16 +00:00
westi
ccbf5061c9 First pass first post improvements. See #11008 props demetris.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:45:24 +00:00
ryan
4615f5b809 Delete old magpie cache options. Props Denis-de-Bernardy. fixes #10592
git-svn-id: http://svn.automattic.com/wordpress/trunk@12210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 22:04:07 +00:00
ryan
47001b4c43 Don't destruct if WP_Error. Props scribu. fixes #11168
git-svn-id: http://svn.automattic.com/wordpress/trunk@12209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:52:38 +00:00
ryan
cb8cc5ffb6 Use preg_replace_callback to eliminate eval. Props BenBE1987. fixes #10896
git-svn-id: http://svn.automattic.com/wordpress/trunk@12198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 19:25:01 +00:00
azaozz
95ee97e9ad Add labels to image info in the media library, fixes #8886
git-svn-id: http://svn.automattic.com/wordpress/trunk@12195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-17 00:11:49 +00:00
ryan
7154852c94 Force destruction of SimplePie objects for versions of PHP that don't release memory properly. Props arena, scribu. fixes #11074
git-svn-id: http://svn.automattic.com/wordpress/trunk@12193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:42:58 +00:00
azaozz
f53bef8bd9 Don't show trashed attachments in gallery tab count, props aldenta, fixes #11147
git-svn-id: http://svn.automattic.com/wordpress/trunk@12190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:54:02 +00:00
azaozz
903ff7a22f Fix style of text fields in IE6 in the uploader, better regex for Link URL presets buttons
git-svn-id: http://svn.automattic.com/wordpress/trunk@12189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 07:16:34 +00:00
azaozz
573c9fe1e4 Fix improper selection of radio buttons, improve JS for storing image settings, fixes #11021
git-svn-id: http://svn.automattic.com/wordpress/trunk@12188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 01:37:30 +00:00
westi
9f98c68fd2 Ensure that page templates in a subdir of a theme work correctly. Fixes #10959 based on patch from scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 22:40:40 +00:00
ryan
7a2fa88b6f bulk should default to false. fixes #11130
git-svn-id: http://svn.automattic.com/wordpress/trunk@12186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-13 21:28:40 +00:00
azaozz
fb0d8b44ee Fix image meta after editing image, disable the Save button when no changes, fixes #11115
git-svn-id: http://svn.automattic.com/wordpress/trunk@12163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-11 11:24:01 +00:00
azaozz
fb1bb44d60 Remove all instances of "Trash" from the UI when Trash is disabled, replace trash actions with "Delete permanently", props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 10:38:19 +00:00
azaozz
1c24715413 Don't pre-fill empty image alt when inserting into a post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-10 00:09:40 +00:00
ryan
2bf341d5d5 Put site into maintenance mode during bulk plugin upgrade. Skip plugin deactivate/activate. Add compatibility info. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-09 18:53:21 +00:00
azaozz
73a0105b1a Add 'IMAGE_EDIT_OVERWRITE' constant to control edited image save or replace, most useful for setups that have dynamic image resizing, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@12155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-07 11:20:09 +00:00
azaozz
48dded5492 Fix typo, props Harald Nesland, fixes #11002
git-svn-id: http://svn.automattic.com/wordpress/trunk@12152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-06 10:53:41 +00:00
azaozz
bb8c764a52 Add phpdoc and extra filter to file.php, props dd32, fixes #11002
git-svn-id: http://svn.automattic.com/wordpress/trunk@12151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 23:03:48 +00:00
ryan
2498bb6cae Bring in wp_handle_upload_prefilter from MU
git-svn-id: http://svn.automattic.com/wordpress/trunk@12142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 14:24:20 +00:00
azaozz
59c0c60e1c Fix IE8 reply to comments from admin fade in/out, decrease comment undo timeout, hide comment reply when moving to trash, fixes #9896
git-svn-id: http://svn.automattic.com/wordpress/trunk@12139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-03 08:28:59 +00:00
ryan
41823a3171 Call get_post_image_id() only if current_theme_supports( 'post-thumbnails' ).
git-svn-id: http://svn.automattic.com/wordpress/trunk@12137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 18:00:41 +00:00
ryan
cca2279a4d Switch oEmbed option to control discovery. Tweak whitelist and settings page. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-02 14:41:35 +00:00
azaozz
a55fd568d4 Trash undo for the uploader, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-30 07:09:55 +00:00
azaozz
dec601ae27 Fix tag input tip in IE
git-svn-id: http://svn.automattic.com/wordpress/trunk@12114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-27 08:43:17 +00:00
markjaquith
34f36995f2 Consolidate post_mime_type code. props scribu. fixes #10992
git-svn-id: http://svn.automattic.com/wordpress/trunk@12110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 17:56:28 +00:00
ryan
3fc2cea52e Export and import custom taxonomies. Props chrisscott. fixes #10012
git-svn-id: http://svn.automattic.com/wordpress/trunk@12109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 13:57:55 +00:00
azaozz
63732badd5 Add subtitles and opening/closing DIVs on GUU results screen, see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-26 07:04:30 +00:00
azaozz
791cebe932 Typo fixes, props dd32, fixes #11030
git-svn-id: http://svn.automattic.com/wordpress/trunk@12104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 17:30:58 +00:00
westi
5188723e01 Fix some login typos. Fixes #11031 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 09:28:20 +00:00
azaozz
f5c253376e When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-24 11:43:42 +00:00
ryan
4ff21e0cd3 Plugin bulk upgrade rough in. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-23 21:49:12 +00:00
markjaquith
0bb1056228 Save some clicks and optimize for the Upload, Set as thumbnail flow. props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-21 07:27:33 +00:00
westi
93b71da3bc Update version info in phpDoc for _admin_notice_post_locked() see #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 17:02:22 +00:00
ryan
6f5c3fb7cf Start roughing in GUU. see #10973
git-svn-id: http://svn.automattic.com/wordpress/trunk@12066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-20 16:11:59 +00:00
westi
a2e61f480c Display a smaller filename in the theme editor urls and make theme files editable again. Fixes #10974.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:39:04 +00:00
markjaquith
22518cefe2 Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: http://svn.automattic.com/wordpress/trunk@12061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 21:10:46 +00:00
azaozz
76f6b9706e Merge set-post-thumbnail-handler.js with post.js, move Post Thumbnail meta-box to /includes/meta-boxes.php, see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 20:23:35 +00:00
markjaquith
d3f3b6bed1 Only show Use for thumbnail link for image attachments. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 16:36:21 +00:00
azaozz
7e9d95d543 Separate fields for image alt and image caption in the uploader.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-19 05:09:41 +00:00
azaozz
9783a2415a Properly escape filename when sending to editor, props hakre sivel, fixes #10252
git-svn-id: http://svn.automattic.com/wordpress/trunk@12051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-18 06:14:16 +00:00
westi
d303a241d1 Ensure that Title is always set for plugin data as it was before. see #8964.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-17 17:01:07 +00:00
westi
c26e33b939 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 21:07:00 +00:00
ryan
bf96c01551 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 20:26:21 +00:00
markjaquith
af407e7e3f Post thumbnail removal functionality (only allowed for replacement before). props scribu. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:57:16 +00:00
westi
40e0b16615 Page Templates now have there full path specified so no need to prepend WP_CONTENT_DIR. Fixes #10953 props sivel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 20:46:09 +00:00
azaozz
c790ebcdd9 Remove remains from the old bookmarklet code
git-svn-id: http://svn.automattic.com/wordpress/trunk@12029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-14 05:53:49 +00:00
ryan
9dbf6545f0 Request only as many incoming links and we'll display. Props niallkennedy. fixes #10685
git-svn-id: http://svn.automattic.com/wordpress/trunk@12026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 22:04:54 +00:00
markjaquith
d86259fcb1 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: http://svn.automattic.com/wordpress/trunk@12025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 19:06:35 +00:00
ryan
410fcc2e42 Embeds. Props Viper007Bond. see #10337
git-svn-id: http://svn.automattic.com/wordpress/trunk@12023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 17:04:22 +00:00
azaozz
b2966fba30 Merge post.js with page.js and slug.js, optimize categories and tags JS, standardize postboxes IDs and JS.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-13 10:02:42 +00:00
markjaquith
a0cd792aae Constrain admin thumbnail display to width of meta box while in sidebar. Add filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 07:41:42 +00:00
azaozz
ee12f818b7 Adjust comment moderation shortcut keys: d = trash or delete depending on the screen
git-svn-id: http://svn.automattic.com/wordpress/trunk@12016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 23:28:06 +00:00
azaozz
4b53a32f07 Add l10n thousands delimiter and decimal point to JS, fix updating of comments numbers on the dashboard and keyboard shortcuts for comments moderation (t = trash, z = restore/undo)
git-svn-id: http://svn.automattic.com/wordpress/trunk@12015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-09 09:02:22 +00:00
azaozz
d20c23e98d Add Undo when moving comments to the trash, remove unneeded nonces, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 08:24:59 +00:00
markjaquith
d7a30e235f First pass on canonical post thumbanils. Admin-side GUI only. Theme functions to follow. see #10928
git-svn-id: http://svn.automattic.com/wordpress/trunk@12007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 22:18:09 +00:00
westi
923a3ade8a Remove the php-gettext library as we don't use it anymore. Fixes #9751.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 20:42:05 +00:00
ryan
fd3f0ac99f Disable codepress. Maintained replacement needed.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-07 15:22:23 +00:00
ryan
16475c9588 Add post_submitbox_misc_actions action. Props mdawaffe
git-svn-id: http://svn.automattic.com/wordpress/trunk@12000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-06 20:17:21 +00:00
westi
627e7b3e6c Update pclzip to 2.8.2 - Fixes #10650 and #10777.
Includes:
 * Removal of eval()s
 * Merge WordPress 64 bit fix upstream

git-svn-id: http://svn.automattic.com/wordpress/trunk@11993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 21:04:57 +00:00
ryan
966af43a1d Improve inline documentation for register_setting(). Props filosofo. fixes #10368
git-svn-id: http://svn.automattic.com/wordpress/trunk@11991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:54:24 +00:00
ryan
d89bf58bd3 Pass args to mysql2date() in the correct order. Props filosofo, fabifott. fixes #10866
git-svn-id: http://svn.automattic.com/wordpress/trunk@11989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:50:28 +00:00
ryan
3ab19e267d Show link back to post for pingbacks in the recent comments dashboard widget. Props scribu. fixes #10622
git-svn-id: http://svn.automattic.com/wordpress/trunk@11988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:42:33 +00:00
markjaquith
9109450809 Surface "Move to Trash" link for posts/pages immediately after first autosave fires. Props cross country flight. fixes #10344
git-svn-id: http://svn.automattic.com/wordpress/trunk@11986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 11:44:18 +00:00
azaozz
4e20ae5719 Image Editor: fix refreshing of the thumbnail, use WP_Http_Fopen::test(), see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 23:39:09 +00:00
azaozz
6f099a9117 Image Editor: add load and save image filters, fix backup sizes meta, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-30 08:38:32 +00:00
azaozz
111ffda455 htmlspecialchars after apply_filters, props Viper007Bond, see #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 10:28:08 +00:00
azaozz
856e319884 Press This: editor fixes and CSS tweaks for IE6/7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-29 09:46:13 +00:00
ryan
5224680c4d Deprecates the_content_rss(). Add the_content_feed() and get_the_content_feed(). Convert places that called the_content_rss() with an excerpt length to the_excerpt_rss(). Remove the rss_excerpt_length option. Use the_content_feed() where the_content() was previously used in feeds. Props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-28 14:36:48 +00:00
azaozz
0630337d8e Apply "comment_edit_pre" filter when quick-editing comments, props Viper007Bond, fixes #10858
git-svn-id: http://svn.automattic.com/wordpress/trunk@11975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 22:28:22 +00:00
azaozz
ba74883676 TinyMCE 3.2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@11974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 08:33:16 +00:00
azaozz
1e611d37da Image Editor: fix preview size calculation when cropping small part of a very large image, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-26 04:07:27 +00:00
ryan
57f26bb58e Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:19:13 +00:00
ryan
ead46cf470 Actions for postmeta updates. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 17:10:28 +00:00
azaozz
33836d522b Image Editor: fix JS prompt, add size to 'load_image_to_edit' filter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 08:47:33 +00:00
markjaquith
c664315b01 Active plugin filter, plugin deactivation array_splice() protection. props apeatling. fixes #10839
git-svn-id: http://svn.automattic.com/wordpress/trunk@11966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 04:15:37 +00:00
azaozz
48932f96fe Image Editor improvements, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-24 01:54:07 +00:00
westi
a86aa7b399 Handle the file upload case on import when post_max_size is smaller than upload_max_filesize and no POST data arrives at all. Fixes #10830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 07:06:58 +00:00
westi
7ee91c9aeb Move the nonce on the import upload form to the action url so it always arrives even if the post data exceeds post_max_size. Also add some phpdoc. See #10830.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-23 06:59:20 +00:00
markjaquith
a131ad469e Eliminate the redundant and confusing comment threading depth of 1. Threading starts at 2 now. fixes #10829
git-svn-id: http://svn.automattic.com/wordpress/trunk@11958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-22 06:00:46 +00:00
ryan
5e4dc4dfd4 get_delete_post_link()
git-svn-id: http://svn.automattic.com/wordpress/trunk@11956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 21:33:00 +00:00
ryan
ef17b0b875 Key should be comment_id not post_id. see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 18:09:21 +00:00
ryan
8a0bafef24 Special case comment type 'all'. Fixes comment search. fixes #10463
git-svn-id: http://svn.automattic.com/wordpress/trunk@11954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-21 14:43:31 +00:00
westi
e803c73428 Switch round some quotes. Fixes #10669 props niallkennedy
git-svn-id: http://svn.automattic.com/wordpress/trunk@11953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-20 13:49:20 +00:00
westi
be1ff7ace1 Fix user creation from admin after changes for #10751. Fixes #10811 props alexkingorg.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-18 20:47:24 +00:00
westi
ef11608c43 Move the storage of the metadata for trashed comments into the comment meta table rather than storing it in an option. See #4529.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:51:12 +00:00
ryan
607ec769f0 Press This fixes. Props noel. fixes #10784
git-svn-id: http://svn.automattic.com/wordpress/trunk@11944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:36:59 +00:00
westi
c67e70dd91 First pass commentmeta implementation. See #2659 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-17 20:17:33 +00:00
azaozz
103ba096a7 Include 'hidden' directories in filesystem dirlist by default, props dd32, fixes #10774
git-svn-id: http://svn.automattic.com/wordpress/trunk@11934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 02:21:00 +00:00
westi
55c0ecb52f phpDoc subpackage is Administration not Admin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 21:13:25 +00:00
ryan
8e3808bce2 Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 14:03:32 +00:00
ryan
aa1e377ede Filter fields through kses upon display. Introduce sanitize_user_object() and sanitize_user_field(). see #10751
git-svn-id: http://svn.automattic.com/wordpress/trunk@11929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 13:57:48 +00:00
azaozz
3709397168 Explain that the permalink is temporary for autosave generated permalinks, fixes #7733
git-svn-id: http://svn.automattic.com/wordpress/trunk@11928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-14 02:06:33 +00:00
azaozz
3d8c41869d Plugin/Theme installer: Do not bail if empty destination directory exists, props dd32, fixes #10775
git-svn-id: http://svn.automattic.com/wordpress/trunk@11926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 23:00:45 +00:00
westi
dbc8095e53 Use the old strings which are more translator friendly and add a generic default string to aid re-use by plugins adding post_types. See #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 21:18:55 +00:00
azaozz
a8ccdb1d62 Fix pagination in Media Library after moving items to trash
git-svn-id: http://svn.automattic.com/wordpress/trunk@11924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 17:58:55 +00:00
westi
2561a6bb45 Switch the post|page being editing message from a create_function call to a normal function and reduce the duplicated code. See #10729.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:52:39 +00:00
westi
4cb6db8467 phpDoc for wp_{check|set}_post_lock functions.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-13 08:34:24 +00:00
ryan
7b6e0b16b8 Add btt.php and jkw.php to list of files to remove during upgrade.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-11 18:12:10 +00:00
azaozz
1c161c23c2 Image editing (first run). Includes code by stephanreiter, see #10528
git-svn-id: http://svn.automattic.com/wordpress/trunk@11911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 22:07:33 +00:00
ryan
7886fac111 More add/delete/update actions. Props Demitrious Kelly. see #10750
git-svn-id: http://svn.automattic.com/wordpress/trunk@11909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 14:43:45 +00:00
azaozz
0381e51fd6 Don't show "Change Permalinks" button when editing the page set as "Front page", props simonwheatley, fixes #10760
git-svn-id: http://svn.automattic.com/wordpress/trunk@11908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-10 01:21:03 +00:00
ryan
e8c32c03b0 Pass logged_in cookie to async-upload. Props nbachiyski. fixes #10739
git-svn-id: http://svn.automattic.com/wordpress/trunk@11904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-08 15:22:42 +00:00
markjaquith
11c3cb07b9 Display comments in descending date order, consistently. props scribu. fixes #10674
git-svn-id: http://svn.automattic.com/wordpress/trunk@11901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-04 08:50:55 +00:00
westi
499a4d63cc Always filter the url in the media upload form. Fixes #10707 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-01 20:44:17 +00:00
azaozz
38d5ac6152 Fix quotes, props Denis-de-Bernardy, see #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-27 09:59:22 +00:00
ryan
4064e1cb6c Make option_name the primary key for the options table. Props Denis-de-Bernardy. fixes #2699
git-svn-id: http://svn.automattic.com/wordpress/trunk@11883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-26 22:46:33 +00:00
azaozz
e9ce147405 Clean up .button and .button[disabled] CSS classes, add spinner and gray-out buttons after clicking Publish or Update post.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-25 05:14:49 +00:00
azaozz
e03f120254 Fix notice in wp-admin/includes/post.php, props harrym, fixes #10678 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@11871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 19:39:08 +00:00
azaozz
a50bce6e70 Add global JS vars and actions to the media uploader iframe
git-svn-id: http://svn.automattic.com/wordpress/trunk@11868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-24 00:09:39 +00:00
ryan
5787c17206 fs_connect() fixes. Props dd32. fixes #10541
git-svn-id: http://svn.automattic.com/wordpress/trunk@11862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-21 01:36:01 +00:00