Andrew Nacin
05a9369919
Switch to a transient for is_multi_author(). props markjaquith, fixes #24445 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@24628 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-10 04:20:41 +00:00
Andrew Nacin
f6450ab8ce
esc_url() when printing a URL into an attribute, even when it is known to be safe. (see #17562 )
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23528 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:58:52 +00:00
Sergey Biryukov
edd0530290
Fix typo in phpdoc. see #23498 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23448 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-18 18:56:51 +00:00
Ryan Boren
31ec698423
Use get_post() instead of global $post.
...
Make the $post argument to get_post() optional, defaulting to the current post in The Loop.
Props nacin
see #21309
git-svn-id: https://develop.svn.wordpress.org/trunk@21735 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 16:29:28 +00:00
Andrew Nacin
c6689953bb
Add 'author' to rel attribute for get_the_author_link(). props sirzooro, CoenJacobs, Ipstenu. fixes #20047 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20615 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-27 18:17:41 +00:00
Andrew Nacin
a89d307726
Fix a notice in [20565] where get_the_author_meta() may be called prior to postdata from being set up. In this case, the function should return nothing (via the filter). props johnjamesjacoby. fixes #20529 . see #20285 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20575 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 14:41:23 +00:00
Ryan Boren
de4b2724fd
Remove key mangling code from get_the_author_meta(). Make it more inline with get_user_option(). Handle collision with old users table columns that are on old schema, particularly user_description.
...
Props scribu, fredwu.
Fixes #20285
git-svn-id: https://develop.svn.wordpress.org/trunk@20565 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-23 21:34:07 +00:00
Ryan Boren
2b186b0c45
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Andrew Nacin
e9a78f4ad7
Add a filter to is_multi_author(). props Viper007Bond, fixes #18600 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18649 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-07 13:53:53 +00:00
Jon Cave
205aa5ba5c
Fix typos in documentation (wp-includes/[a-h]). See #18560 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Andrew Nacin
a657a1986c
@since s/3.2/3.2.0/
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 04:40:18 +00:00
Ryan Boren
46d96c7704
Bring out the pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18254 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 23:01:45 +00:00
Andrew Ozz
0ea87b527d
Implement rel="author" in Twenty Eleven and Twenty Ten, props joostdevalk, fixes #17722
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18189 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 02:02:09 +00:00
Peter Westwood
a2c9d9247c
Introduce new is_multi_author() template tag to make it easier for themes to have different behaviour when a site has more than one
...
author. Fixes #14405 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@17901 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-12 07:14:44 +00:00
Mark Jaquith
3395cc4a62
Prevent Notice if the author object is not set.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17548 602fd350-edb4-49c9-b593-d223f7449a82
2011-03-23 21:25:35 +00:00
Ryan Boren
661e41e55b
Retrieve only IDs and then do a user fetch loop so that all required user data is present. Props scribu. fixes #15888
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17100 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-21 16:27:34 +00:00
Mark Jaquith
49b8323bad
The path goes INSIDE home_url(). fixes #15413
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16425 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 16:38:28 +00:00
Andrew Nacin
6dacb11d46
Use user_trailingslashit in get_author_posts_url(). fixes #15441 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16401 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-16 16:09:46 +00:00
Andrew Nacin
81c93c3e1f
Doc fix for get_author_posts_url. props simonwheatley, fixes #14249 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16033 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 07:15:23 +00:00
Dion Hulse
b5e7866d16
Sanitize meta keynames used as object properties on retrieval. Fixes #14924
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15692 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-04 02:55:11 +00:00
scribu
322e323b26
Clean up wp_list_authors(). See #10329
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15620 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-15 19:52:25 +00:00
scribu
9344ecc8b5
fix wp_getAuthors in xmlrpc.php. See #14572 and [15566]
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15567 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-05 14:49:52 +00:00
Andrew Nacin
6f57a1a3ec
s/echos/echoes/ in phpdoc. props demetris, fixes #13742 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15148 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-06 05:16:32 +00:00
Dion Hulse
491063c698
Tweak new strings for better typography. Props demetris. Fixes #12962
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14070 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 10:41:54 +00:00
Mark Jaquith
dddfbdfc5f
get_the_author_link(). props zoranzaric. fixes #12892
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14028 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-07 12:26:28 +00:00
Andrew Nacin
ec25a03906
Correct logic in wp_list_authors() for combinations of hide_empty and style args. fixes #10042
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13989 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 07:41:07 +00:00
Ryan Boren
1604a2e58b
Improve user listing performance. Props miqrogroove. see #11914
...
git-svn-id: https://develop.svn.wordpress.org/trunk@13576 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 19:08:30 +00:00
Ryan Boren
37d1acae71
Mainstream things that don't need to be multisite only. Formatting cleanups. see #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12699 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 22:23:58 +00:00
Ron Rennick
8b4fbdb503
merge in multisite login, wp-includes, See #11644
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-11 21:49:40 +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
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
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
Andrew Ozz
387ac8c9b5
Fix notices and phpdoc, props hakre, fixes #10758
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Peter Westwood
1ac5894933
Add a filter to the_author_posts_link(). Fixes #10691 props sirzooro and filosofo.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12012 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 21:04:04 +00:00
Peter Westwood
f55835e0db
Pass the to the {get_}the_author_meta filters. Fixes #10661 props scribu
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11849 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-20 16:21:44 +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
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
Ryan Boren
15539caf5e
Use get_the_author_meta(). Props sivel. see #9393
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11416 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-20 21:32:39 +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
Andrew Ozz
3bf18aa189
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 04:28:05 +00:00
Ryan Boren
7a78685b82
Use correct var. Update phpdoc. Props MichaelH, coffee2code. fixes #8776
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11142 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 19:55:29 +00:00
Ryan Boren
89ae94f80e
get_the_author_meta() and the_author_meta(). Props DD32, thee17. fixes #8776
...
git-svn-id: https://develop.svn.wordpress.org/trunk@11138 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 16:27:17 +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
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
Peter Westwood
1a7364a396
Add (get_)the_modified_author template tags. Fixes #9154 props tomontoast.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10661 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-27 17:54:47 +00:00
Ryan Boren
62accc75a9
wp_list_authors fixes. Props hailin. fixes #9229
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10644 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-25 01:13:32 +00:00
Peter Westwood
3dfe6e23ab
Enhance wp_list_authors() to support more of the standard output options. Props jacobsantos see #4420 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10570 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-15 09:06:24 +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
Peter Westwood
000f6ec3b6
phpDoc corrections for wp-includes. See #7550 props santosj.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8742 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-27 06:45:13 +00:00