Ryan Boren
86d7ef0b69
Trim trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00
Ryan Boren
0d41ebae21
Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12882 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 21:29:07 +00:00
Ryan Boren
fd48be5b71
Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12877 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-27 17:45:49 +00:00
Dion Hulse
333b3c517c
Introduce Revisioning for custom Post Types, Introduce 'supports' argument to register_post_type() to wrap add_post_type_support(), Whitespace additions to create_initial_post_types(). See #9674 . Fixes #11703
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12751 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-18 11:44:51 +00:00
Peter Westwood
2e2ad12171
Add missing version numbers to _deprecated_argument() calls.
...
Remove deprecated argument from xfn_check() calls.
Pass version number to deprecated_file_included, deprecated_function_run and deprecated_argument_run actions.
Fixes #11386 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12680 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-09 10:03:55 +00:00
Ryan Boren
89784abc18
Sanitize page template class. Props willmot. fixes #11722
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12664 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 18:52:16 +00:00
Ryan Boren
783803ae22
Restore [10490], part of which was accidentally reverted.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12601 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-05 15:50:30 +00:00
Ryan Boren
974b6c1ce4
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Peter Westwood
a752e6b561
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12584 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-30 16:23:39 +00:00
Peter Westwood
b864f78853
Fix notices in get_the_title() when passed an invalid id. Also ensure that the filter gets the invalid id so a plugin can supply a default title instead. Fixes #11435 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12550 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-27 08:57:33 +00:00
Peter Westwood
b607185b4e
Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12537 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-24 11:12:04 +00:00
Ryan Boren
6de4fcc190
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12513 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 15:16:53 +00:00
Peter Westwood
ca583c9b1a
Improve the revision comparison user interface to hilight that we compare "old on left" to "new on right". Includes some js to hide the radio buttons to stop you selecting reverse comparisions.
...
Fixes #11088 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@12500 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-23 09:15:13 +00:00
Mark Jaquith
dd1d1be280
Get rid of stray comma. fixes #10977 . props kevinB
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12327 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-06 18:01:01 +00:00
Ryan Boren
97f159fd2d
Return if no post to avoid warnings
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12208 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-18 21:04:09 +00:00
Ryan Boren
8565a52fb0
Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12194 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-16 22:44:59 +00:00
Ryan Boren
08c7020ab8
Propagate walker arg down the stack. Props scribu. fixes #10921
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12149 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-05 22:01:53 +00:00
Peter Westwood
20bd817385
Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12134 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:10:06 +00:00
Andrew Ozz
9b809c318d
Remove unused vars in get_the_content and wp_link_pages, props filosofo, fixes #11028
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12105 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-25 20:44:35 +00:00
Mark Jaquith
45b4ea5807
Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12035 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 12:31:48 +00:00
Mark Jaquith
77749a6009
First pass at canonical post image template functions. see #10928
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12019 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-10 08:31:21 +00:00
Peter Westwood
fa42eb41a2
Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12013 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:37:26 +00:00
Ryan Boren
bb4c840efb
Use ID, not user_id. Props filosofo. fixes #10709
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11990 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-01 17:52:01 +00:00
Ryan Boren
9ed83818a6
Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11936 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-15 15:40:17 +00:00
Ryan Boren
f4f70a6479
Prophylactic escapes
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11838 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-18 16:05:07 +00:00
Ryan Boren
efcea18935
Sort wp_page_menu() by menu_order. Props nathanrice. fixes #10266
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11642 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-26 05:24:02 +00:00
Ryan Boren
4c04805ade
Add missing brackets. Props westonruter. fixes #8446 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11567 602fd350-edb4-49c9-b593-d223f7449a82
2009-06-15 00:28:52 +00:00
Ryan Boren
e12c642c54
Trim tailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 23:47:49 +00:00
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