Preserve Code Formatting

Software Screenshot:
Preserve Code Formatting
Software Details:
Version: 3.6
Upload Date: 1 Mar 15
Developer: Scott Reilly
Distribution Type: Freeware
Downloads: 26

Rating: 3.0/5 (Total Votes: 1)

This is a useful tool for WP developers or people who manually alter their WP code for better performance or an improved design.

Installation:

Unpack and upload it to the /wp-content/plugins/ directory.
Activate the plugin through the 'Plugins' menu in WordPress.

Features:

  • Prevent WordPress from HTML-encoding text (i.e. single- and double-quotes will not become curly; "--" and "---" will not become en dash and em dash, respectively; "..." will not become a horizontal ellipsis, etc)
  • Prevent most other plugins from modifying preserved code
  • Optionally preserve whitespace (in a variety of methods)
  • Optionally preserve code added in comments

What is new in this release:

  • Cast some variable as array to avoid potential PHP warnings
  • Add more unit tests
  • Update plugin framework to 039
  • Explicitly declare activation() and uninstall() static
  • Reformat plugin header
  • Minor code reformatting (spacing, bracing)
  • Change documentation links to wp.org to be https
  • Minor documentation spacing changes throughout
  • Note compatibility through WP 4.1+
  • Update copyright date (2015)
  • Add plugin icon

What is new in version 3.1:

  • Fix to properly register activation and uninstall hooks.
  • Update plugin framework to version v023.
  • Save a static version of itself in class variable $instance.
  • Deprecate use of global variable $c2c_preserve_code_formatting to store instance.
  • Add __construct(), activation(), and uninstall().
  • Explicitly declare functions public and variable private.
  • Remove declarations of instance variable which have since become part of the plugin framework.
  • Note compatibility through WP 3.2+.
  • Drop compatibility with version of WP older than 3.0.
  • Minor code formatting changes (spacing).
  • Update copyright date (2011).
  • Add plugin homepage and author links in description in readme.txt.

What is new in version 2.5.4:

  • Fixed some borked code preservation by restoring some processing removed in previous release.

Requirements:

  • WordPress 3 or higher

Similar Software

WP to Buffer
WP to Buffer

13 May 15

WP-jTweets
WP-jTweets

13 Apr 15

Other Software of Developer Scott Reilly

Comments to Preserve Code Formatting

Comments not found
Add Comment
Turn on images!