WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Core Contributions Widget

Add a list of your accepted contributions to WordPress Core as a sidebar widget.

Not all of my Trac patches show up, what's wrong?

The system currently only parses the first page of search results. So your latest 10 patches will always be displayed.

How can I customize the templates?

Take a look at the default templates in the `/inc/1 directory that the widgets display by default:

  • wp-core-contributions-widget-template.php
  • wp-codex-contributions-widget-template.php

However, you can place a custom template in your theme directory to override this. Just place a wp-core-contributions-widget-template.php file in your theme directory to override the defaults.

Remember, all of the parsed Trac tickets are contained in the $items array. The total count of the user's contributions is contained in the $total variable. Aside from that, use any variables you like.

The Trac $items array is a collection of associative arrays each containing:

  • link -> A link to the actual Trac changeset.
  • changeset -> The ID of the changeset.
  • description -> The commit message for the changeset.
  • ticket -> The ID of the ticket fixed by the patch.

The parsed Codex pages are also contained in an $items array. The total count of the user's contributions is contained in the $total variable.

The Codex $items array is a collection of associative arrays, each containing:

  • title -> Title of the page being changed.
  • description -> Description of the change made.
  • revision -> Revision number according to the Codex wiki (used to create a link).
  • function_ref -> Boolean flag regarding whether or not the change was to a function reference. Removes "Function Reference/" from the page title.

Requires: 3.2.1 or higher
Compatible up to: 3.4.2
Last Updated: 2012-5-8
Downloads: 853

Ratings

5 stars
5 out of 5 stars

Support

0 of 1 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,1,1 100,2,2 100,3,3
100,1,1 100,2,2 100,1,1
100,2,2 100,3,3
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1