Skip to content

Commit d92837c

Browse files
committed
Only include recent changelog entries in readme.txt
1 parent b97fc31 commit d92837c

File tree

1 file changed

+1
-380
lines changed

1 file changed

+1
-380
lines changed

readme.txt

Lines changed: 1 addition & 380 deletions
Original file line numberDiff line numberDiff line change
@@ -237,386 +237,7 @@ The best way to do this is to fork the [repository on GitHub](https://github.com
237237
* Fixed: Issue with incorrectly treating network snippets as site-wide for code validation
238238
* Improved: Rename 'Export to PHP' to 'Download', and add button to edit snippet page
239239

240-
= 2.9.6 (14 Jan 2018) =
241-
* Added Brazilian Portuguese translation by [Bruno Borges](http://brunoborges.info)
242-
* Fixed: Use standard WordPress capabilities instead of custom capabilities to prevent lockouts
243-
* Fixed: Multisite issue with retrieving active shared snippets from the wrong table causing duplicate snippet execution
244-
* Moved scope and other settings on single snippet page to below code area
245-
246-
= 2.9.5 (13 Jan 2018) =
247-
* Fixed: Undefined function error when accessing the database on multisite
248-
* Fixed: Ensured all admin headings are hierarchical for accessibility
249-
* Made the "Activate By Default" setting enabled by default for new installs
250-
* Updated CodeMirror to version 5.33
251-
252-
= 2.9.4 (19 Sep 2017) =
253-
* Fixed: Prevented PHP error from occurring when saving a snippet
254-
* Minor improvements to database creation function
255-
256-
= 2.9.3 (11 Sep 2017) =
257-
* Fixed: Prevent snippets from being executed twice when saving due to invalid ID being passed to allow_execute_snippet filter
258-
* Fixed: Re-enabled output suppression when executing snippets
259-
260-
= 2.9.2 (8 Sep 2017) =
261-
* Fixed: Do not attempt to combine queries for fetching local and multisite snippets
262-
263-
= 2.9.1 (7 Sep 2017) =
264-
* Fixed: Prevent illegal mix of collations errors when fetching snippets from database tables with different collations [[#](https://wordpress.org/support/topic/issue-on-multisite-with-wpml/)]
265-
266-
= 2.9.0 (6 Sep 2017) =
267-
* Fixed: Prevented invalid properties from being set when saving a snippet
268-
* Fixed: Use the correct protocol when saving a snippet
269-
* Improved: Moved code to disable snippet execution into a filter hook
270-
* Fixed: Active shared snippets not being updated correctly
271-
* Improved: execute_active_snippets() function updated with improved efficiency
272-
* Improved: Renamed Snippet class to avoid name collisions with other plugins
273-
* Improved: Don't hide output when executing a snippet
274-
* Updated CodeMirror to version 5.28.0
275-
276-
= 2.8.6 (14 May 2017) =
277-
* Ensure that get_snippets() function retrieves snippets with the correct 'network' setting. Fixes snippet edit links in network admin.
278-
* Fix snippet description field alias not mapping correctly
279-
280-
= 2.8.5 (13 May 2017) =
281-
* Ensured HTML in snippet titles is escaped in snippets table
282-
* Added Indonesian translation by Jordan Silaen from ChameleonJohn.com
283-
* Disallowed undefined fields to be set on the Snippets class
284-
* Prevented shared network snippets from being included twice in snippets table on multisite
285-
* Added setting to hide network snippets on subsites
286-
287-
= 2.8.4 (29 April 2017) =
288-
* Fixed all snippets being treated as network snippets on non-multisite sites
289-
290-
= 2.8.3 (29 April 2017) =
291-
* Updated CodeMirror to version 5.25.0
292-
* Show network active snippets as read-only on multisite subsites
293-
* Added more compete output escaping to prevent XSS errors
294-
295-
= 2.8.2 (27 Feb 2017) =
296-
* Fix bug introduced in 2.8.1 that broke code verification functionality by executing code twice
297-
298-
= 2.8.1 (25 Feb 2017) =
299-
* Updated German translation
300-
* Fixed admin menu items not translating
301-
* Removed possible conflict between Debug Bar Console plugin ([#](https://github.com/sheabunge/code-snippets/issues/52))
302-
* Corrected editor alignment on RTL sites ([#](https://wordpress.org/support/topic/suggestion-css-fix-for-rtl-sites/))
303-
* Fixed bulk actions running when Filter button is clicked ([#](https://wordpress.org/support/topic/bug-with-filtering-action-buttons/))
304-
* Updated CodeMirror to version 5.24.0
305-
306-
= 2.8.0 (14 Dec 2016) =
307-
* Fixed Italian translation errors. Props to @arsenalemusica
308-
* Renamed 'Manage' admin menu label to 'All Snippets' to keep in line with other admin menu labels
309-
* Renamed placeholder on snippet name field to 'Enter title here'
310-
* Removed CodeMirror search functionality
311-
* Moved 'Edit Snippet' admin menu above 'Add New' menu
312-
* Made pressing Ctrl-Enter in the code editor save the snippet
313-
* Updated CodeMirror to version 5.21.0
314-
315-
= 2.7.3 (24 Oct 2016) =
316-
* Updated CodeMirror to version 5.10.0
317-
* Fixed a few strings not being translated
318-
319-
= 2.7.2 (1 Oct 2016) =
320-
* Updated German translation by [Mario Siegmann](https://web-alltag.de)
321-
322-
= 2.7.1 (30 Sep 2016) =
323-
* Added Dutch translation by Sander Spies
324-
* Ensured that the editor theme setting is properly validated. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
325-
* Ensured that snippet tags are properly escaped. Thanks to [Netsparker](https://www.netsparker.com) for reporting.
326-
* Updated CodeMirror to version 5.19.0
327-
328-
= 2.7.0 (23 July 2016) =
329-
* Fixed plugin translations being loaded
330-
* Increase default snippets per page so that all are usually shown
331-
* Fixed description field not being imported
332-
* Updated German translation by [Mario Siegmann](https://web-alltag.de)
333-
* Fixed issue with CodeMirror rubyblue theme [[#](https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me)]
334-
* Added query var to disable snippet execution. To use, add `?snippets-safe-mode=true` to the URL
335-
* Fixed snippet fields not importing
336-
* Updated CodeMirror to version 5.17.0
337-
* Fixed a minor XSS vulnerability discovered by Burak Kelebek [[#](https://wordpress.org/support/topic/security-vulnerability-20)]
338-
339-
= 2.6.1 (10 Feb 2016) =
340-
* Updated German translation by [Mario Siegmann](https://web-alltag.de)
341-
* Fixed error catching not working correctly
342-
* Updated error catching to work with snippets including functions and classes
343-
* Fixed editor autoresizing
344-
345-
= 2.6.0 (31 Dec 2015) =
346-
* Reconfigured plugin to use classloader and converted a lot of functional code into OOP code
347-
* Updated CodeMirror to version 5.10.0
348-
* Added `[code_snippets]` shortcode for embedding snippet code in a post
349-
* Fixed broken snippet search feature [[#](https://wordpress.org/support/topic/search-is-not-working-6)]
350-
* Added front-end syntax highlighting for shortcode using [PrismJS](https://prismjs.com)
351-
352-
= 2.5.1 (11 Oct 2016) =
353-
* Fixed: Ensure errors are fatal before catching them during error checking
354-
* Fixed: Escape the snippet name on the edit page to ensure it displays correctly
355-
* Fixed: Exclude snippets with named functions from error checking so they do not run twice
356-
357-
= 2.5.0 (8 Oct 2015) =
358-
* Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message
359-
* Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class
360-
361-
= 2.4.2 (27 Sep 2015) =
362-
* Added query variable to activate safe mode
363-
* Fixed settings not saving
364-
* Fixed snippet descriptions not displaying on manage menu
365-
* Added settings to disable description and tag editors
366-
* Fixed: Load CodeMirror after plugin styles to fix error with Zenburn theme
367-
* Fixed: Hide snippet scope icons when the scope selector is disabled
368-
* Fixed description heading on edt snippet menu being hidden when visual editor disabled
369-
* Updated editor preview updating code to use vanilla JavaScript instead of jQuery
370-
* Fixed: Deactivate a shared network snippet on all subsites when it looses its sharing status
371-
372-
= 2.4.1 (17 Sep 2015) =
373-
* Fixed CodeMirror themes not being detected on settings page [[#](https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme)]
374-
375-
= 2.4.0 (17 Sep 2015) =
376-
* Added ability to share network snippets to individual sites on WordPress multisite
377-
* Improved code directory and class structure
378-
* Remove legacy code for pre-3.6 compatibility
379-
* Improved code for printing admin messages
380-
* Updated German translation (Joerg Knoerchen)
381-
* Added `code_snippets/after_execute_snippet` filter
382-
* Added class for individual snippets
383-
* Updated `get_snippets()` function to retrieve individual snippets
384-
* Removed scope statuses and added fixed tags to indicate scope
385-
* Changed admin page headers to use `<h1>` tags instead of `<h2>` tags
386-
* Updated CodeMirror to version 5.6
387-
* Removed snippet settings page from network admin
388-
389-
= 2.3.0 (20 May 2015) =
390-
* Removed nested functions
391-
* Added icons for admin and front-end snippets to manage table
392-
* Improved settings retrieval by caching settings
393-
* Updated Russian translation by [Alexey Chumakov](http://chumakov.ru/)
394-
* Added filter switch to prevent a snippet from executing ([#25](https://github.com/sheabunge/code-snippets/issues/25))
395-
* Fixed errors in string translation
396-
* Fixed bug in import process ([#32](https://github.com/sheabunge/code-snippets/issues/32))
397-
398-
= 2.2.3 (13 May 2015) =
399-
* Fixed broken call to `export_snippet()` function
400-
* Added support for importing and exporting snippet scope
401-
* Fixed duplicate primary key database error
402-
* Improved database table structure
403-
404-
= 2.2.2 (11 May 2015) =
405-
* Polyfilled array_replace_recursive() function for PHP 5.2
406-
* Updated references to old plugin site
407-
* Resolved JavaScript error on edit snippet pages
408-
* Made minor updates to French translation file
409-
* Added statuses for snippet scopes on manage snippets table
410-
411-
= 2.2.1 (10 May 2015) =
412-
* Fixed the default values of new setting not being applied
413-
* Fixed missing background of tags input
414-
415-
= 2.2.0 (10 May 2015) =
416-
* Introduced CodeSniffer testing on code
417-
* Fixed description heading disappearing when media buttons enabled
418-
* Added snippet scope selector
419-
* Minified all CSS and JS in plugin
420-
* Made CodeMirror theme names more readable
421-
* Fixed bug causing translations to not be loaded
422-
423-
= 2.1.0 (09 May 2015) =
424-
* Added additional setting descriptions
425-
* Added settings for code and description editor height
426-
* Updated CodeMirror to version 5.2
427-
* Fixed not escaping the request URL when using query arg functions
428-
* Improved efficiency of settings component
429-
430-
= 2.0.3 (17 Mar 2015) =
431-
* Updated German translation by [Joerg Knoerchen](https://www.sensorgrafie.de/)
432-
433-
= 2.0.2 (05 Mar 2015) =
434-
* Fix error in table creation code
435-
* Remove settings database option when plugin is uninstalled
436-
437-
= 2.0.1 (25 Feb 2015) =
438-
* Fixed table creation code not running on upgrade
439-
* Fixed snippets per page option not saving
440-
441-
= 2.0 (24 Feb 2015) =
442-
* __Highlights:__
443-
* Better import/export functionality
444-
* New settings page with code editor settings
445-
* Code rewritten for cleaner and more efficient code
446-
* Lots of new translations
447-
* __Added:__
448-
* Added link to Code Snippets importer under Snippets admin menu
449-
* Added settings component and admin page
450-
* Added support for different CodeMirror themes
451-
* Integrated tags component into main plugin. Current users of the Code Snippets Tags plugin can safely uninstall it.
452-
* Added Auto Close Brackets CodeMirror addon (props to TronicLabs)
453-
* Added Croatian translation by Borisa Djuraskovic from [Web Hosting Hub](https://www.webhostinghub.com)
454-
* Added Highlight Selection Matches CodeMirror addon (props to TronicLabs)
455-
* Added Chinese translation thanks to Jincheng Shan
456-
* Added Russian translation by Alexander Samsonov
457-
* Added Slovak translation by [Ján Fajčák] from [WordPress Slovakia](https://wp.sk)
458-
* Added setting to always save and activate snippets by default
459-
* __Changed:__
460-
* Added braces to single-line conditionals in line with [new coding standards](https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/)
461-
* Split up large classes into separate functions
462-
* Improved plugin file structure
463-
* Replaced uninstall hook with single file method
464-
* Updated CodeMirror library to version 5.0
465-
* Rewritten import/export functionality to use DOMDocument
466-
* Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class
467-
* __Deprecated:__
468-
* Removed old admin style support
469-
* Removed backwards-compatible support
470-
* __Fixed:__
471-
* Fixed incompatibility errors with PHP 5.2
472-
* Fixed empty MO translation files
473-
* Removed duplicate MySQL primary key indexing
474-
475-
= 1.9.1.1 (3 Jan 2014) =
476-
* Add capability check to site snippets importer
477-
478-
= 1.9.1 (2 Jan 2014) =
479-
* Use an icon font for menu icon instead of embedded SVG
480-
* Use Sass (libsass) instead of Compass
481-
* Unminify CodeMirror scripts
482-
* Fixes for the WP 3.8 interface
483-
* Fix 'enable snippets menu for site admins' multisite setting
484-
485-
= 1.9 (11 Nov 2013) =
486-
* Add and remove network capabilities as super admins are added and removed
487-
* Updated MP6 icon implementation
488-
* Replaced buggy trim `<?php` and `?>` functionality with a much more reliable regex method ([#](https://wordpress.org/support/topic/character-gets-cut))
489-
* Added French translation thanks to translator [oWEB](http://office-web.net)
490-
* Fixed snippet failing to save when code contains `%` character, props to [nikan06](https://wordpress.org/support/profile/nikan06) ([#](https://wordpress.org/support/topic/percent-sign-bug))
491-
* Added 'Save & Deactivate' button to the edit snippet page ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page))
492-
* Removed edit and install capabilities (now only uses the manage capability)
493-
* Fixed HTML breaking in export files ([#](https://wordpress.org/support/topic/import-problem-7))
494-
* Make the title of each snippet on the manage page a clickable link to edit the snippet ([#](https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page?replies=9#post-4682757))
495-
* Added nonce to edit snippet page
496-
* Hide row actions on manage snippet page by default
497-
* Removed screenshots from plugin
498-
* Improved CodeMirror implementation
499-
* Added a fallback MP6 icon
500-
* Use the proper WordPress database APIs all of the time
501-
* Rewritten export functionality
502-
* Fixed incorrect export filename
503-
* Updated CodeMirror to version 3.19
504-
* Removed CodeMirror bundled with plugin
505-
* Updated WordPress.org plugin banner
506-
* Fixed CodeMirror incompatibility with the WP Editor plugin
507-
* Fixed CodeMirror incompatibility with the Debug Bar Console plugin
508-
509-
= 1.8.1.1 (18 Aug 2013) =
510-
511-
= 1.8.1 (29 July 2013) =
512-
* Compiled all CodeMirror scripts into a single file
513-
* Use Sass + Compass for CSS
514-
* Use Grunt for build automation
515-
* Minify CSS
516-
* Fixed code typo that was breaking export files
517-
* Updated CodeMirror to 3.15
518-
519-
= 1.8 (9 July 2013) =
520-
* Allow no snippet name or code to be set
521-
* Prevented an error on fresh multisite installations
522-
* Refactored code to use best practices
523-
* Improved database table creation method: on a single-site install, the snippets table will always be created. On a multisite install, the network snippets table will always be created; the site-specific table will always be created for the main site; for sub-sites the snippets table will only be created on a visit to a snippets admin page.
524-
* Updated to CodeMirror 3.14
525-
* Changes to filter and action hook API
526-
* Added error message handling for import snippets page
527-
* Don't encode HTML entities in database
528-
529-
= 1.7.1.2 (3 May 2013) =
530-
* Correct path to admin menu icon. Fixes [#8](https://github.com/sheabunge/code-snippets/issues/8)
531-
532-
= 1.7.1.1 (29 April 2013) =
533-
* Fixed a bug with custom capabilities and admin menus
534-
535-
= 1.7.1 (22 April 2013) =
536-
* Fix a bug with snippet being set as deactivated when saved
537-
* Updated PHP Documentation completely. [[View online](https://bungeshea.github.io/code-snippets/api)]
538-
* Only load admin functions when viewing dashboard
539-
* Added German translation thanks to [David Decker](https://deckerweb.de)
540-
* Allow or deny site administrators access to snippet admin menus. Set your preference in the **Enable Administration Menus** setting under the *Settings > Network Settings* network admin menu.
541-
* Improve database table creation and upgrade process
542-
* Optimized to use less database queries
543-
544-
= 1.7 (26 Mar 2013) =
545-
* Improved plugin API
546-
* Fixed a bug with saving snippets per page option ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991))
547-
* Updated CodeMirror to version 3.11
548-
* Allow plugin to be activated on individual sites on multisite ([#](https://wordpress.org/support/topic/dont-work-at-multisite))
549-
* Slimmed down the description visual editor
550-
* Added icon for the new MP6 admin UI ([#](https://wordpress.org/support/topic/icon-disappears-with-mp6))
551-
* Strip PHP tags from the beginning and end of a snippet on save ([#](https://wordpress.org/support/topic/php-tags))
552-
* Changed to [MIT license](https://opensource.org/licenses/mit-license.php)
553-
* Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up
554-
* Change label in admin menu when editing a snippet
555-
* Improved admin styling
556-
* Made everything leaner, faster, and better
557-
558-
= 1.6.1 (29 Dec 2012) =
559-
* Fixed a bug with permissions not being applied on install ([#](https://wordpress.org/support/topic/permissions-problem-after-install))
560-
* Fixed a bug in the uninstall method ([#](https://wordpress.org/support/topic/bug-in-delete-script))
561-
562-
= 1.6 (22 Dec 2012) =
563-
* Updated code editor to use CodeMirror 3
564-
* Improved compatibility with Clean Options plugin
565-
* Code improvements and optimization
566-
* Changed namespace from `cs` to `code_snippets`
567-
* Move css and js under assets
568-
* Organized CodeMirror scripts
569-
* Improved updating process
570-
* Current line of code editor is now highlighted
571-
* Highlight matches of selected text in code editor
572-
* Only create snippet tables when needed
573-
* Store multisite only options in site options table
574-
* Fixed compatibility bugs with WordPress 3.5
575-
576-
= 1.5 (18 Sep 2012) =
577-
* Updated CodeMirror to version 2.33
578-
* Updated the 'Manage Snippets' page to use the WP_List_Table class
579-
* Added 'Screen Options' tab to 'Manage Snippets' page
580-
* Added search capability to 'Manage Snippets' page
581-
* Added views to easily filter activated, deactivated and recently activated snippets
582-
* Added ID column to 'Manage Snippets' page
583-
* Added sortable name and ID column on 'Manage Snippets' page ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name))
584-
* Added custom capabilities
585-
* Improved API
586-
* Added 'Export to PHP' feature ([#](https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php))
587-
* Lengthened snippet name field to 64 characters ([#](https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters))
588-
* Added i18n
589-
590-
= 1.4 (20 Aug 2012) =
591-
* Added interface to Network Dashboard
592-
* Updated uninstall to support multisite
593-
* Replaced EditArea with [CodeMirror](https://codemirror.net)
594-
* Small improvements
595-
596-
= 1.3.2 (17 Aug 2012) =
597-
* Fixed a bug with version 1.3.1
598-
599-
= 1.3.1 (17 Aug 2012) =
600-
* Changed plugin website URI
601-
* Cleaned up some code
602-
603-
= 1.3 (1 Aug 2012) =
604-
* Added export option to 'Manage Snippets' page
605-
* Added 'Import Snippets' page
606-
607-
= 1.2 (29 July 2012) =
608-
* Minor improvements
609-
* Added code highlighting
610-
* Removed 'Uninstall Plugin' page
611-
* Data will now be cleaned up when plugin is deleted through WordPress admin
612-
613-
= 1.1 (24 June 2012) =
614-
* Fixed a permissions bug with `DISALLOW_FILE_EDIT` being set to true ([#](https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new))
615-
* Fixed a bug with the page title reading 'Add New Snippet' on the 'Edit Snippets' page
616-
* Fixed a bug not allowing the plugin to be Network Activated ([#](https://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables))
617-
618-
= 1.0 (13 June 2012) =
619-
* Stable version released.
240+
**[The full changelog is available on GitHub](https://github.com/sheabunge/code-snippets/blob/master/CHANGELOG.md)**
620241

621242
== Upgrade Notice ==
622243

0 commit comments

Comments
 (0)