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
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
Ryan Boren
6dc8dd451a
wp_page_menu(). see #7698
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8848 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-08 18:56:54 +00:00
Ryan Boren
973fdc9b43
show sticky class only when is_home. Props MtDewVirus. fixes #7712
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8847 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-08 18:56:13 +00:00
Ryan Boren
d7cbc74497
Skeleton phpdoc for post-template.php. Props jacobsantos. see #7659
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8809 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-04 23:12:08 +00:00
Ryan Boren
a487b60f71
post_password_required(). fixes #7679
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8800 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-03 19:54:14 +00:00
Ryan Boren
21400530e1
get_post_class() from mdawaffe. see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8643 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 23:26:14 +00:00
Ryan Boren
6992ce6781
Initialize classes array. see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8642 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:59:52 +00:00
Ryan Boren
812ff9b44f
Add more classes to post_class(). see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8641 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 21:58:06 +00:00
Ryan Boren
198e2f10e0
phpdoc fix up for post_class(). see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8639 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:10:44 +00:00
Ryan Boren
47194e9cd7
Add post_class() template function for emitting standard classes for post div. see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8638 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 19:09:08 +00:00
Ryan Boren
2b8caf9a1f
Add sticky_class() template tag. see #7457
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8637 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-13 18:21:52 +00:00
Ryan Boren
2272a1a950
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Mark Jaquith
3cab99fbd2
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-06 20:31:54 +00:00
Peter Westwood
5260a37685
Allow the default more string to be translated. Fixes #7449 props Viper007Bond.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8547 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-05 06:40:44 +00:00
Ryan Boren
66c719f214
Validation fixes for post revisions. Props mdawaffe. see #6775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8012 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 23:16:11 +00:00
Ryan Boren
163aa65807
Post revisions API cleanup from mdawaffe. see #6775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8011 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-29 22:21:36 +00:00
Ryan Boren
1c4f5de9a1
Revisioning for pages from mdawaffe. see #6775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7913 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-09 15:59:17 +00:00
Ryan Boren
a1be16cf86
Move autosave to post revisions. Props mdawaffe. see #6775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7907 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-08 17:25:07 +00:00
Peter Westwood
f70f8d56cc
Associate lables with form fields. Fixes #6859 props MarcoZ.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren
c54046696b
Fix pass by ref error. Props DD32. fixes #6776 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7749 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-20 06:45:13 +00:00
Ryan Boren
c72fd439c6
Post revisions from mdawaffe. see #6775
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7747 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-18 23:38:21 +00:00
Matt Mullenweg
58714b0c30
Return the content so everything doesn't go blank from [7491]. See #6537 . Hat tip: robmil.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7492 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 18:19:03 +00:00
Ryan Boren
cbfb5d78b5
Taxonomy queries and urls. Props andy. see #6357
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-23 17:02:11 +00:00
Mark Jaquith
df6429885e
Do not double-mark posts as "Private" in the admin. fixes #3146
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7404 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-19 21:33:47 +00:00
Ryan Boren
32e414dbf4
Image fixes from andy. see #5911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7263 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-12 08:10:00 +00:00
Ryan Boren
7d6440bba2
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +00:00
Matt Mullenweg
cc3147ab22
New functions for attachment image display, fixes #6086 . Hat tip: tellyworth.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7149 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-04 04:21:37 +00:00
Matt Mullenweg
88bb527a19
Creating intermediate sizes, better thumbnails, and other image improvements. Hat tip: tellyworth.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7135 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-03 04:17:37 +00:00
Ryan Boren
75512587f1
Add current_page_item on page_for_posts. Props mdawaffe. fixes #2959
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7073 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-27 22:38:02 +00:00
Ryan Boren
579698f0b1
Media library work from andy. see #5911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6974 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 05:53:47 +00:00
Ryan Boren
c819fc307f
Media handling updates from andy. fixes #5874
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6876 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-16 21:54:47 +00:00
Ryan Boren
60b802e55d
Some notice fixes from Nazgul. fixes #3155
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6711 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-02 18:42:09 +00:00
Ryan Boren
36dffb5d2d
Add unique 'for' attribute to labels for post password forms. Props Nazgul. fixes #4721
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6698 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-31 21:47:35 +00:00
Peter Westwood
90e193bdab
Notice fixing for wp-includes. See #5607 props filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren
930b3c2b2e
wp_list_pages() no longer requires get_pages() to do a hierarchical sort. Set hierarchical to false. see #5458
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6399 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 06:53:59 +00:00
Ryan Boren
3a8b2fcca3
Remove unused vars. Props DD32. see #5418
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Peter Westwood
789b65933e
Add is_page_template() function to allow theme developers to detect that they are is a page template. Fixes #3335
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6228 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-12 20:01:16 +00:00
Peter Westwood
d36d0756e3
Define $constaint is all cases in get_attachment_icon() to fix E_NOTICE. Fixed #5159 props richcon.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6201 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-07 07:35:20 +00:00
Ryan Boren
ec05e6cfd7
the_title_attribute(). Props Nazgul. fixes #4731
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6132 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 22:50:59 +00:00
Ryan Boren
7941b7160a
Revert rename of more-link class. Props foolswisdom. fixes #4999
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6128 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:44:35 +00:00
Ryan Boren
3db6ccefb0
Deprecate fakeit arg. Props Nazgul. fixes #4439
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6114 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 21:27:26 +00:00
Ryan Boren
7a43c01e08
Remove trailing whitespace
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
72be6cb001
Move the_title filter to get_the_title. Props jhodgdon. fixes #4477
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5752 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-25 17:48:35 +00:00
Ryan Boren
09da00f7fe
Use EXTR_SKIP when extracting. see #4468
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +00:00
Mark Jaquith
0f0788d24d
Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +00:00
Ryan Boren
b046d67f41
Trim empty lines. Nothing but newline.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n
46745ee278
Don't translate "you haven't installed" text yet, because text domain isn't installed. Props nbachiyski.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5615 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 12:29:46 +00:00
rob1n
c213997f48
Use wp_parse_args(). fixes #4237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
rob1n
7aca30b768
has_excerpt() template tag. fixes #4177 for 2.3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5293 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-22 04:25:47 +00:00
rob1n
f8680b6c3a
<!--more--> regex fixes. Props Nazgul. fixes #3698
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5244 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 22:47:36 +00:00
rob1n
0fced13a94
Don't use fancy permalinks on draft previews. Props Viper007Bond. fixes #4117
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5242 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 16:52:58 +00:00
rob1n
95918aee5d
Add the_meta_key filter with $key and $value arguments. Props mdawaffe. fixes #2861
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5241 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-11 05:38:30 +00:00
rob1n
2e64f813ec
Set the post ID when calling wp_get_attachment_url(). Props chess64. fixes #4104
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5199 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-06 23:42:38 +00:00
Mark Jaquith
cb973fe273
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: https://develop.svn.wordpress.org/trunk@5049 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 08:19:10 +00:00
Mark Jaquith
e2f9950018
user_trailingslashit filter for users who sometimes want trailing slashes only on certain URL types. fixes #3899
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5019 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:18:43 +00:00
Mark Jaquith
b2105a943e
Cleaner and more complete fix for [5017]. fixes #3949
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5018 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 06:09:52 +00:00
Mark Jaquith
af92eb9142
Respect user trailing slash preference for multipage posts and eliminate redundant /1/. fixes #3949
...
git-svn-id: https://develop.svn.wordpress.org/trunk@5017 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 05:54:12 +00:00
Mark Jaquith
5acfcd9fea
trailing tabs and whitespace cleanup.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren
4ff1f542b8
Change more from anchor to span for proper validation. Props coolmann and rob1n. fixes #3530
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4925 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-23 01:15:51 +00:00
Ryan Boren
ae8cc717ac
Check page ID only if is_page. fixes #3049
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4863 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-02 16:38:26 +00:00
Ryan Boren
21fdc53a8f
Send to Editor fixes from mdawaffe. fixes #3594
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4748 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 18:10:54 +00:00
Ryan Boren
b9719b9a71
Pass all args to the page walker.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 03:54:22 +00:00
Ryan Boren
ac7d4b46cc
wp_get_attachment_thumb_url() fix from mdawaffe. fixes #3520
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4682 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-05 20:54:55 +00:00
Ryan Boren
29d5c032ce
Now with less bugs. fixes #3411
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4671 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:51:36 +00:00
Ryan Boren
368695f87d
Attachment fixes from mdawaffe. fixes #3411
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4670 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-02 19:28:30 +00:00
Mark Jaquith
a011b23b47
Whitespace cleanup for [4656]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4657 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:45:58 +00:00
Mark Jaquith
31c39f948d
new function for escaping within attributes: attribute_escape()
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Ryan Boren
32c1d247ac
Attachment data abstraction from mdawaffe. fixes #3440
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4612 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-05 22:37:19 +00:00
Mark Jaquith
8ac738081e
trailingslashit() fix for paged posts links from activeingredient. fixes #3163
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4603 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 14:42:34 +00:00
Mark Jaquith
5a35e93a0a
global exclude filter for wp_list_pages(). fixes #3402
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4586 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-03 09:23:17 +00:00
Ryan Boren
80203b1777
Don't use 'import' as a mime type. Props mdawaffe and westi. fixes #3219
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4552 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:56:06 +00:00
Mark Jaquith
e4896b513a
Entity encode image title attribute. Props mdawaffe. fixes #3258
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4402 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-17 18:24:36 +00:00
Mark Jaquith
836286e8ec
Post meta caching fix by mdawaffe. fixes #3229
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4372 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-11 09:18:54 +00:00
Ryan Boren
08ca04f068
more-link css class. Props Viper007Bond. fixes #3009
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4278 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:46:45 +00:00
Ryan Boren
0022e717d8
Show more link in RSS. Don't show more link if more link text empty. Take more into account when creating excerpt.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4184 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-11 23:59:00 +00:00
Ryan Boren
aa0adc291e
Get pages by author[s]. Props westi. fixes #1486
...
git-svn-id: https://develop.svn.wordpress.org/trunk@4180 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-10 17:47:49 +00:00