Commit Graph

9185 Commits

Author SHA1 Message Date
markjaquith
a91fef2a63 Drafts have post_date populated now, so look for a zeroed out post_date_gmt to determine non-scheduled nature. fixes #8978 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-28 19:40:25 +00:00
ryan
6816c5011d Include only approved comments when determining page of comment. Props GregMulhauser. fixes #8973 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-28 18:45:15 +00:00
markjaquith
73d12e0ea0 Make the top and bottom comment actions dropdowns match ("Approve" was not appearing on bottom one). for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-26 03:14:31 +00:00
azaozz
d34a34af3e When inserting orphaned attachment in a post, set post_parent only for this attachment, fixes #8721
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 14:44:15 +00:00
westi
931052a8d3 Use the correct PHP6 check. See #8701 for 2.7.x
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 13:21:56 +00:00
westi
de5b342725 Error reporting (again). For 2.7.x, See #8701 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 13:03:38 +00:00
azaozz
66eaffbe4c Fix empty feed after MT import, props hailin, fixes #8944
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 12:24:16 +00:00
azaozz
2d4f74d8ef Fix Thickbox positioning for browsers pretending to be IE6, props Denis-de-Bernardy, fixes #8933
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 11:57:15 +00:00
azaozz
0e23a06b5b Add classes to "edit_comment_link" and "edit_post_link", props yoavf, fixes #8945
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-24 09:33:37 +00:00
westi
4eb21652f8 Sort out the error_reporting for PHP 5.3. See #8701 for 2.7.x.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 18:05:48 +00:00
westi
a5390142f0 More Error Reporting stuff. For 2.7.x, See #8701 props Denis-de-Bernardy
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-23 13:19:42 +00:00
ryan
42f05dbf70 Don't limit query when descending hierarchy. Props filosofo. fixes #8832 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:59:40 +00:00
ryan
ead592d8b2 If link name not given, use url for name. Props Denis-de-Bernardy. fixes #7789 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10415 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:47:48 +00:00
ryan
b1bc48c4d3 user_can_access_admin_page() fix. Props arena. fixes #8535 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10413 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 22:34:56 +00:00
westi
d3be3569b9 Use & not ^ for E_STRICT on PHP 5
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 21:07:35 +00:00
westi
46178887a8 Update error_reporting configuration for newer version of PHP. Fixes #8701 for 2.7.x props jacobsantos
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 20:51:07 +00:00
ryan
7874a85f1c Show Tools menu for all users so they can access turbo. Props Denis-de-Bernardy. fixes #8921 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-22 18:56:10 +00:00
ryan
4f72b0f6ba Add CSS class to comment-reply-link, props yoavf, fixes #8836 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 21:26:56 +00:00
ryan
a5347b5be6 Silence charset not supported warnings
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 20:29:08 +00:00
markjaquith
8bdb07273d Only redirect categories if one "cat" positive integer is specified. fixes #8784 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 19:51:59 +00:00
ryan
711c293c03 Don't show plugin by line if no author. Props Denis-de-Bernardy. fixes #4632 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10394 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 19:02:26 +00:00
ryan
6585c2d2e6 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 18:51:48 +00:00
ryan
0ce2be1e10 Refactor filters to avoid potential XSS attacks, props sambauers and DD32. fixes #8767 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10391 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-21 18:50:51 +00:00
ryan
c8da34f5dc Use guid instead of link for atom comment IDs. fixes #8708 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-20 20:56:40 +00:00
ryan
1285c148b8 XMLRPC wp_newComment() fixes. Props josephscott. fixes #8672 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 18:47:36 +00:00
ryan
5edb6e2de9 Use ABSPATH when including footer. Props vladimir_kolesnikov. fixes #8848 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-19 18:31:28 +00:00
westi
5569095b9f Update phpdoc for get_gmt_from_date(). Fixes #8869 for 2.7.x
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-17 10:22:58 +00:00
azaozz
1da228d138 Faster wp_clone function fix, props sambauers, fixes #8844 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10354 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 14:48:30 +00:00
ryan
ade329213d Run version_compare only once for wp_clone(). Props sambauers. fixes #8844 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-13 06:32:11 +00:00
ryan
024dee654b Reinstall fix. fixes #8724 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10347 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-11 21:48:55 +00:00
ryan
7194e1e88a Fix paginate comment link slashing. Props AntonShevchuk. fixes #8821 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-08 18:27:25 +00:00
ryan
7622069daf Clean comment link. Props nbachiyski. fixes #8405 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-08 04:31:22 +00:00
azaozz
27f1313c68 Fix background color for active plugins table rows in IE, props DD32, fixes #8809 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-07 08:29:30 +00:00
azaozz
6f490c1cd1 Fix non-critical js error when loading Thickbox on the plugins page, fixes #8812 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-07 07:46:46 +00:00
ryan
0262bef8ae Fix URL checking and add phpdoc. Props jacobsantos. fixes #8787 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 17:30:41 +00:00
azaozz
94235fd336 Fix ASC/DESC tag ordering by count, props mrmist, fixes #8609 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-06 00:35:21 +00:00
ryan
445e8577ff Default to empty array if sidebars_widgets is not set. Don't unset array_version if not set. fixes #8804 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 23:04:05 +00:00
ryan
1d93a351d6 Preserve query string when redirecting to tools. Props simonwheatley. fixes #8774 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 19:25:32 +00:00
ryan
0bcd364623 And instead of or. Props mercurix. fixes #8787 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 18:42:52 +00:00
azaozz
a2449b17eb Clean URL in recent comments widget, props danlee, fixes #8691 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 12:00:44 +00:00
azaozz
bbd3931610 Don't shift the rest of the page when the permalink pops up, props nbachiyski, fixes #6058 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 11:26:07 +00:00
azaozz
39859076b5 Add semicolon to Multi-Widget Example, props dcole07, fixes #8742 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 11:18:58 +00:00
azaozz
029bc1442a Categories postbox styling when in right sidebar, props federico.bond, fixes #8606 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 11:08:04 +00:00
azaozz
2e70ba5b23 Make titles into links in Dashboard Right Now module, props mattwalters, fixes #8438 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-05 10:07:17 +00:00
azaozz
02f33500d4 CSS fixes fir IE: pending comments background, HTML editor buttons padding, text fields line-height, fixes #8771 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-04 11:57:41 +00:00
ryan
095e27c43a Turn off magic_quotes_sybase. It prevents addslashes from escaping backslashes. fixes #8757 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10288 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 22:11:33 +00:00
ryan
3b4b6e358e Chunked decoding fix from jacobsantos. fixes #8618 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-31 03:03:26 +00:00
ryan
04ddd8cb06 Add clearing break. Props johnbillion. fixes #8677 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10280 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:42:21 +00:00
ryan
3bd0e07d30 Don't assume page 1 when cpage is empty. Props filosofo. fixes #8630 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:32:58 +00:00
ryan
171034ed24 Add exclude_tree for categories. Make exclude behave like exclude_tree when hierarchical to restore < 2.7 behavior. Props filosofo. fixes #8614 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/branches/2.7@10276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 22:30:54 +00:00