Commit Graph

205 Commits

Author SHA1 Message Date
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
Andrew Nacin 72f51642c5 Add @since.
git-svn-id: https://develop.svn.wordpress.org/trunk@14073 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 15:23:20 +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
Dion Hulse 57749e1d2c Introduce get_comment_id_fields() as a Getter for comment_id_fields(). Introduce a filter on the output to add extra fields. Props zoranzaric. Fixes #12893
git-svn-id: https://develop.svn.wordpress.org/trunk@14067 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-11 08:56:18 +00:00
Andrew Nacin 3c295f3a59 Deprecate trackback_rdf(). fixes #11139
git-svn-id: https://develop.svn.wordpress.org/trunk@13991 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-04 10:04:56 +00:00
Dion Hulse db55fa0abb Reduce Code duplication. Rely on parent class to do the heavy lifting, just tack the comment addition on the end. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13939 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:33:18 +00:00
Dion Hulse 393c94d1a5 Move children of nested levels not shown to after the current element, not inside it like children. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13938 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 05:13:57 +00:00
Dion Hulse 5c306d5ca4 Fix out-of-order comments when comment nesting is reduced. Displays child comments on the same level after its "parent" in the case that the max_depth has been hit. See #8841
git-svn-id: https://develop.svn.wordpress.org/trunk@13932 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:05:01 +00:00