Commit Graph

3610 Commits

Author SHA1 Message Date
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
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
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
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 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 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
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 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 643218c8fb Whitespacing/coding standards cleanup for category.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:06:14 +00:00
markjaquith 17df697bef Whitespacing/coding standards cleanup for category-template.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 21:01:46 +00:00
markjaquith d40ac02f98 Whitespacing/coding standards cleanup for capabilities.php
git-svn-id: http://svn.automattic.com/wordpress/trunk@8573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:50:30 +00:00
markjaquith 74c46749cb Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 20:31:54 +00:00
ryan 064b19958f Fix variable name typo. Props ionfish. fixes #7471 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 17:24:10 +00:00
ryan 7f8c8b6ae7 Fix tag cloud links. Props DD32. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8569 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 15:53:39 +00:00
ryan a5acdddbb7 Strip tags from summary. Props dsader. fixes #7375 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 15:49:58 +00:00
azaozz dc9f3139a1 Revert 8562
git-svn-id: http://svn.automattic.com/wordpress/trunk@8564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-06 00:44:40 +00:00
azaozz 0c6394a0b9 Stop fatal error in post revisions when setting the include path is disabled. Props santosj, for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 23:56:52 +00:00
ryan 366bb4f70f Fix notice about body not having chunk formatting. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 22:22:07 +00:00
ryan cd722a7472 Allow merging of similarly named text domains. Props sambauers. fixes #7376 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 21:28:50 +00:00
ryan 5eae274300 Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@8555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 21:07:59 +00:00
ryan 63f28d3ba0 Fix chunked decoding. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 17:01:49 +00:00
ryan 30b6066f07 Streams transport fixes from jacobsantos. fixes #7456 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 16:33:20 +00:00
westi bf16f5dd53 Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 06:40:44 +00:00
ryan 7564143444 Sticky Posts, firct cut. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:48:21 +00:00
ryan 80937742da Suppress fopen errors if WP_DEBUG is not enabled. Props jacobsantos. fixes #7456 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 05:45:34 +00:00
ryan 0c0de881bb Fix reversed encoding. Props DD32. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-05 04:14:55 +00:00
ryan 1b0bfced2e XML-RPC comments API. see #7446
git-svn-id: http://svn.automattic.com/wordpress/trunk@8543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 22:29:37 +00:00
westi 35f46f0d4b Plugin Install GSOC project first code drop. Props DD32 see #6015.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 21:01:09 +00:00
ryan 7f0c014f36 Cast to array to avoid warning. Props santosj. fixes #7222 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 20:34:45 +00:00
ryan b8dc4a3377 Don't use wp_guess_url(). Caused big problems. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:19:05 +00:00
ryan 92589dee21 Tests for whether is an array or an object before running http_build_query() on . Props santosj. fixes #7460 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8536 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 19:12:26 +00:00
ryan e4a40aa709 Return response in foreach loop and remove debugging line. Props santosj. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 18:45:44 +00:00
ryan 2eb0dffaaa Don't call curl_setopt() if safe_mode is enabled. Props ionfish and Po0ky. fixes #7458 see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 17:03:05 +00:00
ryan 2d6e153cb4 Cycle through available transports trying each one. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-04 16:28:12 +00:00
ryan ccbc13a123 Use wp_guess_url() for determining the cron URL. Props jacobsantos. see #4779
git-svn-id: http://svn.automattic.com/wordpress/trunk@8529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-03 21:07:21 +00:00