Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…
About Peter’s Post Notes
This plugin allows users to add notes to the sidebar of the add and edit post/page screens in WordPress. These notes can be sent along with collaboration emails and there is also a general and private notes system on the dashboard. The plugin requires WordPress 3.2 or higher.Changelog
2.0.1
Security release.
- Security: public General Notes are now visible only to users who can edit posts (Contributors and up), or who meet the “capability required to add public general notes” setting. Before, any logged-in user, including subscribers and WooCommerce customers, could read them. Those users keep the General Notes widget for their own private notes.
- Fix: when several admin requests ran the update from 1.x at the same time, some notes could lose their backslashes (for example
C:\pathbecameC:path). The update now uses a database lock, so it runs only once. - Fix: adding an empty note through the REST API now returns a clear “Please write a note first.” error instead of a database error.
- WooCommerce orders are no longer offered as a post type for notes (WooCommerce has its own order notes). Sites that already use them keep the option.
- Developers: new filter
ppn_general_notes_view_capability(defaultedit_posts) to change who can see public General Notes.
2.0.0
The plugin is under new ownership. Security and compatibility release. Requires WordPress 6.0+ and PHP 7.4+.
- Security: all actions now require a valid nonce (fixes cross-site request forgery on editing notes, adding dashboard notes and adding notes on save).
- Security: all output is escaped (fixes stored XSS through post titles and note content in the dashboard widgets, the meta box and the post list).
- Security: notes on a post can only be read or changed by users who can edit that post. Private notes can only be changed by their author.
- Security: settings are validated against the real roles, capabilities and post types. All database queries are prepared.
- Block editor support: add, edit and delete notes instantly. A note left in the box is added when the post is saved.
- Your own notes have a highlighted background in the notes box and both dashboard widgets, so they stand out from your team’s notes.
- Replaced the deprecated tw-sack library with the WordPress REST API.
- The “Latest note” column now appears for pages and every enabled post type, and loads with a single query.
- Dashboard widget no longer uses query_posts().
- Database: added a primary key and indexes to the notes tables. Existing notes are migrated automatically on update.
- Fixed accented characters and emoji being lost on sites whose notes tables use the latin1 charset.
- PHP 8.x compatibility fixes.
- Text domain changed to “peters-post-notes” for wordpress.org language packs.
- The charset setting was removed; the site charset is used.
1.6.5
- 2017-11-18: Add CSRF protection to note deletions and settings updates. (Thanks Jesse!)
1.6.4
- 2017-03-11: In the Collaboration Notes dashboard, skip notes attached to non-existent posts. (Thanks Alex!)
1.6.3
- 2016-11-19: Bug fixes: do not show private notes in “Latest notes” column; fix capability check when showing “Edit” links. (Thanks Alex!)
1.6.2
- 2016-11-06: Fix query bug for users with no associated posts. (Thanks Alex!) Also remove code warning when displaying an unlimited number of notes.
1.6.1
- 2016-02-13: Improve UX by wrapping checkboxes inside labels. (Thanks Hrohh!)
1.6.0
- 2016-02-12: Support private notes on posts.
1.5.4
- 2016-01-06: Make all strings translatable and put translation files in their own folder. (Thanks Luis González Jaime!)
1.5.3
- 2014-05-10: Bug fix: strip slashes in Latest Note column.
1.5.2
- 2013-10-07: Support PHP 5 static function calls, bumping WordPress requirement to 3.2+.
1.5.1
- 2013-07-06: Tighten up spacing in notes displays.
1.5.0
- 2013-01-24: Allow editing of plugin settings via the WordPress admin interface so that settings persist after upgrades.
1.4.1
- 2013-01-10: Support dates formatted according to locale (Thanks Alexander!)
1.4.0
- 2013-01-09: Added setting $ppn_general_notes_required_capability to control who can post general notes on the dashboard. Made plugin SSL compatible (thanks llch!). Also, minor code cleanup.
1.3.1
- 2011-08-13: Minor code cleanup to remove unnecessary error notices.
1.3.0
- 2011-07-03: Added “Latest note” column to the manage posts view.
1.2.0
- 2010-08-02: Added a couple of settings so that you can grant specific roles and/or capabilities the ability to edit and delete any note. Also added a setting to allow basic HTML in notes.
1.1.0
- 2010-04-24: Added option to move “add note” box for posts to the notes window. Added a couple of settings so that you grant only specific roles and/or capabilities the ability to view all collaboration notes. Added support for custom post types. Also fixed a couple of bugs with line breaks and pagination on general notes.
1.0.8
- 2010-04-11: Fixed bug where line breaks weren’t preserved when first adding a note. (Thanks SNURK!)
1.0.7
- 2010-04-02: Added a check in the “save note” function to prevent the same note from being posted twice in a row.
1.0.6
- 2010-01-11: Plugin now removes its database tables when it is uninstalled, instead of when it is deactivated. This prevents the notes from being deleted when upgrading WordPress automatically.
1.0.5
- 2009-11-24: More efficient loading of notes if there are no relevant posts for the current user.
1.0.4
- 2009-09-20: Fixed a bug in date translations. (Thanks Denis!)
1.0.3
- 2009-09-19: Fixed a bug in the query to show other users’ posts on the dashboard. (Thanks martijn!) Also added proper code call to support translations. (Thanks dreb!)
1.0.2
- 2009-06-27: Fixed a display compatibility issue within the WordPress post form.
1.0.1
- 2009-06-23: Fixed minor issue where general notes database table wasn’t being created on some installs.
1.0.0
- 2009-04-08: Added general and private notes system on the dashboard. Fixed UTF-8 encoding and line breaks in notes.
0.3
- 2009-01-17: Added “Notes” window to pages. Also added an option (in this plugin file) for the Dashboard “Notes” window: show either all notes by everybody, notes by everybody on relevant posts / pages, and notes by other people on relevant posts / pages.
0.2
- 2008-12-28: Added ability for users to edit and delete their own notes. Uses Ajax, so JavaScript must be enabled in your browser.
0.1
- 2008-11-10: First release.