Adding some options to comment paging. …

Adding some options to comment paging. Sort order and page order.

#comments

Some changes and improvements to threade …

Some changes and improvements to threaded comments: allows replying without JavaScriptJavaScript JavaScript or JS is an object-oriented computer programming language commonly used to create interactive effects within web browsers. WordPress makes extensive use of JS for a better user experience. While PHP is executed on the server, JS executes within a user’s browser. https://www.javascript.com/. (patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. contributed by Viper007Bond) and removes script dependency on jQuery. If the script fails for some reason (missing base css blocks, IDs, etc.) the no-js replying will be used instead.

Added 2 new template tags used to allow replying without js, comment_parent_field() comment_id_fields() outputs the hidden form fields holding the reference to the comment’s parent and the comment_post_ID, and comment_form_title() outputs a different title above the form when replying (optional).

Changes: cancel_comment_reply_link() takes only one argument text = ‘ ‘, the rest is set from js. The DIV surrounding it shouldn’t be hidden (for supporting no-js mode) and is optional.

#comments

Dogfooding threaded comments on this blo …

Dogfooding threaded comments on this blogblog (versus network, site).

#comments

sivel.net has a howto on using the new c …

sivel.net has a howto on using the new comments APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. to separate comments from pings

#comments

Alex landed a comment type filter for ed …

Alex landed a comment type filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. for edit-comments.php. You can view all types, just comments, just trackbacks, or just pingbacks.

#comments, #ui

Otto has a great post on updating themes …

Otto has a great post on updating themes to use threaded comments. If you try out the new comments APIAPI An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways., let us know what would make your life easier.

#comments

The comment paging patch is now usable. …

The comment paging patchpatch A special text file that describes changes to code, by identifying the files and lines which are added, removed, and altered. It may also be referred to as a diff. A patch can be applied to a codebase for testing. is now usable. Time for review and then hopefully commit.

#comments

Hailin got a start on adding paging to t …

Hailin got a start on adding paging to the walker. Need to take this and hook it up to wp_list_comments() to allow comment paging.

#comments, #todo

Added a “Close comments for old posts” …

Added a “Close comments for old posts” setting to Settings->Discussion. This is a popular pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party and oft requested feature.

#comments

Some suggestions to keep in mind while w …

Some suggestions to keep in mind while working on comments.

#comments, #ui