Ryan Boren
b0cae159ea
Put required field indicators within labels. Update styling of bundled themes to accommodate. Props MikeHansenMe. fixes #21897
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22123 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-05 16:34:32 +00:00
Ryan Boren
d6f78d6554
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22115 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-04 18:26:25 +00:00
Ryan Boren
e22b981706
Avoid 'Only variables should be assigned by reference' warning. Props wonderboymusic. see #21865
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22114 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-04 18:21:47 +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
Ryan Boren
d2774833b2
Introduce get_edit_user_link(). Props scribu, georgestephanis, johnbillion. fixes #14787 see #20307
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21364 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 18:30:03 +00:00
Ryan Boren
712e8a48d2
Don't attempt to define the COMMENTS_TEMPLATE constant twice. Props kitchin. fixes #21337
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21330 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 17:54:35 +00:00
Ryan Boren
c4b8b6b42a
Set the global comment var before invoking callbacks in wp_list_comments(). Props sirzooro. fixes #21184
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21324 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:27:48 +00:00
Ryan Boren
daf2f84da0
Don't allow unfiltered HTML comments from a frame. Props nacin. fixes #20812
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20974 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 20:47:08 +00:00
Andrew Nacin
20c3b25c7e
In comment_form(), pass the $post_id to comments_open(). props insertvisionhere. fixes #20572 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20641 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-30 01:47:22 +00:00
Ryan Boren
6f9ceb2326
Introduce WP_User::exists(). see #20372
...
git-svn-id: https://develop.svn.wordpress.org/trunk@20378 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 19:18:45 +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
Ryan Boren
a8d77cbae9
User lowercase true, false, null instead of uppercase. Props c3mdigital, mfields. fixes #16302
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19687 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:50:54 +00:00
Ryan Boren
c855c642ea
Clear strict notices for the walkers. fixes #19249
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19679 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 23:03:46 +00:00
Ryan Boren
676ba7043e
Use one space, not two, after trailing punctuation. fixes #19537
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19593 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-13 23:45:31 +00:00
Andrew Nacin
c107d9ffed
Don't use $user_identity global. props duck_. fixes #19146 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19284 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:35:44 +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
Ryan Boren
e73ec3abe0
Pass post id along to *comment_id_fields(). Props natecook. fixes #17193
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17812 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 19:33:47 +00:00
Andrew Nacin
18edc09e6a
More @since. props SergeyBiryukov, fixes #15445 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-20 09:25:21 +00:00
Peter Westwood
143c92e3ad
Revert [16649] - The core output on this is for logged out users only - need to rework this if we want to move the output. See #14510
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16704 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-03 09:44:17 +00:00
Ryan Boren
c8c8bf146d
Fix comment_notes_before. Props mrmist. fixes #14510
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16649 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-01 16:52:32 +00:00
Nikolay Bachiyski
3a01f911cd
comments_number() doesn't need to call get_the_ID(), because get_comments_number() does it if post ID is missing
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16613 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-29 17:34:43 +00:00
scribu
fc764ebc45
Remove nofollow on comment reply links. Fixes #10550
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16230 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-07 01:06:37 +00:00
Andrew Nacin
e2dfe4f5c2
Revert submit_button() for wp-includes, setup-config, install, login, signup. see [16061], see #15064 , fixes #15247 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16066 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 00:31:27 +00:00
Mark Jaquith
d65cdf4ba8
Expand submit_button() capabilities. Replace all (or almost all) manual HTML instances in WP. props sbressler. see #15064
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16061 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 21:56:43 +00:00
Andrew Nacin
7b6f24eeeb
Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 03:58:51 +00:00
Andrew Nacin
d8672ca5d8
Pass comment ID from comment_text to get_comment_text. Also add the comment object as context to the filter. fixes #14261
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15957 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-25 03:11:01 +00:00
Andrew Nacin
9494e4ce7e
Phpdoc argument/@param cleanups. props duck_, see #14783 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-07 11:21:11 +00:00
Andrew Nacin
457c37ff01
Adjustments to [15549]. See #11624 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15563 602fd350-edb4-49c9-b593-d223f7449a82
2010-09-04 15:51:04 +00:00
scribu
b3ef955990
Don't use the global anymore. Fixes #11624
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15549 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-28 11:57:28 +00:00
Peter Westwood
8d72c5172c
Fix the theme compat file require paths to be fully absolute so they don't rely on a particular php path to work. Fixes #14315 for trunk props dougal.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15433 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-16 09:40:09 +00:00
Andrew Nacin
fb83a22b94
Restore trackback_rdf(). reverts [13991]. fixes #11139 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15363 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-03 05:55:04 +00:00
Dion Hulse
7efc4efdaa
Alot more tabs. Props jacobsantos & Viper007bond. See #14147
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15355 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-30 00:05:18 +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
Andrew Nacin
542dea5b25
Use p instead of definition list for allowed tags in comment_form(). props demetris. Style the new markup in Twenty Ten. see #10910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14689 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 06:38:58 +00:00
Andrew Nacin
384cd5a9d3
Fix typos in phpdoc for comment_form(). props demetris, fixes #10910 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14538 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 08:47:13 +00:00
Ryan Boren
d783952469
Strip trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 20:26:11 +00:00
Nikolay Bachiyski
e9acc6d0b6
Take out the leading space from the translatable string
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14378 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:48:33 +00:00
Ryan Boren
57a5a11660
Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Peter Westwood
473772f395
First pass of compatibility code for old themes which relied on using templates from the default theme without expressly identifying it as the parent theme.
...
Fixes #12425 and #13009 .
The fallback to these template files is now depreceated and will be removed in a future version.
git-svn-id: https://develop.svn.wordpress.org/trunk@14365 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 09:57:24 +00:00
Ryan Boren
7fcda10d46
Escape links by default. Props alexkingorg. see #13051
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Peter Westwood
5dd4da6932
Revert [14268] - It is much better to use JavaScript for this kind of enhancement. Output buffering is too fragile. See #12564 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14274 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 07:17:20 +00:00
Andrew Nacin
54a577c537
Add full HTML filter to comment_form(), along with an echo arg. props joostdevalk, fixes #12564 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14268 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 04:28:51 +00:00
Andrew Nacin
46c6c0bcf7
Clarify language for non-publication of emails. props lloydbudd, fixes #13026 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14195 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-23 15:01:21 +00:00
Andrew Nacin
6e7fed8863
Switch to simpler language regarding publication of email addresses in comment_form() template. props bumbu, see #13026 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14132 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 04:49:19 +00:00
Dion Hulse
b85b748fdc
Respect the comment ID parameter in comment_excerpt(). Props tenpura. Fixes #12874
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14128 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-18 03:45:24 +00:00
Andrew Nacin
c7c442fce0
Move stray closing p tag out of a translation. props chrisbliss18, fixes #13036 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14119 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 22:27:37 +00:00
Andrew Nacin
026bdbc61c
Remove tabindex from comment_form(). fixes #12963
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14114 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-16 18:29:39 +00:00
Andrew Nacin
d295ecea10
Spacing/coding cleanup of comment_form(). see #13016 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14093 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:25:08 +00:00
Andrew Nacin
23d19f6753
Update the html comments in comment_form(). props iandstewart, fixes #13016 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14092 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-15 16:16:51 +00:00
Ryan Boren
c7eef601d4
Use WP_FALLBACK_THEME instead of default. Props MichaelH. see #12846
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14080 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-13 21:56:57 +00:00