Commit Graph

134 Commits

Author SHA1 Message Date
Peter Westwood 6bd9d1dfa5 Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11435 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 21:31:42 +00:00
Peter Westwood f2cfe16e7a Introduce sanitise_css_classname() and use it to give categories, tags, users etc meaningful classnames where possible. Falls back to the id if not. Fixes #8446.
git-svn-id: https://develop.svn.wordpress.org/trunk@11433 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 17:44:26 +00:00
Ryan Boren 5480332bc5 Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765
git-svn-id: https://develop.svn.wordpress.org/trunk@11398 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-19 16:03:11 +00:00
Peter Westwood c98f9104b6 Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@11370 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 22:32:48 +00:00
Ryan Boren 5df6a6ad9d Use IDs instead of slugs in CSS classes ro avoid invalid class names. Props hakre. fixes #8446
git-svn-id: https://develop.svn.wordpress.org/trunk@11306 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 17:11:57 +00:00
Andrew Ozz a3f252ffbd Add filter: the post content "more link", props JohnLamansky, fixes #9711
git-svn-id: https://develop.svn.wordpress.org/trunk@11300 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-12 06:38:59 +00:00
Mark Jaquith c638e8d8de _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: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Ryan Boren cfd320446f Attr escaping
git-svn-id: https://develop.svn.wordpress.org/trunk@11173 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 17:54:08 +00:00
Ryan Boren 41f75a2604 Pass post ID to the_title filter. Props DD32. see #5746 #9666
git-svn-id: https://develop.svn.wordpress.org/trunk@11112 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:40:49 +00:00
Ryan Boren 7e3b303f19 protected_title_format and private_title_format. Props anderswc. fixes #8918
git-svn-id: https://develop.svn.wordpress.org/trunk@11111 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 17:36:10 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Ryan Boren 7252c98c54 Add page-id-x class to body for pages. jamescollins. see #7939
git-svn-id: https://develop.svn.wordpress.org/trunk@11054 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:46:51 +00:00
Ryan Boren a6fac0db89 Faster query to see if page has children
git-svn-id: https://develop.svn.wordpress.org/trunk@11053 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 17:45:20 +00:00
Ryan Boren 12c7093645 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 18:18:39 +00:00
Ryan Boren 99b5b3693b Fix teaser stripping when no teaser. Props makibo, simonwheatley. fixes #6312
git-svn-id: https://develop.svn.wordpress.org/trunk@10954 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 19:43:01 +00:00
Ryan Boren 18892308b0 Add page class to get_boddy_class(). Props nathanrice. fixes #9514
git-svn-id: https://develop.svn.wordpress.org/trunk@10950 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 18:22:27 +00:00
Ryan Boren 799a2c59ed Add page classes to page attachments. Props minusfive. fixes #9472
git-svn-id: https://develop.svn.wordpress.org/trunk@10947 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-16 17:37:58 +00:00
Ryan Boren 1a1bd4494c Don't trigger loop start in get_body_class(). Props Denis-de-Bernardy. fixes #9457
git-svn-id: https://develop.svn.wordpress.org/trunk@10877 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-06 15:42:12 +00:00
Ryan Boren 8d00b5d37d Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10810 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-18 02:43:45 +00:00
Ryan Boren 5d8651d6f3 gettext comments. Props nbachiyski. see #9112
git-svn-id: https://develop.svn.wordpress.org/trunk@10774 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-13 03:53:39 +00:00
Andrew Ozz 0603592697 Fix wp_get_attachment_link(), props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10520 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-07 02:58:21 +00:00
Andrew Ozz 75c6fc4c3a wp_get_attachment_link() variable upgrade, props noel, fixes #9036
git-svn-id: https://develop.svn.wordpress.org/trunk@10495 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-04 15:12:24 +00:00
Ryan Boren 9599eaa2ca Respect time zone when displaying autosave and revision time. Props janbrasna, designsimply. fixes #8750 #6489 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10490 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-03 23:04:31 +00:00
Ryan Boren 940103ddc9 body_class(). Props ionfish. fixes #7939
git-svn-id: https://develop.svn.wordpress.org/trunk@10485 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-02 19:21:38 +00:00
Ryan Boren 560eacbb44 Add missing preg delimiters. Props ridgerunner. fixes #8986 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10459 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-29 17:46:31 +00:00
Ryan Boren 2baa2f8e58 Use preg_replace_callback instead of preg_replace with eval. Props beaulebens. see #8689
git-svn-id: https://develop.svn.wordpress.org/trunk@10339 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 19:29:35 +00:00
Ryan Boren b6c647c017 Fix link_before and after args. Props ev3rywh3re. fixes #8715 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10269 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-30 19:41:53 +00:00
Ryan Boren 5161f00e3b Allow custom page walker classes. Props MikeLittle. fixes #8673
git-svn-id: https://develop.svn.wordpress.org/trunk@10230 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-19 20:27:11 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Peter Westwood c7de5ef953 Append don't overwrite. See #8649 props rboren.
git-svn-id: https://develop.svn.wordpress.org/trunk@10121 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 22:13:00 +00:00
Peter Westwood c7077d18a3 Make wp_page_menu() respect is_front_page(). Fixes #8469 props AaronCampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@10115 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 12:14:14 +00:00
Peter Westwood 4cc937b4d3 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: https://develop.svn.wordpress.org/trunk@10114 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-07 12:11:37 +00:00
Ryan Boren b6a0df1678 post_parent dropdown fixes. get_pages() cache fix to eliminate duplicate queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@10070 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 19:19:24 +00:00
Ryan Boren e5f6baeedc Use wp_dropdown_page()
git-svn-id: https://develop.svn.wordpress.org/trunk@10069 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-05 18:03:24 +00:00
Andrew Ozz bcfde60872 Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 02:27:37 +00:00
Andrew Ozz 4fa6ae8fa5 Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-23 06:37:15 +00:00
Peter Westwood 9d57742bb5 phpdoc and notice fix for wp_page_menu(). Fixes #8315 props jacobsantos.
git-svn-id: https://develop.svn.wordpress.org/trunk@9844 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-22 10:39:58 +00:00
Peter Westwood 33e4ff5f55 Make arguments to start_el consistent and ensure that page walking is consistent. Fixes #8303 and #8091 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@9830 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-21 17:17:18 +00:00
Ryan Boren 9af3568f29 Use default text only if === null. Props DD32. fixes #8156
git-svn-id: https://develop.svn.wordpress.org/trunk@9816 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-20 18:20:25 +00:00
Andrew Ozz 57a1c6f31e CSS fixes and improvements, also IE7 and some IE6 fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9733 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 18:01:00 +00:00
Ryan Boren e36aee40d4 Don't use deprecated functions. Props filosofo. fixes #8130
git-svn-id: https://develop.svn.wordpress.org/trunk@9590 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-10 17:45:38 +00:00
Ryan Boren 81a0168123 link_before and link_after for wp_list_pages(). Props thee17. fixes #8041
git-svn-id: https://develop.svn.wordpress.org/trunk@9484 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-03 06:07:39 +00:00
Ryan Boren 8c15b4e5a6 post-template phpdoc from jacobsantos. fixes #7659
git-svn-id: https://develop.svn.wordpress.org/trunk@9273 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-22 03:06:53 +00:00
Ryan Boren fa4ac95135 Tweak wp_page_menu() defaults. Props MichaelH. fixes #7914
git-svn-id: https://develop.svn.wordpress.org/trunk@9254 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-20 17:39:01 +00:00
Ryan Boren ba1915af0f wp_page_menu() echo fixes. see #7914
git-svn-id: https://develop.svn.wordpress.org/trunk@9246 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 21:15:20 +00:00
Ryan Boren c364164a1d Fix echo arg to wp_page_menu(). see #7518
git-svn-id: https://develop.svn.wordpress.org/trunk@9245 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-18 21:06:28 +00:00
Ryan Boren ae0a2e7d24 wp_get_attachment_link filter. Props Viper007Bond. fixes #7448
git-svn-id: https://develop.svn.wordpress.org/trunk@9205 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 20:00:11 +00:00
Ryan Boren d806f2e97d link_before and link_after from thee17. fixes #5652
git-svn-id: https://develop.svn.wordpress.org/trunk@9202 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 19:13:30 +00:00
Ryan Boren 5d6dcacd59 post-template phpdoc from jacobsantos. see #7659
git-svn-id: https://develop.svn.wordpress.org/trunk@9138 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-13 22:28:34 +00:00
Ryan Boren f4fff13218 the_password_form filter from dancoulter. fixes #7758
git-svn-id: https://develop.svn.wordpress.org/trunk@8926 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-18 06:24:45 +00:00