Commit Graph

1593 Commits

Author SHA1 Message Date
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