Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use WP Emojis in Messages subject, excerpt & content #123

Closed
wants to merge 1 commit into from

Conversation

imath
Copy link
Member

@imath imath commented Jul 1, 2023

  • Filter subject, excerpt & content template functions using the wp_staticize_emoji callback.
  • Update some Nouveau templates/ajax function to make sure these WP Emojis are rightly rendered.

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8928


This Pull Request is for code review only. Please keep all other discussion in the BuddyPress Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the WordPress Core Handbook for more details.

Update some Nouveau templates/ajax function to make sure these WP Emojis are rightly rendered.
imath added a commit to imath/BP-REST that referenced this pull request Jul 1, 2023
Instead of applying `wp_staticize_emoji` to subject and content which was ending up being stripped by the `wp_filter_kses` callback applied to the message subject template, move `wp_staticize_emoji` use inside BuddyPress core as a Messages filter.

See buddypress/buddypress#123

Fixes buddypress#485
@imath imath deleted the patch/8928 branch July 2, 2023 07:02
dcavins pushed a commit to dcavins/buddypress-wp-svn that referenced this pull request Jul 28, 2023
- Add filters to subject, excerpt & content template functions using the `wp_staticize_emoji` callback.
- Update some Nouveau templates/ajax functions to make sure these WP Emojis are rightly rendered.

Props niftythree

Fixes #8928
Closes buddypress/buddypress#123



git-svn-id: http://buddypress.svn.wordpress.org/trunk@13510 cdf35c40-ae34-48e0-9cc9-0c9da1808c22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant