Commit Graph

128 Commits

Author SHA1 Message Date
markjaquith 6c2ffddf31 _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-05 19:43:53 +00:00
ryan 12078bcb11 Attr escaping
git-svn-id: http://svn.automattic.com/wordpress/trunk@11173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-04 17:54:08 +00:00
ryan f7c30e87eb Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: http://svn.automattic.com/wordpress/trunk@11112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:40:49 +00:00
ryan e7f2b40dd7 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: http://svn.automattic.com/wordpress/trunk@11111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 17:36:10 +00:00
ryan 2d489767bb s/attribute_escape/attr/. see #9650
git-svn-id: http://svn.automattic.com/wordpress/trunk@11109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-28 05:58:45 +00:00
ryan 371b5a8f55 Add page-id-x class to body for pages. jamescollins. see #7939
git-svn-id: http://svn.automattic.com/wordpress/trunk@11054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 17:46:51 +00:00
ryan 64091e195f Faster query to see if page has children
git-svn-id: http://svn.automattic.com/wordpress/trunk@11053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-22 17:45:20 +00:00
ryan a61bc0ec8a Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-20 18:18:39 +00:00
ryan 989ddc7360 Fix teaser stripping when no teaser. Props makibo, simonwheatley. fixes #6312
git-svn-id: http://svn.automattic.com/wordpress/trunk@10954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 19:43:01 +00:00
ryan 0ed6972911 Add page class to get_boddy_class(). Props nathanrice. fixes #9514
git-svn-id: http://svn.automattic.com/wordpress/trunk@10950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 18:22:27 +00:00
ryan ab49d00bc4 Add page classes to page attachments. Props minusfive. fixes #9472
git-svn-id: http://svn.automattic.com/wordpress/trunk@10947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-16 17:37:58 +00:00
ryan dd1c8932aa Don't trigger loop start in get_body_class(). Props Denis-de-Bernardy. fixes #9457
git-svn-id: http://svn.automattic.com/wordpress/trunk@10877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-04-06 15:42:12 +00:00
ryan e8b6fe7347 Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-18 02:43:45 +00:00
ryan b1222311f7 gettext comments. Props nbachiyski. see #9112
git-svn-id: http://svn.automattic.com/wordpress/trunk@10774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-03-13 03:53:39 +00:00
azaozz 4b9c9777d7 Fix wp_get_attachment_link(), props noel, fixes #9036
git-svn-id: http://svn.automattic.com/wordpress/trunk@10520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-07 02:58:21 +00:00
azaozz 6bb375e113 wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: http://svn.automattic.com/wordpress/trunk@10495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-04 15:12:24 +00:00
ryan 691eaf1f13 Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-03 23:04:31 +00:00
ryan af5c60f83f body_class(). Props ionfish. fixes #7939
git-svn-id: http://svn.automattic.com/wordpress/trunk@10485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-02-02 19:21:38 +00:00
ryan d5ca3badae Add missing preg delimiters. Props ridgerunner. fixes #8986 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10459 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-29 17:46:31 +00:00
ryan 0858d9b0c2 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: http://svn.automattic.com/wordpress/trunk@10339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-01-09 19:29:35 +00:00
ryan a0d817dd56 Fix link_before and after args. Props ev3rywh3re. fixes #8715 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-30 19:41:53 +00:00
ryan 6b1b25c6d8 Allow custom page walker classes. Props MikeLittle. fixes #8673
git-svn-id: http://svn.automattic.com/wordpress/trunk@10230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-19 20:27:11 +00:00
ryan e89192b1a8 Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-09 18:03:31 +00:00
westi 19e69cce8a Append don't overwrite. See #8649 props rboren.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 22:13:00 +00:00
westi fed0c5df20 Make wp_page_menu() respect is_front_page(). Fixes #8469 props AaronCampbell.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:14:14 +00:00
westi 350be7f979 Use classes instead of ids to allow the wp_page_menu() to be used more than once per-page. Fixes #8439 props corischlegel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-07 12:11:37 +00:00
ryan ae7bb0d440 post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: http://svn.automattic.com/wordpress/trunk@10070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 19:19:24 +00:00
ryan b13f38f6e3 Use wp_dropdown_page()
git-svn-id: http://svn.automattic.com/wordpress/trunk@10069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-05 18:03:24 +00:00
azaozz ddead422a1 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: http://svn.automattic.com/wordpress/trunk@9894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-26 02:27:37 +00:00
azaozz 3c15f6a8d3 Gallery settings for TinyMCE
git-svn-id: http://svn.automattic.com/wordpress/trunk@9847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-23 06:37:15 +00:00
westi 3a06fdf0b8 phpdoc and notice fix for wp_page_menu(). Fixes #8315 props jacobsantos.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-22 10:39:58 +00:00
westi a7258521b1 Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@9830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-21 17:17:18 +00:00
ryan 36b6f389c1 Use default text only if === null. Props DD32. fixes #8156
git-svn-id: http://svn.automattic.com/wordpress/trunk@9816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-20 18:20:25 +00:00
azaozz a4da82e877 CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: http://svn.automattic.com/wordpress/trunk@9733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-17 18:01:00 +00:00
ryan 2d1010a8fb Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: http://svn.automattic.com/wordpress/trunk@9590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-10 17:45:38 +00:00
ryan b7d2eb8000 link_before and link_after for wp_list_pages(). Props thee17. fixes #8041
git-svn-id: http://svn.automattic.com/wordpress/trunk@9484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-11-03 06:07:39 +00:00
ryan 20c70e3bc7 post-template phpdoc from jacobsantos. fixes #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@9273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-22 03:06:53 +00:00
ryan 6f1a62f089 Tweak wp_page_menu() defaults. Props MichaelH. fixes #7914
git-svn-id: http://svn.automattic.com/wordpress/trunk@9254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-20 17:39:01 +00:00
ryan a4f5971898 wp_page_menu() echo fixes. see #7914
git-svn-id: http://svn.automattic.com/wordpress/trunk@9246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 21:15:20 +00:00
ryan 6baaa2300d Fix echo arg to wp_page_menu(). see #7518
git-svn-id: http://svn.automattic.com/wordpress/trunk@9245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-18 21:06:28 +00:00
ryan 42a83b4ebc wp_get_attachment_link filter. Props Viper007Bond. fixes #7448
git-svn-id: http://svn.automattic.com/wordpress/trunk@9205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 20:00:11 +00:00
ryan 1f1409a786 link_before and link_after from thee17. fixes #5652
git-svn-id: http://svn.automattic.com/wordpress/trunk@9202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-16 19:13:30 +00:00
ryan 48416f4b6f post-template phpdoc from jacobsantos. see #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@9138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-10-13 22:28:34 +00:00
ryan 40ecb1eec2 the_password_form filter from dancoulter. fixes #7758
git-svn-id: http://svn.automattic.com/wordpress/trunk@8926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-18 06:24:45 +00:00
ryan ef3504a372 wp_page_menu(). see #7698
git-svn-id: http://svn.automattic.com/wordpress/trunk@8848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 18:56:54 +00:00
ryan a39f651a85 show sticky class only when is_home. Props MtDewVirus. fixes #7712
git-svn-id: http://svn.automattic.com/wordpress/trunk@8847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-08 18:56:13 +00:00
ryan 8013357366 Skeleton phpdoc for post-template.php. Props jacobsantos. see #7659
git-svn-id: http://svn.automattic.com/wordpress/trunk@8809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-04 23:12:08 +00:00
ryan cddfd974e0 post_password_required(). fixes #7679
git-svn-id: http://svn.automattic.com/wordpress/trunk@8800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-03 19:54:14 +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