nacin
6590faa5ba
Shears.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:34:15 +00:00
nacin
6a073f6d47
Restore page-template-default body class. props peterwilsoncc, fixes #18018 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-11 05:31:57 +00:00
westi
bb74249c0d
Ensure that we always coerce the class list passed to get_body_class to an array even when it is empty. Fixes #17717
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-07 08:55:25 +00:00
ryan
47ff74214f
Return false from is_page_template() if the template is default. Props johnbillion. fixes #17458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-27 15:24:33 +00:00
nacin
8a0d83bebe
Apply esc_html properly in Walker_PageDropdown. fixes #17217 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-22 18:24:57 +00:00
nacin
66befd1f7e
Initialize a variable. props boonebgorges, fixes #16977 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-03-27 19:46:18 +00:00
nacin
ce0ebf0c95
Only add the post format post classes when the post type supports post formats. posts posts posts posts. props iandstewart, fixes #16224 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@17292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-13 23:02:24 +00:00
nacin
5c88aa5e8e
_get_post_ancestors() in Walker_Page. props layotte, fixes #14329 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-09 12:38:23 +00:00
markjaquith
9edf7af6b4
Another s/default/standard/. see #15582
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16693 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 21:24:41 +00:00
nacin
9134684d84
escape URL in wp_link_pages. fixes #14271 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-22 23:54:30 +00:00
nacin
b8ce0261df
More param fixes, props duck_. see #14783 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 19:12:48 +00:00
nacin
8ff32f52df
Add list_pages filter. props johnjamesjacoby, fixes #13668 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-18 02:23:05 +00:00
ryan
847499e531
Pinking shears
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 18:47:34 +00:00
markjaquith
78e63786d0
Add admin-bar class to body_class() if the admin bar is showing. fixes #15455
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16432 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:21:45 +00:00
nacin
81a8f2d3ce
Use square brackets instead of braces for string access. props hakre, fixes #13900 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-13 09:53:55 +00:00
westi
435c4c2dbf
Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu
98cda5bd65
Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
scribu
18116f12c6
Don't use deprecated category properties. Props filosofo. Fixes #15408
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 18:40:51 +00:00
markjaquith
75d045de8e
Add checks for WP_Error. props ptahdunbar. see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 04:10:56 +00:00
nacin
5f4a583fb1
Remove more create_function calls. props huichen, see #14424 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-11 22:50:36 +00:00
westi
9e30ccd803
Add support for ID style classes in get_body_class(). Fixes #12397 props filosofo
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 22:07:07 +00:00
scribu
e7318d2068
Skip category/tag queries if post type doesn't support them. Props mfields. Fixes #15322
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 12:47:19 +00:00
markjaquith
c6a5d1192c
Post Formats generate output in post_class() (format-foo), and body_class() (for single... single-format-foo). Now themers can support Post Formats with one line of PHP and by adding CSS! see #14746
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 06:48:56 +00:00
westi
85a7330154
Add the post status as a class so that a theme can easily style private posts differently. Fixes #15279 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:07:31 +00:00
westi
e52d8a51bb
Add a post class if a password is required for the post to be displayed. See #13860 props zeo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-01 18:05:33 +00:00
nacin
588523f119
Move Walker_Page* to post-template, Walker_Category* to category-template, and rm classes.php. see #10287 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-30 14:06:08 +00:00
nacin
0552424317
Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064 , fixes #15247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-29 00:31:27 +00:00
markjaquith
fc6e89da45
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 21:56:43 +00:00
westi
5169f2036c
Remove create_function usage during preview. See #14424 props ScottMac.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-28 07:25:30 +00:00
nacin
a38103b1a9
Body classes for custom taxonomies and terms. props nkuttler, fixes #15017 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-20 09:32:16 +00:00
nacin
7ef6752c9d
Custom post type archives, second pass. see #13818 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-15 19:44:57 +00:00
dd32
1380f38f95
Use the correct term_id field in get_body_class().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-24 11:58:21 +00:00
nacin
2671e9cc72
Some docs and corrections to _wp_link_page().
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-14 16:48:38 +00:00
scribu
f2c9a08521
Don't hardcode the pagination base. Fixes #12507
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-09-07 01:18:42 +00:00
scribu
950901ca92
Don't use the global anymore. Fixes #11624
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-08-28 11:57:28 +00:00
nacin
d22bec05b6
Two birds with one stone. fixes #13902 , props ocean90, wahgnube. fixes #13555 , props hakre.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-15 20:31:44 +00:00
ryan
17129fb62e
Cut 'em out, move 'em on, trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-02 20:04:07 +00:00
ryan
98111ddf95
Don't add sticky class if is_paged(). Props iandstewart. fixes #13666
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-06-01 15:03:49 +00:00
westi
8b4a635d8b
Move the escaping into get_guid() so we don't have to repeat ourselves. See #13555 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-26 17:27:18 +00:00
nacin
8475725f54
Context and translator comments for revisions column names. props dimadin, fixes #13434 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 19:20:22 +00:00
ryan
caf573b721
Fix viewing autosave revision for custom post types. Props duck_. fixes #13110
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-19 18:36:52 +00:00
nacin
2f7f75511b
Clarify that link_before and link_after text for wp_list_pages also applies to the current page which doesn't actually have a link. fixes #12247 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-16 06:11:43 +00:00
nacin
9fb099891f
Add trailing slash to some home_url() calls. props zeo, fixes #13245 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-04 17:13:11 +00:00
nacin
4d7c88f4a4
Introduce is_rtl(). Use it in core. It only becomes defined when locale is loaded, so it's impossible to use it too early. Deprecate the get_bloginfo('text_direction') call. fixes #13206 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@14360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-05-03 05:49:19 +00:00
dd32
8abdcecbfe
Fix notices in post_custom(). Props sirzooro. Fixes #11839
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-28 04:19:44 +00:00
dd32
a7126004c7
Fix unset notice on Revisions page for custom post_types. Use $post object instead of relying on a Global
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-20 01:10:01 +00:00
nacin
30d6eb32c6
Remove redundant isset() and empty() checks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-03-19 21:29:21 +00:00
dd32
70e4a7d880
Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 09:40:42 +00:00
nacin
2e2c626d97
Add filter to the args in wp_link_pages(). fixes #12158 props greenshady
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-28 01:46:39 +00:00
nacin
56c3658154
Add some whitespace to get_body_class(). props coffee2code. Clarify fallback parameter in sanitize_html_class(). see #11331
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 20:06:35 +00:00
nacin
325b5f6737
Pass post ID to post_class filter, even when calling post_class() without parameters in the loop. fixes #11878
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-27 17:49:49 +00:00
nacin
8b4e58529b
A call to arms for grammarians. Fixes #12228 fixes #11875 props kurtmckee, filosofo, jjj
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-26 05:46:08 +00:00
nacin
8bcc5969dc
Spelling and grammar fun. Fixes #11875 props cnorris23
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-24 20:13:23 +00:00
nacin
99ee3da2df
Add .type-{post_type} to post_class. fixes #11609
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-23 23:32:17 +00:00
dd32
679250491d
Variable Cleanup, Unused variables, Typo'd variables, unused code blocks. Fixes #12299
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-20 02:01:46 +00:00
dd32
b6bce1e1f0
Always set $link_text.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 11:12:47 +00:00
nacin
fd5f785cce
Move deprecated functions to deprecated.php. Deprecate get_the_attachment_link() for wp_get_attachment_link(), get_attachment_icon_src() for wp_get_attachment_image_src(),
...
get_attachment_icon() and get_attachment_innerHTML() for wp_get_attachment_image(), get_link() for get_bookmark(). Add missing deprecated version numbers. Add inline documentation to pluggable functions that are deprecated. See #11388
git-svn-id: http://svn.automattic.com/wordpress/trunk@13093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-13 06:39:51 +00:00
ryan
4ddde1ab9d
Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 22:05:05 +00:00
ryan
c9d92fc859
Trim trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-08 18:02:23 +00:00
ryan
0b2eaf01c5
Add id arg to wp_dropdown_pages(). Props jeremyclarke. fixes #11433
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 21:29:07 +00:00
ryan
01b992c457
Avoid call to setup_postdata(). Use get_queried_object_id(). Props filosofo. fixes #11439
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-27 17:45:49 +00:00
dd32
7f34057330
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: http://svn.automattic.com/wordpress/trunk@12751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-18 11:44:51 +00:00
westi
bf4a5241e1
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: http://svn.automattic.com/wordpress/trunk@12680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-09 10:03:55 +00:00
ryan
de5cecc69d
Sanitize page template class. Props willmot. fixes #11722
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-08 18:52:16 +00:00
ryan
ca59a472c8
Restore [10490], part of which was accidentally reverted.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-05 15:50:30 +00:00
ryan
ec8e347792
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-01-04 17:23:29 +00:00
westi
ff7831207c
Updates and improvements to _depreceated_argument. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-30 16:23:39 +00:00
westi
33dc129208
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: http://svn.automattic.com/wordpress/trunk@12550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-27 08:57:33 +00:00
westi
47a7b1b003
Fix typo in _deprecated_argument() and start using _deprecated_argument() in wp-includes files. See #11386 props nacin.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12537 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-24 11:12:04 +00:00
ryan
354607036c
Remove unneeded quotes around vars. Props johnbillion. fixes #10245
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 15:16:53 +00:00
westi
7ec819d925
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: http://svn.automattic.com/wordpress/trunk@12500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-23 09:15:13 +00:00
markjaquith
ef1593e6da
Get rid of stray comma. fixes #10977 . props kevinB
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-12-06 18:01:01 +00:00
ryan
039a004122
Return if no post to avoid warnings
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-18 21:04:09 +00:00
ryan
6c2248e2d2
Remove unnecessary variable initialization. Props nbachiyski. fixes #10736
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-16 22:44:59 +00:00
ryan
b75a06af15
Propagate walker arg down the stack. Props scribu. fixes #10921
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-05 22:01:53 +00:00
westi
7251aff3f3
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: http://svn.automattic.com/wordpress/trunk@12134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-01 10:10:06 +00:00
azaozz
a980fad82a
Remove unused vars in get_the_content and wp_link_pages, props filosofo, fixes #11028
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-25 20:44:35 +00:00
markjaquith
0dc4500e09
Allow theme devs to change attrs (like CSS class) of thumbnail images. props scribu. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-15 12:31:48 +00:00
markjaquith
831178162c
First pass at canonical post image template functions. see #10928
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-10 08:31:21 +00:00
westi
7fc17ec0bd
Add a title to the Home link output by wp_page_menu(). Fixes #10594 props amilanov.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-08 21:37:26 +00:00
ryan
0c557fdb02
Use ID, not user_id. Props filosofo. fixes #10709
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-10-01 17:52:01 +00:00
ryan
4942a41307
Pass args array to wp_list_pages filter. Props antonylesuisse. fixes #10034
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-09-15 15:40:17 +00:00
ryan
8513b29792
Prophylactic escapes
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-18 16:05:07 +00:00
ryan
8483a08d39
Sort wp_page_menu() by menu_order. Props nathanrice. fixes #10266
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-26 05:24:02 +00:00
ryan
8ffd022581
Add missing brackets. Props westonruter. fixes #8446 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11567 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-06-15 00:28:52 +00:00
ryan
2df887bd07
Trim tailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-24 23:47:49 +00:00
westi
fc3b5ba6da
Rename new function to sanitize_html_class() to hilight exactly what it is for, Fixes #8446 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 21:31:42 +00:00
westi
108f7c1063
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: http://svn.automattic.com/wordpress/trunk@11433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-22 17:44:26 +00:00
ryan
2b2e7e9478
Add more link and then force_balance_tags. Props Denis-de-Bernardy. fixes #9765
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-19 16:03:11 +00:00
westi
f4331cacbd
Migrate final get_author_name() calls to use get_the_author_meta() instead. See #9393 props sivel.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 22:32:48 +00:00
ryan
a0c7b65f7b
Use IDs instead of slugs in CSS classes ro avoid invalid class names. Props hakre. fixes #8446
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 17:11:57 +00:00
azaozz
99370b2b73
Add filter: the post content "more link", props JohnLamansky, fixes #9711
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-12 06:38:59 +00:00
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
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
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
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
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
18fb540124
Validation fixes for post revisions. Props mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 23:16:11 +00:00
ryan
0db872b5a1
Post revisions API cleanup from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-29 22:21:36 +00:00
ryan
3c8cb2b079
Revisioning for pages from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-09 15:59:17 +00:00
ryan
129d030c20
Move autosave to post revisions. Props mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-08 17:25:07 +00:00
westi
3cbcbbbfb4
Associate lables with form fields. Fixes #6859 props MarcoZ.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-05-04 10:37:06 +00:00
ryan
8591767741
Fix pass by ref error. Props DD32. fixes #6776 for trunk
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-20 06:45:13 +00:00
ryan
35086b850f
Post revisions from mdawaffe. see #6775
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-04-18 23:38:21 +00:00
matt
6be1f709f6
Return the content so everything doesn't go blank from [7491]. See #6537 . Hat tip: robmil.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 18:19:03 +00:00
ryan
cce67416a3
Taxonomy queries and urls. Props andy. see #6357
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-23 17:02:11 +00:00
markjaquith
0f026c38f9
Do not double-mark posts as "Private" in the admin. fixes #3146
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-19 21:33:47 +00:00
ryan
31abda9e0f
Image fixes from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-12 08:10:00 +00:00
ryan
c506a8173c
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-06 19:48:54 +00:00
matt
0456afb16d
New functions for attachment image display, fixes #6086 . Hat tip: tellyworth.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-04 04:21:37 +00:00
matt
bb22054028
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-03-03 04:17:37 +00:00
ryan
affd57730c
Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@7073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-27 22:38:02 +00:00
ryan
c5d19aed9c
Media library work from andy. see #5911
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-22 05:53:47 +00:00
ryan
8db820753e
Media handling updates from andy. fixes #5874
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-16 21:54:47 +00:00
ryan
8263948a96
Some notice fixes from Nazgul. fixes #3155
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6711 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-02-02 18:42:09 +00:00
ryan
8945a17651
Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-31 21:47:35 +00:00
westi
1aaec4ff30
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-10 20:51:07 +00:00
ryan
9bca1574ca
wp_list_pages() no longer requires get_pages() to do a hierarchical sort. Set hierarchical to false. see #5458
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-17 06:53:59 +00:00
ryan
028a159440
Remove unused vars. Props DD32. see #5418
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-12-06 19:49:33 +00:00
westi
714742b70e
Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-12 20:01:16 +00:00
westi
395fd9fc29
Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-10-07 07:35:20 +00:00
ryan
1fa2f6df66
the_title_attribute(). Props Nazgul. fixes #4731
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 22:50:59 +00:00
ryan
1d146b6153
Revert rename of more-link class. Props foolswisdom. fixes #4999
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-18 16:44:35 +00:00
ryan
ec182d74a6
Deprecate fakeit arg. Props Nazgul. fixes #4439
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 21:27:26 +00:00
ryan
321c310717
Remove trailing whitespace
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-03 23:32:58 +00:00
ryan
ed549303d7
Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-25 17:48:35 +00:00
ryan
9d3d20f063
Use EXTR_SKIP when extracting. see #4468
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 22:45:40 +00:00
markjaquith
7f44512c5d
Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 16:24:28 +00:00
ryan
2f09416258
Trim empty lines. Nothing but newline.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n
71a095d0ee
Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-31 12:29:46 +00:00
rob1n
e6c189902c
Use wp_parse_args(). fixes #4237
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:10:05 +00:00
rob1n
2e72244bde
has_excerpt() template tag. fixes #4177 for 2.3
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-22 04:25:47 +00:00
rob1n
43c0541e81
<!--more--> regex fixes. Props Nazgul. fixes #3698
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 22:47:36 +00:00
rob1n
f0da57ee4e
Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 16:52:58 +00:00
rob1n
61e18c550e
Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-11 05:38:30 +00:00
rob1n
4a4d37f9f3
Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-04-06 23:42:38 +00:00
markjaquith
8d0e670015
have wp_list_pages() default to menu_order sorting and only use post_title sorting as a secondary sort. props johnbillion. fixes #3924 for trunk.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-16 08:19:10 +00:00
markjaquith
05486cce3d
user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:18:43 +00:00
markjaquith
6cefc9b4a4
Cleaner and more complete fix for [5017]. fixes #3949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 06:09:52 +00:00
markjaquith
aa45fd5ee3
Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-10 05:54:12 +00:00
markjaquith
d0f79bb3f2
trailing tabs and whitespace cleanup.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-27 15:24:54 +00:00
ryan
e9fab607a0
Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-23 01:15:51 +00:00
ryan
86f90f6c3d
Check page ID only if is_page. fixes #3049
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-02-02 16:38:26 +00:00
ryan
30e3bd9d2b
Send to Editor fixes from mdawaffe. fixes #3594
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-16 18:10:54 +00:00
ryan
2d6e81e033
Pass all args to the page walker.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-12 03:54:22 +00:00
ryan
c5e22b5098
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-05 20:54:55 +00:00
ryan
716e89b369
Now with less bugs. fixes #3411
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:51:36 +00:00
ryan
cd99ca7b90
Attachment fixes from mdawaffe. fixes #3411
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-01-02 19:28:30 +00:00