Commit Graph

7607 Commits

Author SHA1 Message Date
Ryan Boren 93f3f4cdb5 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: https://develop.svn.wordpress.org/trunk@8644 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 23:37:42 +00:00
Ryan Boren 21400530e1 get_post_class() from mdawaffe. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8643 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 23:26:14 +00:00
Ryan Boren 6992ce6781 Initialize classes array. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8642 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:59:52 +00:00
Ryan Boren 812ff9b44f Add more classes to post_class(). see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8641 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:58:06 +00:00
Ryan Boren 198e2f10e0 phpdoc fix up for post_class(). see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8639 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:10:44 +00:00
Ryan Boren 47194e9cd7 Add post_class() template function for emitting standard classes for post div. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8638 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:09:08 +00:00
Ryan Boren 2b8caf9a1f Add sticky_class() template tag. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8637 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 18:21:52 +00:00
Ryan Boren c53da5a523 Make sure timestamps are not 0000 when publishing. Props techcookies. fixes #6527
git-svn-id: https://develop.svn.wordpress.org/trunk@8636 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 16:01:01 +00:00
Peter Westwood a8a591310f Give plugins the ability to do extra processing on a post before it is inserted/updated. See #5196.
git-svn-id: https://develop.svn.wordpress.org/trunk@8635 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 05:53:48 +00:00
Peter Westwood 35716061ac Fix bugs in chunked encoding handling. See #4779 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8634 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 05:09:59 +00:00
Ryan Boren b4ad7db695 RTL CSS updates from Navid Kashani, RanYanivHartstein, mani_monaj, and the WP Persian team. see #7498. Partial patch for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8632 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 23:19:07 +00:00
Peter Westwood ca850a4456 HTTP API improvements. Implements chunked transfer decoding. Moves plugin update checker over to api. see #4779 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8630 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:21:11 +00:00
Ryan Boren 935afabf92 Quote array indexes. Props wet. fixes #7502
git-svn-id: https://develop.svn.wordpress.org/trunk@8629 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:13:25 +00:00
Ryan Boren b7d641c8fd Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8627 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 21:00:22 +00:00
Ryan Boren b0d1405333 Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8625 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:58:00 +00:00
Peter Westwood da46c93af9 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: https://develop.svn.wordpress.org/trunk@8624 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 20:18:05 +00:00
Ryan Boren 3d1b545642 comment_approved can be zero, so check with isset instead of empty. fixes #7446
git-svn-id: https://develop.svn.wordpress.org/trunk@8622 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-12 16:23:47 +00:00
Peter Westwood 5f78702356 Add syndication frequency recommendations to rss2 feeds. See #3513 props _ck_.
git-svn-id: https://develop.svn.wordpress.org/trunk@8619 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 20:50:41 +00:00
Ryan Boren a70e1a34e5 WP-Admin File Level Inline Documentation from santosj. see #7496
git-svn-id: https://develop.svn.wordpress.org/trunk@8618 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 20:26:31 +00:00
Mark Jaquith 5a8b37fdc9 Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8616 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 20:17:07 +00:00
Andrew Ozz b9a1481317 Fix img path in TinyMCE css. Props docwhat, fixes #7469 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8614 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 04:02:24 +00:00
Ryan Boren 9c42d17153 Pass tag name when using shortcodes. Props Viper007Bond. fixes #6606
git-svn-id: https://develop.svn.wordpress.org/trunk@8613 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 04:00:33 +00:00
Ryan Boren da4e0eca48 Separate Large and Full image sizes. Props tellyworth. fixes #7151
git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-11 03:54:26 +00:00
Andrew Ozz 1c05d81e06 Prevent fatal error if plugin uses install-helper.php, fixes #6747 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8610 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 23:13:39 +00:00
Peter Westwood 036af45075 Final phpdoc for functions. Fixes #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8608 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 20:31:49 +00:00
Peter Westwood a6e4e79f3a phpdoc for general functions. See #5639 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8606 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 16:45:50 +00:00
Andrew Ozz fa3d304307 Strip slashes when inserting media into the editor. Fixes #7488 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8605 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-10 02:14:13 +00:00
Ryan Boren f25dd822ec 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: https://develop.svn.wordpress.org/trunk@8603 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 17:13:40 +00:00
Ryan Boren cad55202be jQuery UI 1.5.2
git-svn-id: https://develop.svn.wordpress.org/trunk@8601 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:50:15 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 9d19580065 upload.php is not a retired file. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8599 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:11:09 +00:00
Ryan Boren 13d16e176d phpdoc for functions.php. Props jacobsantos. fixes #5639
git-svn-id: https://develop.svn.wordpress.org/trunk@8598 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 04:51:51 +00:00
Ryan Boren a5b9f74038 Landing page for auto upgrade. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8597 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 03:20:16 +00:00
Ryan Boren d48b376956 Remove old files. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8596 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 01:00:27 +00:00
Ryan Boren 7d958a43d1 Automatic upgrade, first cut. see #5560
git-svn-id: https://develop.svn.wordpress.org/trunk@8595 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 22:49:35 +00:00
Mark Jaquith 36275a8b99 Fix braces so user_trailingslashit gets the correct information passed in canonical redirect code. props xorax. fixes #7483 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8593 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:43:44 +00:00
Ryan Boren 4b8144a688 RTL fixes from RanYanivHartstein. fixes #7482
git-svn-id: https://develop.svn.wordpress.org/trunk@8592 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:31:20 +00:00
Ryan Boren dd5fae740f RTL fixes from RanYanivHartstein. see #7482
git-svn-id: https://develop.svn.wordpress.org/trunk@8590 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:23:30 +00:00
Peter Westwood 010f5ed7b2 Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 17:05:10 +00:00
Peter Westwood 4bff225e94 Ensure fsockopen HTTP requests have Content-length and Content-type headers. See #4779 props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@8588 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 16:28:07 +00:00
Ryan Boren 4ea763f026 Update since tags. Props santosj. fixes #5625
git-svn-id: https://develop.svn.wordpress.org/trunk@8587 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 04:15:03 +00:00
Ryan Boren 5fb79ce141 Fix issues with fsockopen transport. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8586 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-08 00:02:11 +00:00
Ryan Boren 7d0bd55969 Plugin uninstall hooks from santosj. fixes #5625
git-svn-id: https://develop.svn.wordpress.org/trunk@8585 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 23:39:27 +00:00
Ryan Boren 695197e232 Fixes cURL for Cron in non-blocking mode. Props santosj. fixes #7481 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8584 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 22:57:16 +00:00
Ryan Boren b5e5eb7b91 Fix Copy and Paste bug in cURL transport based. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8583 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 22:56:21 +00:00
Ryan Boren ea522c10c9 Fix Text/Diff includes. Props codestyling. fixes #7391 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8581 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 21:02:07 +00:00
Ryan Boren 80a4ec8e37 Fix bad bracketing in unzip_file()
git-svn-id: https://develop.svn.wordpress.org/trunk@8580 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-07 19:15:04 +00:00
Ryan Boren eb3daa5799 Check the headers for the transfer-encoding for chunked. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8578 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:57:25 +00:00
Mark Jaquith 0ca7018899 Use the edit_others_posts capability for controlling sticky checkbox display and usage. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8577 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:31:40 +00:00
Mark Jaquith 8c9625eede Give separate paragraphs to the private/sticky checkboxen (heh) and give them distinct IDs for plugin CSS-hiding purposes. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8576 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:23:34 +00:00