Commit Graph

8030 Commits

Author SHA1 Message Date
ryan 543eb608c9 Support named headers and footers in get_footer() and get_header(). Props AaronCampbell. fixes #7549 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 20:57:48 +00:00
ryan 0348a10d49 site_url filter
git-svn-id: http://svn.automattic.com/wordpress/trunk@8672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 19:41:11 +00:00
ryan 3911137835 Apply kses bad-protocol checks only to URI typed attributes. Props takayukister. fixes #5917 #6888 #6910 #7512
git-svn-id: http://svn.automattic.com/wordpress/trunk@8671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 18:43:21 +00:00
ryan 4104795d70 Don't default to an unselectable image size. Props tellyworth. fixes #7528 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 17:08:18 +00:00
ryan 42b36e1e64 post.php phpdoc. Props santosj. fixes #7538
git-svn-id: http://svn.automattic.com/wordpress/trunk@8669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:38:06 +00:00
ryan 96b987270d Tag cloud fixes from DD32. Implements number arg. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 16:36:18 +00:00
markjaquith f4f6fb2019 Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: http://svn.automattic.com/wordpress/trunk@8667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-19 03:21:12 +00:00
ryan facedb8d81 Revert tag cloud changes in 8540 and 8569. They broke tag sorting. see #6015
git-svn-id: http://svn.automattic.com/wordpress/trunk@8666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 23:40:41 +00:00
ryan 68ae36f22f Set eol-style
git-svn-id: http://svn.automattic.com/wordpress/trunk@8664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 16:34:46 +00:00
ryan b275e7399d Sync trunk RTL styles with 2.6 branch. see #7498
git-svn-id: http://svn.automattic.com/wordpress/trunk@8663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-18 15:47:32 +00:00
westi 3b85b84a5e phpdoc for formatting functions. See #5638 props scohoust.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:29:43 +00:00
westi bfa931c5d1 alt attibutes for get_avatar(). Fixes #7523 props Speedboxer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:23:49 +00:00
westi e462ca421d remove_all_{actions|filters}. Fixes #7216 props filosofo and santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-17 11:15:38 +00:00
westi 2843c01b3d Fix typo in textpattern importer. Fixes #7529 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 20:41:20 +00:00
westi e84d70122a Revert accidental change. See #7509.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 20:38:07 +00:00
westi c19b2d769e More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 07:27:34 +00:00
azaozz 9729660f29 wp-config-sample.php inline documentation. Props santosj, fixes #7526
git-svn-id: http://svn.automattic.com/wordpress/trunk@8655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 06:16:30 +00:00
azaozz 0b6768f3ea Disable fsockopen for 12 hours if it fails. Props jacobsantos, fixes #7514
git-svn-id: http://svn.automattic.com/wordpress/trunk@8654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-16 05:38:57 +00:00
ryan 2955c83e99 Image default options for size, alignment and link type. Props tellyworth. fixes #7520
git-svn-id: http://svn.automattic.com/wordpress/trunk@8653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-15 15:40:35 +00:00
ryan 02f5232d6e Always use '&' as arg separator when building the body. fixes #7522
git-svn-id: http://svn.automattic.com/wordpress/trunk@8648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 22:54:43 +00:00
ryan aaaffe8316 Notice fix. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 20:36:09 +00:00
ryan 113c014920 Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 17:00:37 +00:00
westi 7f894ae416 phpdoc for wp-admin. See #7496 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-08-14 06:30:38 +00:00
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