2
0
Fork 0
mirror of https://github.com/discourse/wp-discourse.git synced 2025-10-03 08:59:21 +08:00
Commit graph

100 commits

Author SHA1 Message Date
Angus McLeod
22ee91dfb5
Two Five Seven (#541)
* Don't try to add url to <head> if it's not present

* Update js config and formatting for comment block and sidebar

* PHP Linting

* FIX: Don't auto-publish updates to existing posts.

See: https://meta.discourse.org/t/disable-posting-wordpress-articles-to-discourse-when-theyre-updated/204488

* Bump version and release notes.

* Fix remote-post.php linting

* Update tests.yml to install svn

* Re-generate comments js build
2025-04-15 16:53:23 -07:00
James Nylen
3fd1644c13
Fix HTML of avatars in quotes in comments (#369)
* Add alt attributes for participant avatars

* Add alt attributes for quote avatars in comment bodies

* Update formatting and utility usage, and fix tests.

* Convert add_avatar_alt to fix_avatars_in_quotes

Adds a fix for avatar srcs with relative protocols.

---------

Co-authored-by: timbocode <timbocode@gmail.com>
Co-authored-by: Angus McLeod <angus@mcleod.org.au>
2023-02-15 12:16:19 -08:00
Angus McLeod
420d577aa0
IMPROVE: add translation pipeline for configurable text (#422)
* IMPROVE: add translation pipeline for configurable text

* Update version and release notes

* Update ci.yml
2021-11-05 12:17:25 -07:00
Tim Hughes
ebd48f6e3d
Adds alt attribute for comment avatars (#368)
Comment avatars currently have an empty `alt` attribute - i.e. `alt=""`.

This PR simply adds `Avatar for {username}` for the `alt` description.
2020-09-04 11:15:38 -07:00
scossar
0b9cd0d78e
Add noreferrer noopener 2020-08-08 13:39:55 -07:00
scossar
c8a240f99f Changes for the plugin review 2019-07-31 15:48:52 -07:00
scossar
5887330eed Add post_id parameter to publish_format_html 2019-01-10 15:08:16 -08:00
scossar
9d649d728f Add sidebar for Gutenberg editor 2018-11-21 17:37:15 -08:00
scossar
f94f82650a Remove unnecessary unary operator 2018-08-17 14:02:55 -07:00
scossar
10b8069c0a Move discourse_topic_link into a separate function 2018-08-17 13:53:31 -07:00
scossar
60698c2c0b Merging changes from adamcapriola-adamcapriola-patch-2 2018-08-17 12:25:36 -07:00
Adam Capriola
f5d2e2a32f
Escape HTML 2018-08-16 15:12:47 -04:00
Adam Capriola
e3158c0ce3
Open links in new tab fix
Echos are missing to enable the "Open Links in New Tab" feature.
2018-08-16 14:23:23 -04:00
scossar
a8ccd1cd24 Changes for WordPress coding standards 2018-05-30 17:49:44 -07:00
scossar
465a8c0455 Use parameter to add odd/even class 2018-05-29 16:40:59 -07:00
scossar
904460e0af Remove old comments 2018-05-29 14:11:59 -07:00
scossar
fb4f6603b0 Delete file 2018-05-29 13:54:18 -07:00
scossar
4beb07f9af Add todo 2018-05-29 12:51:31 -07:00
scossar
13d89015de Don't use in foreach loop 2018-05-28 16:25:29 -07:00
scossar
ed1f302051 Call libxml_use_internal_errors outside of loop 2018-05-28 12:34:37 -07:00
scossar
b80e4295e0 Replace poll with link 2018-05-28 12:10:52 -07:00
scossar
7ccec54546 Changes for WordPress coding standards 2018-05-08 13:39:08 -07:00
scossar
136630c290 Add format_date function 2018-05-08 13:34:32 -07:00
scossar
5960e90485 Use echo esc_html instead of esc_html_e 2018-04-20 17:23:25 -07:00
scossar
afe819f10e Merge branch 'beta-join-discussion-link' into beta 2018-04-20 17:09:32 -07:00
scossar
30dbbe65f5 Use esc_html_e 2018-04-20 16:19:15 -07:00
scossar
8ed23247d9 Add doc comment parameter 2018-04-18 13:45:46 -07:00
scossar
4d0524ad3f Add discourse_comments_number argument 2018-04-18 12:59:43 -07:00
scossar
a954c3cd09 Fix doc comments 2018-03-01 15:54:07 -08:00
scossar
8856d2a8a6 Changes for WordPress coding standards 2018-03-01 15:19:23 -08:00
scossar
136afeae62 Use PluginOptions trait 2018-03-01 15:02:24 -08:00
scossar
5df64ddb3c Add link-to-existing-topic option 2018-02-02 14:47:17 -08:00
scossar
df07df8283 Remove extra space after equals sign 2017-12-27 12:19:48 -08:00
scossar
0a1f7b5580 Remove html and body tags that are added to the DOM Document 2017-12-27 12:08:14 -08:00
scossar
9ff609617e Use mb_convert_encoding 2017-12-26 20:20:14 -08:00
scossar
5a8d203752 Changes for WordPress coding standards 2017-12-20 16:10:48 -08:00
scossar
6b6e0b6a3f Add comments-loading classes 2017-12-10 13:41:45 -08:00
scossar
307529a3f9 Escape post_id data parameter 2017-12-10 13:35:31 -08:00
scossar
cacdcf6b50 Echo empty string to make codesniffer happy 2017-12-10 13:32:13 -08:00
scossar
ebfbbbc958 Use an id instead of a class for wpdc-comments div 2017-12-10 13:05:53 -08:00
scossar
5f1dcc57db Delete comments template file 2017-12-10 11:25:00 -08:00
scossar
e149579346 Add blank template file for when only Discourse comments are being used 2017-12-10 11:03:20 -08:00
scossar
a20411a171 Add DiscourseCommentFormatter class 2017-11-28 15:55:35 -08:00
scossar
e1b5c8ceba Changes for the codesniffer 2017-11-07 11:31:00 -08:00
scossar
31cd203e98 Remove commented code 2017-11-07 11:18:24 -08:00
scossar
b35aacc86c Call convert_relative_img_src_to_absolute if libxml isn't loaded 2017-11-07 11:18:00 -08:00
scossar
a543c899fa Use convert_relative_urls_to_absolute function 2017-11-06 16:45:25 -08:00
scossar
d3f2848f3f Add convert_relative_urls_to_absolute function 2017-11-06 16:44:56 -08:00
scossar
f56e60bfb8 Comment out mention js 2017-11-06 14:59:03 -08:00
scossar
560a041f5e Changes for the codesniffer 2017-10-13 14:41:25 -07:00