Commit Graph

3775 Commits

Author SHA1 Message Date
Andrew Ozz 9ed6500c5b Saving/restoring the user interface state, see #7654
git-svn-id: https://develop.svn.wordpress.org/trunk@8784 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-31 06:34:43 +00:00
Peter Westwood 8d72a6d8b7 phpDoc updates for formatting functions fixes #5638 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8783 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:28:11 +00:00
Peter Westwood 047ec90dee phpDoc corrections for wp-includes. See #7550 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8782 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 21:23:43 +00:00
Peter Westwood 697bb624de nline Documentation for script-loader.php. Fixes #7649 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@8781 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 19:51:29 +00:00
Ryan Boren c6f94a0dd4 Don't process keypress if the current row is null. see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8779 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 00:48:37 +00:00
Ryan Boren 00dbe08054 Support Mac meta key. see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8778 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-30 00:28:13 +00:00
Ryan Boren 54d9937ca8 Comment manipulation keyboard shorcuts from nbachiyski. see #7643
git-svn-id: https://develop.svn.wordpress.org/trunk@8777 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 21:43:34 +00:00
Ryan Boren 22427df48b Mike filter suppression. Props DD32. see #7326
git-svn-id: https://develop.svn.wordpress.org/trunk@8773 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 18:33:04 +00:00
Andrew Ozz 6d8233700e Pass default value to get_option(), fixes #7637
git-svn-id: https://develop.svn.wordpress.org/trunk@8770 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 07:25:45 +00:00
Andrew Ozz 7e1f0947d8 Reply to comments from admin, small improvements and fixes, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8767 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-29 05:07:40 +00:00
Ryan Boren cefe351dac Suppress query filters when called from get_posts(). see #7326 #7547
git-svn-id: https://develop.svn.wordpress.org/trunk@8766 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 22:30:27 +00:00
Ryan Boren 297183391d Update phpMailer to 2.0.2. Props mattyrob. fixes #7474
git-svn-id: https://develop.svn.wordpress.org/trunk@8762 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 20:26:36 +00:00
Ryan Boren 6e53d55b55 Don't 404 for categories, tags, and authors that exist but have no posts. see #5324
git-svn-id: https://develop.svn.wordpress.org/trunk@8761 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 19:58:57 +00:00
Ryan Boren 5e69c6919c Use farbtastic for custom header color picker. Props rmmccue. see #5591
git-svn-id: https://develop.svn.wordpress.org/trunk@8760 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-28 17:42:21 +00:00
Ryan Boren fa0b44817d Add edit and delete links to the Content->Links rows. Add get_edit_bookmark_link(). Add caching for individual bookmarks. see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8758 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 22:04:12 +00:00
Peter Westwood e7559c8134 Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@8754 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 20:47:01 +00:00
Ryan Boren 2a643a7f56 RSS widget shouldn't link if there isn't a link. Props MtDewVirus. fixes #7614
git-svn-id: https://develop.svn.wordpress.org/trunk@8746 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 18:00:51 +00:00
Peter Westwood eab05b3379 phpDoc updates for formatting functions. See #5638 props scohoust and santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8743 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:49:21 +00:00
Peter Westwood 000f6ec3b6 phpDoc corrections for wp-includes. See #7550 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:45:13 +00:00
Ryan Boren 9ab6c5d3f7 wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: https://develop.svn.wordpress.org/trunk@8740 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 23:57:48 +00:00
Ryan Boren e4dd07c75e include mysql version in version check query string. Props andy. fixes #7600 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8739 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 22:30:56 +00:00
Ryan Boren 13cf1a5c78 Use a subquery in category__not_in query if the DB version supports it. Props pedrop. fixes #7599
git-svn-id: https://develop.svn.wordpress.org/trunk@8738 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-26 19:18:58 +00:00
Ryan Boren bda582ab0d Notice fixes. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8732 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 21:50:11 +00:00
Ryan Boren 5725b0ae44 Don't ignore scheme when cookie value is empty. Props bendalton. fixes #7521
git-svn-id: https://develop.svn.wordpress.org/trunk@8731 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 21:09:26 +00:00
Ryan Boren 00e2cd0917 Do secure redirect only for admin destinations. see #7561
git-svn-id: https://develop.svn.wordpress.org/trunk@8730 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 20:40:34 +00:00
Ryan Boren 835b51ff59 wp_rand() - more randy rands
git-svn-id: https://develop.svn.wordpress.org/trunk@8728 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-25 17:52:28 +00:00
Andrew Ozz 1ce5ef67db Few small improvements to the password strength meter.
git-svn-id: https://develop.svn.wordpress.org/trunk@8722 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 14:35:46 +00:00
Andrew Ozz 539565c49a Remove extra filter, fixes #7585
git-svn-id: https://develop.svn.wordpress.org/trunk@8721 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 14:19:05 +00:00
Andrew Ozz 3e9d31fc8f Reply to comments from admin, first run, see #7435
git-svn-id: https://develop.svn.wordpress.org/trunk@8720 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-24 06:56:22 +00:00
Ryan Boren 6cf5701318 Respect argument in get_author_feed_link(). Props Latz. fixes #7564
git-svn-id: https://develop.svn.wordpress.org/trunk@8706 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-22 02:21:37 +00:00
Ryan Boren 519072ea9f Consolidate contiguous whitespace in usernames
git-svn-id: https://develop.svn.wordpress.org/trunk@8704 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 22:58:29 +00:00
Ryan Boren fc22c0304b Rename wp_insert_post filter to wp_insert_post_data to avoid collision. see #5196
git-svn-id: https://develop.svn.wordpress.org/trunk@8702 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 18:31:35 +00:00
Ryan Boren c7cd726bf1 Option to force SSL. see #7561
git-svn-id: https://develop.svn.wordpress.org/trunk@8701 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 17:40:38 +00:00
Ryan Boren 78a2c0f781 Some cookie validation hooks. fixes #7440
git-svn-id: https://develop.svn.wordpress.org/trunk@8696 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-21 00:08:25 +00:00
Ryan Boren ba5140d219 comment_class(). Props sandbox theme. see #7560
git-svn-id: https://develop.svn.wordpress.org/trunk@8695 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 23:48:09 +00:00
Ryan Boren 6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Peter Westwood 4b21f1922b File level phpdoc for tinymcs spellchecker. See #7550 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8686 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 06:20:22 +00:00
Ryan Boren ce083ccfaf Typo fix from mdawaffe. fixes #7551 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8675 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 22:35:28 +00:00
Ryan Boren d93d32ae99 Support named headers and footers in get_footer() and get_header(). Props AaronCampbell. fixes #7549 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8673 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 20:57:48 +00:00
Ryan Boren 8027eb1ca6 site_url filter
git-svn-id: https://develop.svn.wordpress.org/trunk@8672 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 19:41:11 +00:00
Ryan Boren 35657e8988 Apply kses bad-protocol checks only to URI typed attributes. Props takayukister. fixes #5917 #6888 #6910 #7512
git-svn-id: https://develop.svn.wordpress.org/trunk@8671 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 18:43:21 +00:00
Ryan Boren c26e7cff13 post.php phpdoc. Props santosj. fixes #7538
git-svn-id: https://develop.svn.wordpress.org/trunk@8669 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 16:38:06 +00:00
Ryan Boren 4fc2923bb4 Tag cloud fixes from DD32. Implements number arg. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8668 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 16:36:18 +00:00
Mark Jaquith 71632ab8c7 Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: https://develop.svn.wordpress.org/trunk@8667 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-19 03:21:12 +00:00
Ryan Boren f104c612cb Revert tag cloud changes in 8540 and 8569. They broke tag sorting. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8666 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-18 23:40:41 +00:00
Peter Westwood 0d0bb6aad8 phpdoc for formatting functions. See #5638 props scohoust.
git-svn-id: https://develop.svn.wordpress.org/trunk@8662 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-17 11:29:43 +00:00
Peter Westwood 73bcc94ddf alt attibutes for get_avatar(). Fixes #7523 props Speedboxer.
git-svn-id: https://develop.svn.wordpress.org/trunk@8661 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-17 11:23:49 +00:00
Peter Westwood 120a3d3cf1 remove_all_{actions|filters}. Fixes #7216 props filosofo and santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8660 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-17 11:15:38 +00:00
Andrew Ozz d852afb9e9 Disable fsockopen for 12 hours if it fails. Props jacobsantos, fixes #7514
git-svn-id: https://develop.svn.wordpress.org/trunk@8654 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 05:38:57 +00:00
Ryan Boren e621a3239a Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: https://develop.svn.wordpress.org/trunk@8653 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-15 15:40:35 +00:00
Ryan Boren 257fd97f4c Always use '&' as arg separator when building the body. fixes #7522
git-svn-id: https://develop.svn.wordpress.org/trunk@8648 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 22:54:43 +00:00
Ryan Boren b8c683da8d Notice fix. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8647 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 20:36:09 +00:00
Ryan Boren 197fc1d118 Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-14 17:00:37 +00:00
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
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
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
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
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
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 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 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
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 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 c046d09fbd Whitespacing/coding standards cleanup for category.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8575 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:06:14 +00:00
Mark Jaquith 0649bb45b1 Whitespacing/coding standards cleanup for category-template.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8574 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 21:01:46 +00:00
Mark Jaquith fc79b3fc69 Whitespacing/coding standards cleanup for capabilities.php
git-svn-id: https://develop.svn.wordpress.org/trunk@8573 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:50:30 +00:00
Mark Jaquith 3cab99fbd2 Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Ryan Boren 3937bd9530 Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8570 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 17:24:10 +00:00
Ryan Boren f70269ff48 Fix tag cloud links. Props DD32. see #6015
git-svn-id: https://develop.svn.wordpress.org/trunk@8569 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:53:39 +00:00
Ryan Boren 07bd0bd9cf Strip tags from summary. Props dsader. fixes #7375 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8567 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 15:49:58 +00:00
Andrew Ozz c4d5fd7ce9 Revert 8562
git-svn-id: https://develop.svn.wordpress.org/trunk@8564 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 00:44:40 +00:00
Andrew Ozz b07aca4429 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8562 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 23:56:52 +00:00
Ryan Boren 17bc095dd1 Fix notice about body not having chunk formatting. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8560 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 22:22:07 +00:00
Ryan Boren 9ac24840ea Allow merging of similarly named text domains. Props sambauers. fixes #7376 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8556 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 21:28:50 +00:00
Ryan Boren ace1dbc33e Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@8555 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 21:07:59 +00:00
Ryan Boren c7ac46fe86 Fix chunked decoding. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8549 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 17:01:49 +00:00
Ryan Boren f43f8fcc29 Streams transport fixes from jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8548 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 16:33:20 +00:00
Peter Westwood 5260a37685 Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@8547 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 06:40:44 +00:00
Ryan Boren 742aa7d933 Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:48:21 +00:00
Ryan Boren 973a10982b Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8545 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 05:45:34 +00:00
Ryan Boren 89223e4a84 Fix reversed encoding. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8544 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 04:14:55 +00:00
Ryan Boren b370c7862c XML-RPC comments API. see #7446
git-svn-id: https://develop.svn.wordpress.org/trunk@8543 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 22:29:37 +00:00
Peter Westwood 0d522c3898 Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: https://develop.svn.wordpress.org/trunk@8540 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 21:01:09 +00:00
Ryan Boren 6cf0ede185 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8538 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 20:34:45 +00:00
Ryan Boren 2b63884467 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8537 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:19:05 +00:00
Ryan Boren 72e2ee06bb Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8536 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 19:12:26 +00:00
Ryan Boren d64f028b60 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8535 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 18:45:44 +00:00
Ryan Boren ab2239137f Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8534 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 17:03:05 +00:00
Ryan Boren 6a5662b4a5 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8533 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-04 16:28:12 +00:00
Ryan Boren 0f4aac8854 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8529 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:07:21 +00:00
Ryan Boren 53de042ebd Timeout in WP_Http_Streams::request causes Fatal error abort. Props wet. fixes #7465 see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8528 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-03 21:01:28 +00:00
Ryan Boren 5e982913b6 Allow IRIs. Props guillep2k. fixes #4570
git-svn-id: https://develop.svn.wordpress.org/trunk@8525 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-02 17:32:25 +00:00
Ryan Boren df0af53a86 Fixes process headers for fopen header return, fixes HTTP extension response array. Also adds Curl implementation and allows for it to be used when using headers. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8524 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 23:13:48 +00:00
Ryan Boren 4caa408fac Fixes process headers for fopen header return, fixes HTTP extension response array. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8523 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 22:31:57 +00:00
Ryan Boren b7d7804240 Various http fixes from santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8522 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 21:24:03 +00:00
Ryan Boren 2a1795ae26 Initial cURL support. Doc and non-blocking mode fixes. Props santosj. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8520 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 18:44:40 +00:00
Ryan Boren 0e54a9ce6b Formatting changes and non-blocking mode. Props DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8519 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 16:36:50 +00:00
Ryan Boren dca0f147b2 Formatting and phpdoc cleanups from DD32. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8518 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:45:13 +00:00
Andrew Ozz 8138570a20 When not using image captions, IE may add caption null, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8517 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:10:27 +00:00
Ryan Boren 086b9294b9 HTTP POST and REQUEST API from jacobsantos. see #4779
git-svn-id: https://develop.svn.wordpress.org/trunk@8516 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:00:07 +00:00
Ryan Boren cf2daaf071 Don't run get_plugins() on every admin page load. Use cron for async update plugin requests. see #7372
git-svn-id: https://develop.svn.wordpress.org/trunk@8514 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 04:26:32 +00:00
Andrew Ozz 0b3c278d63 Make sure meta is added to the post, not a revision.
git-svn-id: https://develop.svn.wordpress.org/trunk@8513 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 03:50:20 +00:00
Andrew Ozz 90e3261fd9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8512 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-31 04:01:30 +00:00
Ryan Boren 22497fb74f Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 17:17:38 +00:00
Andrew Ozz b12c2edcf0 Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8504 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 08:16:56 +00:00
Peter Westwood c8c3da8f81 Allow a plugin to change the filter the magpie user agent string. Fixes #7085 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8503 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:04:57 +00:00
Peter Westwood 29d888d397 Allow a plugin to add attributes to the next and previous posts links. Fixes #7434 props JohnLamansky.
git-svn-id: https://develop.svn.wordpress.org/trunk@8502 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 07:01:03 +00:00
Peter Westwood 16e673b165 Switch to get_theme_root()
git-svn-id: https://develop.svn.wordpress.org/trunk@8498 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:26:59 +00:00
Peter Westwood 8b8928d5ac Look for template files in the stylesheet folder as well as the template folder for inheriting themes. Fixes #7086 props ionfish.
git-svn-id: https://develop.svn.wordpress.org/trunk@8497 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-30 06:21:14 +00:00
Ryan Boren a9751a9ee9 Walker improvements from hailin. fixes #7353
git-svn-id: https://develop.svn.wordpress.org/trunk@8494 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:50:57 +00:00
Ryan Boren 3437da6843 Don't apply checkboxes to invisible comments.Props mdawaffe. fixes #7433 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8492 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:16:39 +00:00
Ryan Boren 319051a7fa Fix gravatars for infinite comments. Props mdawaffe. fixes #7432 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8490 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 22:14:53 +00:00
Peter Westwood 0737fd60d5 Make lost password admin notification pluggable. Fixes #7430 props error.
git-svn-id: https://develop.svn.wordpress.org/trunk@8489 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 20:21:34 +00:00
Peter Westwood f698dfbb3b Pass $leavename to filters in get_permalink. Fixes #7421.
git-svn-id: https://develop.svn.wordpress.org/trunk@8487 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 19:52:44 +00:00
Ryan Boren 3b56605062 Allow dots in theme dirs when previewing. fixes #7482 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8485 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-29 17:03:00 +00:00
Ryan Boren 6c433a5dce Store current user rather than original post author when saving revisions. Props mdawaffe. fixes #7317 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8480 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:58:24 +00:00
Ryan Boren 79da5c32a9 Pass context to get_edit_post_link filter. Props mdawaffe. fixes #7424 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8478 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-28 23:39:15 +00:00
Ryan Boren 8aaca8d367 No need to order results. Props dbuser123. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@8469 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-27 16:58:35 +00:00
Andrew Ozz bf798dda32 Fix typo in bookmark template. Props brianwhite, fixes #7414 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8463 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-26 19:56:08 +00:00
Ryan Boren c798e2041d Add macFFBgHack.png. fixes #6573 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8457 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-25 22:42:31 +00:00
Ryan Boren 6fbbcbfb6e Check both slug and name when determining if is_term(). fixes #6593 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8433 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-24 19:28:40 +00:00
Ryan Boren ee18970580 Work around fatal error caused by mbstring.func_overload = 2. Props codestyling . fixes #5599 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8420 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 18:56:17 +00:00
Ryan Boren 28ae8ab3dc Pass to wp_title filter. Props Viper007Bond. fixes #7382
git-svn-id: https://develop.svn.wordpress.org/trunk@8415 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 16:44:06 +00:00
Peter Westwood a619cbba87 Mark kses callbacks as private. Fixes #7363.
git-svn-id: https://develop.svn.wordpress.org/trunk@8410 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 08:36:15 +00:00
Andrew Ozz 595c17fc10 Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8406 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 05:12:57 +00:00