ryan
1ef0029be8
Adds checking for fsockopen to check for WP_DEBUG and silently drop warnings. Adds streams_set_timeout to fsockopen to help prevent long waits. Props santosj. see #7514
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 23:37:42 +00:00
ryan
9179510fc1
get_post_class() from mdawaffe. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 23:26:14 +00:00
ryan
f592eb9e43
Initialize classes array. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 21:59:52 +00:00
ryan
9e05ca767a
Add more classes to post_class(). see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 21:58:06 +00:00
ryan
9a95395188
phpdoc fix up for post_class(). see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 19:10:44 +00:00
ryan
a9d35dafba
Add post_class() template function for emitting standard classes for post div. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 19:09:08 +00:00
ryan
15440186be
Add sticky_class() template tag. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 18:21:52 +00:00
ryan
b76abe33b4
Make sure timestamps are not 0000 when publishing. Props techcookies. fixes #6527
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 16:01:01 +00:00
westi
fa410bb8f4
Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:53:48 +00:00
westi
94ad9a773f
Fix bugs in chunked encoding handling. See #4779 props santosj.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-13 05:09:59 +00:00
ryan
f41858edcf
RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498 . Partial patch for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 23:19:07 +00:00
westi
88f521011a
HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:21:11 +00:00
ryan
f089ebcfe4
Quote array indexes. Props wet. fixes #7502
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:13:25 +00:00
ryan
5d98412e04
Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 21:00:22 +00:00
ryan
6ff77fabe3
Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 20:58:00 +00:00
westi
7e141e4192
Refactor template location code to reduce duplication.
...
Also make it easier for theme authors to pull in seperate files into templates while making theme overrideable. See #7492 .
git-svn-id: http://svn.automattic.com/wordpress/trunk@8624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 20:18:05 +00:00
ryan
e68d5f07b4
comment_approved can be zero, so check with isset instead of empty. fixes #7446
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-12 16:23:47 +00:00
westi
ef8d0a6e30
Add syndication frequency recommendations to rss2 feeds. See #3513 props _ck_.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:50:41 +00:00
ryan
175c2b6fb1
WP-Admin File Level Inline Documentation from santosj. see #7496
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:26:31 +00:00
markjaquith
f43cf39f19
Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 20:17:07 +00:00
azaozz
e8c5d09ab0
Fix img path in TinyMCE css. Props docwhat, fixes #7469 for 2.7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 04:02:24 +00:00
ryan
e02f178aa0
Pass tag name when using shortcodes. Props Viper007Bond. fixes #6606
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 04:00:33 +00:00
ryan
ff7b8ffe1b
Separate Large and Full image sizes. Props tellyworth. fixes #7151
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-11 03:54:26 +00:00
azaozz
efb38685f8
Prevent fatal error if plugin uses install-helper.php, fixes #6747 for 2.7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 23:13:39 +00:00
westi
3b9b906d3e
Final phpdoc for functions. Fixes #5639 props jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 20:31:49 +00:00
westi
840eb7e5e0
phpdoc for general functions. See #5639 props jacobsantos.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 16:45:50 +00:00
azaozz
879524a2dd
Strip slashes when inserting media into the editor. Fixes #7488 for 2.7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-10 02:14:13 +00:00
ryan
2a22782bb0
Fix tag duplication when saving posts with multiple tags that have custom slugs. Props mtekk and count_0. fixes #6593 see #6313
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 17:13:40 +00:00
ryan
4ba102a9f4
jQuery UI 1.5.2
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:50:15 +00:00
ryan
35b18e5034
Trailing whitespace cleanup
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:36:14 +00:00
ryan
3a131a7e02
upload.php is not a retired file. see #5560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 05:11:09 +00:00
ryan
2f90aada53
phpdoc for functions.php. Props jacobsantos. fixes #5639
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 04:51:51 +00:00
ryan
c0e5180448
Landing page for auto upgrade. see #5560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 03:20:16 +00:00
ryan
33a187a61e
Remove old files. see #5560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-09 01:00:27 +00:00
ryan
05305465e4
Automatic upgrade, first cut. see #5560
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8595 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 22:49:35 +00:00
markjaquith
eb6e891041
Fix braces so user_trailingslashit gets the correct information passed in canonical redirect code. props xorax. fixes #7483 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:43:44 +00:00
ryan
ae8c9c8e53
RTL fixes from RanYanivHartstein. fixes #7482
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:31:20 +00:00
ryan
e5e499be66
RTL fixes from RanYanivHartstein. see #7482
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:23:30 +00:00
westi
b3cb14fb80
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 17:05:10 +00:00
westi
5a692699b4
Ensure fsockopen HTTP requests have Content-length and Content-type headers. See #4779 props DD32.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 16:28:07 +00:00
ryan
0f8d8597c3
Update since tags. Props santosj. fixes #5625
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 04:15:03 +00:00
ryan
d352f78b94
Fix issues with fsockopen transport. Props santosj. see #4779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-08 00:02:11 +00:00
ryan
d7cc99037f
Plugin uninstall hooks from santosj. fixes #5625
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 23:39:27 +00:00
ryan
9549319cc4
Fixes cURL for Cron in non-blocking mode. Props santosj. fixes #7481 see #4779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 22:57:16 +00:00
ryan
907ba1cfce
Fix Copy and Paste bug in cURL transport based. Props santosj. see #4779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 22:56:21 +00:00
ryan
642c8d9b54
Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 21:02:07 +00:00
ryan
57e2267904
Fix bad bracketing in unzip_file()
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8580 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-07 19:15:04 +00:00
ryan
e6971c04f1
Check the headers for the transfer-encoding for chunked. Props santosj. see #4779
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:57:25 +00:00
markjaquith
ce1404129e
Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:31:40 +00:00
markjaquith
bc5419ac4f
Give separate paragraphs to the private/sticky checkboxen (heh) and give them distinct IDs for plugin CSS-hiding purposes. see #7457
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:23:34 +00:00