[wp-meta] [Making WordPress.org] #6945: Create Props Block for Make Blogs and Deverloper Blog

Making WordPress.org noreply at wordpress.org
Wed Apr 26 06:54:51 UTC 2023


#6945: Create Props Block for Make Blogs and Deverloper Blog
-----------------------------------------------------+---------------------
 Reporter:  bph                                      |       Owner:  (none)
     Type:  enhancement                              |      Status:  new
 Priority:  normal                                   |   Milestone:
Component:  Make (Get Involved) / P2                 |  Resolution:
 Keywords:  dev-feedback good-first-bug needs-patch  |
-----------------------------------------------------+---------------------
Changes (by dd32):

 * keywords:  dev-feedback => dev-feedback good-first-bug needs-patch


Comment:

 If someone wants to give creating a patch a try (It seems like a pretty
 simple block!) you can make a PR against https://github.com/WordPress
 /wporg-mu-plugins/ adding a block to the blocks plugin. That contains a
 `wp-env` which you should be able to build & test within.

 To record props against an account,
 `WordPressdotorg\Profiles\add_activity( ... )` can be used - see
 https://github.com/WordPress/wordpress.org/blob/trunk/wordpress.org/public_html
 /wp-content/mu-plugins/pub/profile-helpers.php (Don't fret about the
 values you set, a meta-dev will need to refine the handling of it).

 I would suggest
  - Extends the Paragraph block
  - Upon publish/edit-after-publish the @mentions within the block get
 `add_activity()` called.
  - The message can probably be something as simple as `Received props in
 <link>`, or just the content of the block.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/6945#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list