O:8:"stdClass":27:{s:4:"name";s:13:"Code Snippets";s:4:"slug";s:13:"code-snippets";s:7:"version";s:6:"2.14.1";s:6:"author";s:56:"<a href="https://codesnippets.pro">Code Snippets Pro</a>";s:14:"author_profile";s:40:"https://profiles.wordpress.org/bungeshea";s:12:"contributors";a:2:{s:9:"bungeshea";a:3:{s:7:"profile";s:40:"https://profiles.wordpress.org/bungeshea";s:6:"avatar";s:88:"https://secure.gravatar.com/avatar/c6a28fbe970fc2de4b6b3ad5c9b7cb39?s=96&d=monsterid&r=g";s:12:"display_name";s:10:"Shea Bunge";}s:4:"ver3";a:3:{s:7:"profile";s:35:"https://profiles.wordpress.org/ver3";s:6:"avatar";s:88:"https://secure.gravatar.com/avatar/95f38d0dc869f268e5fedeed67e3bf29?s=96&d=monsterid&r=g";s:12:"display_name";s:11:"Verdi Heinz";}}s:8:"requires";s:3:"3.6";s:6:"tested";s:3:"5.8";s:12:"requires_php";s:3:"5.2";s:6:"rating";i:96;s:7:"ratings";a:5:{i:5;i:276;i:4;i:7;i:3;i:2;i:2;i:1;i:1;i:15;}s:11:"num_ratings";i:301;s:15:"support_threads";i:19;s:24:"support_threads_resolved";i:17;s:15:"active_installs";i:500000;s:12:"last_updated";s:22:"2021-08-13 12:04pm GMT";s:5:"added";s:10:"2012-06-13";s:8:"homepage";s:42:"https://github.com/sheabunge/code-snippets";s:8:"sections";a:6:{s:11:"description";s:6834:"<p>Code Snippets is an easy, clean and simple way to run PHP code snippets on your site. It removes the need to add custom snippets to your theme&#8217;s <code>functions.php</code> file.</p>
<p>A snippet is a small chunk of PHP code that you can use to extend the functionality of a WordPress-powered website; essentially a mini-plugin with less load on your site.<br />
Most snippet-hosting sites tell you to add snippet code to your active theme&#8217;s <code>functions.php</code> file, which can get rather long and messy after a while.<br />
Code Snippets changes that by providing a GUI interface for adding snippets and <strong>actually running them on your site</strong> just as if they were in your theme&#8217;s <code>functions.php</code> file.</p>
<p>Code Snippets provides graphical interface, similar to the Plugins menu, for managing snippets. Snippets can can be activated and deactivated, just like plugins. The snippet editor includes fields for a name, a visual editor-enabled description, tags to allow you to categorize snippets, and a full-featured code editor. Snippets can be exported for transfer to another side, either in JSON for later importing by the Code Snippets plugin, or in PHP for creating your own plugin or theme.</p>
<p>If you have any feedback, issues, or suggestions for improvements please leave a topic in the <a href="https://wordpress.org/support/plugin/code-snippets">Support Forum</a>, or <a href="https://facebook.com/groups/codesnippetsplugin" rel="nofollow ugc">join the community on Facebook</a>.</p>
<p>If you like this plugin, or it is useful to you in some way, please consider reviewing it on <a href="https://wordpress.org/support/view/plugin-reviews/code-snippets">WordPress.org</a>.</p>
<p>If you&#8217;d like to contribute to the plugin&#8217;s code or translate it into another language, you can <a href="https://github.com/sheabunge/code-snippets" rel="nofollow ugc">fork the plugin on GitHub</a>.</p>
<h3>Translations</h3>
<p>Code Snippets can be used in these different languages thanks to the following translators:</p>
<ul>
<li>Belarusian – <a href="https://www.hrank.com" rel="nofollow ugc">Hrank.com</a></li>
<li>Brazilian Portuguese – <a href="http://brunoborges.info" rel="nofollow ugc">Bruno Borges</a></li>
<li>Chinese – <a href="http://shanjincheng.com" rel="nofollow ugc">Jincheng Shan</a> and <a href="https://profiles.wordpress.org/f2010525/" rel="nofollow ugc">诗语</a></li>
<li>Chinese (Taiwan) – <a href="https://www.alexclassroom.com/" rel="nofollow ugc">Alex Lion</a> and <a href="https://profiles.wordpress.org/alex1114/" rel="nofollow ugc">Chun-Chih Cheng</a></li>
<li>Croatian – <a href="https://www.webhostinghub.com/" rel="nofollow ugc">Borisa Djuraskovic from Web Hosting Hub</a></li>
<li>Czech  – <a href="mailto:&#108;&#x75;&#x6b;&#097;&#x73;&#116;&#x65;&#x73;&#097;&#x72;&#048;&#x33;&#x40;&#103;&#x6d;&#097;&#x69;&#x6c;&#046;&#x63;&#111;&#x6d;" rel="nofollow ugc">Lukáš Tesař</a> and <a href="https://profiles.wordpress.org/jumphy/" rel="nofollow ugc">Jakub Humpolec</a></li>
<li>Danish – <a href="https://profiles.wordpress.org/finnsommer/" rel="nofollow ugc">Finn Sommer Jensen</a></li>
<li>Dutch – <a href="https://github.com/sander1" rel="nofollow ugc">Sander Spies</a>, <a href="https://psmits.com" rel="nofollow ugc">Peter Smits</a> and <a href="https://profiles.wordpress.org/imazed/" rel="nofollow ugc">mother.of.code.a11n</a></li>
<li>English (New Zealand) and English (UK) – <a href="https://profiles.wordpress.org/webaware/" rel="nofollow ugc">webaware</a></li>
<li>English (South Africa) – <a href="https://profiles.wordpress.org/webaware/" rel="nofollow ugc">webaware</a> and <a href="https://profiles.wordpress.org/ianbarnes/" rel="nofollow ugc">Ian Barnes</a></li>
<li>French – <a href="https://www.momofr.net/" rel="nofollow ugc">momo-fr</a> and <a href="https://sheabunge.com" rel="nofollow ugc">Shea Bunge</a></li>
<li>French (Canada) – <a href="https://www.dominicdesbiens.com/" rel="nofollow ugc">Dominic Desbiens</a></li>
<li>German – <a href="https://web-alltag.de/" rel="nofollow ugc">Mario Siegmann</a>, <a href="https://www.sensorgrafie.de/" rel="nofollow ugc">Joerg Knoerchen</a>, <a href="https://deckerweb.de" rel="nofollow ugc">David Decker</a> and <a href="https://profiles.wordpress.org/perryzelda/" rel="nofollow ugc">Andreas</a></li>
<li>Greek – <a href="https://profiles.wordpress.org/nextdoorpanda/" rel="nofollow ugc">Konstantinos Megas</a> and <a href="https://www.jrop.com/" rel="nofollow ugc">Toni Bishop from Jrop</a></li>
<li>Indonesian – <a href="https://www.chameleonjohn.com/" rel="nofollow ugc">Jordan Silaen from ChameleonJohn.com</a></li>
<li>Italian – <a href="https://profiles.wordpress.org/darkavenger/" rel="nofollow ugc">Luisa Ravelli</a> and <a href="https://profiles.wordpress.org/electricfeet/" rel="nofollow ugc">ElectricFeet</a></li>
<li>Japanese – <a href="https://mt8.biz/" rel="nofollow ugc">mt8</a>, <a href="https://profiles.wordpress.org/tanagaya/" rel="nofollow ugc">Takakazu Nagaya</a>, <a href="https://naoko.blog/" rel="nofollow ugc">Naoko Takano</a> and <a href="https://profiles.wordpress.org/melvas/" rel="nofollow ugc">melvas</a></li>
<li>Persian – <a href="http://mnovintan.ir/" rel="nofollow ugc">Mohammad Novintanon</a></li>
<li>Russian – <a href="http://www.wordpressplugins.ru/administration/code-snippets.html" rel="nofollow ugc">Alexander Samsonov</a>, <a href="https://profiles.wordpress.org/fierevere/" rel="nofollow ugc">Yui</a>, <a href="https://denisco.pro/" rel="nofollow ugc">Denis Yanchevskiy</a> and <a href="https://profiles.wordpress.org/krioteh/" rel="nofollow ugc">krioteh</a></li>
<li>Slovak – <a href="https://wp.sk" rel="nofollow ugc">Ján Fajčák</a></li>
<li>Spanish (Colombia) and Spanish (Ecuador) – <a href="https://javieresteban.org/" rel="nofollow ugc">Javier Esteban</a></li>
<li>Spanish (Spain) – <a href="https://www.ibidemgroup.com" rel="nofollow ugc">Ibidem Group</a>, <a href="https://javieresteban.org/" rel="nofollow ugc">Javier Esteban</a>, <a href="https://ayudawp.com/" rel="nofollow ugc">Fernando Tellado</a> and <a href="https://juanmaaranda.com/" rel="nofollow ugc">Juanma Aranda</a></li>
<li>Spanish (Venezuela) – <a href="https://yordansoar.es/" rel="nofollow ugc">Yordan Soares</a></li>
<li>Swedish – <a href="https://profiles.wordpress.org/argentum/" rel="nofollow ugc">Argentum</a>, <a href="https://profiles.wordpress.org/elbogen/" rel="nofollow ugc">Fredrik</a> and <a href="https://profiles.wordpress.org/tobifjellner/" rel="nofollow ugc">Tor-Bjorn Fjellner</a></li>
<li>Urdu – <a href="https://mobilemall.pk/" rel="nofollow ugc">Samuel Badree</a></li>
<li>Vietnamese – <a href="https://profiles.wordpress.org/khunglong/" rel="nofollow ugc">Tuan Phan</a></li>
</ul>
";s:12:"installation";s:784:"<h4>Automatic installation</h4>
<ol>
<li>Log into your WordPress admin</li>
<li>Click <strong>Plugins</strong></li>
<li>Click <strong>Add New</strong></li>
<li>Search for <strong>Code Snippets</strong></li>
<li>Click <strong>Install Now</strong> under &#8220;Code Snippets&#8221;</li>
<li>Activate the plugin</li>
</ol>
<h4>Manual installation</h4>
<ol>
<li>Download the plugin</li>
<li>Extract the contents of the zip file</li>
<li>Upload the contents of the zip file to the <code>wp-content/plugins/</code> folder of your WordPress installation</li>
<li>Activate the Code Snippets plugin from &#8216;Plugins&#8217; page.</li>
</ol>
<p>Network Activating Code Snippets through the Network Dashboard will enable a special interface for running snippets across the entire network.</p>
";s:3:"faq";s:4448:"<p>A full list of our Frequently Asked Questions can be found at <a href="https://help.codesnippets.pro/collection/3-faq" rel="nofollow ugc">help.codesnippets.pro</a>.</p>

<dt id='how%20do%20i%20insert%20snippets%20into%20the%20post%20text%20editor%3F'>
How do I insert snippets into the post text editor?
</h4>
<p>
<p>Code Snippets v2 is designed to be used with PHP Function Snippets, which are not intended to be inserted as content, but instead persistently on your site as if they were part of a plugin or your theme&#8217;s functions.php file.</p>
<p>Code Snippets v3 will bring a new type of snippet, Content Snippets, which are designed to be included in the content of a post or page. Stay tuned for the release!</p>
</p>
<dt id='how%20can%20i%20recover%20my%20site%20if%20it%20is%20crashed%20by%20a%20buggy%20snippet%3F'>
How can I recover my site if it is crashed by a buggy snippet?
</h4>
<p>
<p>You can recover your site by enabling the Code Snippets safe mode feature. Instructions for how to turn it on are available here: https://help.codesnippets.pro/article/12-safe-mode.</p>
</p>
<dt id='will%20i%20lose%20my%20snippets%20if%20i%20change%20the%20theme%20or%20upgrade%20wordpress%3F'>
Will I lose my snippets if I change the theme or upgrade WordPress?
</h4>
<p>
<p>No, the snippets are stored in the WordPress database, independent of the theme and unaffected by WordPress upgrades.</p>
</p>
<dt id='can%20the%20plugin%20be%20completely%20uninstalled%3F'>
Can the plugin be completely uninstalled?
</h4>
<p>
<p>If you enable the &#8216;Complete Uninstall&#8217; option on the plugin settings page, Code Snippets will clean up all of its data when deleted through the WordPress &#8216;Plugins&#8217; menu. This includes all of the stored snippets. If you would like to preserve the snippets, ensure they are exported first.</p>
</p>
<dt id='can%20i%20copy%20snippets%20that%20i%20have%20created%20to%20another%20wordpress%20site%3F'>
Can I copy snippets that I have created to another WordPress site?
</h4>
<p>
<p>Yes! You can individually export a single snippet using the link below the snippet name on the &#8216;Manage Snippets&#8217; page or bulk export multiple snippets using the &#8216;Bulk Actions&#8217; feature. Snippets can later be imported using the &#8216;Import Snippets&#8217; page by uploading the export file.</p>
</p>
<dt id='can%20i%20export%20my%20snippets%20to%20php%20for%20a%20site%20where%20i%27m%20not%20using%20the%20code%20snippets%20plugin%3F'>
Can I export my snippets to PHP for a site where I&#8217;m not using the Code Snippets plugin?
</h4>
<p>
<p>Yes. Click the checkboxes next to the snippets you want to export, and then choose <strong>Export to PHP</strong> from the Bulk Actions menu and click Apply. The generated PHP file will contain the exported snippets&#8217; code, as well as their name and description in comments.</p>
</p>
<dt id='can%20i%20run%20network-wide%20snippets%20on%20a%20multisite%20installation%3F'>
Can I run network-wide snippets on a multisite installation?
</h4>
<p>
<p>You can run snippets across an entire multisite network by <strong>Network Activating</strong> Code Snippets through the Network Dashboard. You can also activate Code Snippets just on the main site, and then individually on other sites of your choice.</p>
</p>
<dt id='where%20are%20the%20snippets%20stored%20in%20my%20wordpress%20database%3F'>
Where are the snippets stored in my WordPress database?
</h4>
<p>
<p>Snippets are stored in the <code>wp_snippets</code> table in the WordPress database. The table name may differ depending on what your table prefix is set to.</p>
</p>
<dt id='where%20can%20i%20go%20for%20help%20or%20suggest%20new%20features%3F'>
Where can I go for help or suggest new features?
</h4>
<p>
<p>You can get help with Code Snippets, report bugs or errors, and suggest new features and improvements either on the <a href="https://wordpress.org/support/plugin/code-snippets">WordPress Support Forums</a> or on <a href="https://github.com/sheabunge/code-snippets" rel="nofollow ugc">GitHub</a></p>
</p>
<dt id='how%20can%20i%20help%20contribute%20to%20the%20development%20of%20the%20code%20snippets%20plugin%3F'>
How can I help contribute to the development of the Code Snippets plugin?
</h4>
<p>
<p>The best way to do this is to fork the <a href="https://github.com/sheabunge/code-snippets" rel="nofollow ugc">repository on GitHub</a> and send a pull request.</p>
</p>

";s:9:"changelog";s:30797:"<h4>2.14.1 (10 Mar 2021)</h4>
<ul>
<li>Added: Czech translation by <a href="https://github.com/atomicf4ll" rel="nofollow ugc">Lukáš Tesař</a>.</li>
<li>Fixed: Code validator now supports <code>function_exists</code> and <code>class_exists</code> checks.</li>
<li>Fixed: Code validator now supports anonymous functions.</li>
<li>Fixed: Issue with saving the hidden columns setting.</li>
<li>Fixed: Replaced the outdated tag-it library with <a href="https://github.com/jcubic/tagger" rel="nofollow ugc">tagger</a> for powering the snippet tags editor.</li>
<li>Added: Code direction setting for RTL users.</li>
<li>Updated CodeMirror to version 5.59.4.</li>
<li>Added: Additional action hooks and search API thanks to <a href="https://github.com/Spreeuw" rel="nofollow ugc">@Spreeuw</a>.</li>
</ul>
<h4>2.14.0 (26 Jan 2020)</h4>
<ul>
<li>Updated CodeMirror to version 5.50.2.</li>
<li>Added: Basic error checking for duplicate functions and classes.</li>
<li>Updated Italian translations to fix display issues – thanks to <a href="https://360fun.net" rel="nofollow ugc">Francesco Marino</a>.</li>
<li>Fixed: Ordering snippets in the table by name will now be case-insensitive.</li>
<li>Added: Additional API options for retrieving snippets.</li>
<li>Fixed: Code editor will now properly highlight embedded HTML, CSS and JavaScript code.</li>
<li>Changed the indicator color for inactive snippets from red to grey.</li>
<li>Fixed a bug preventing the editor theme from being set to default.</li>
<li>Added: Store the time and date when each snippet was last modified.</li>
<li>Added: Basic error checking when activating snippets.</li>
<li>Fixed: Ensure that imported snippets are always inactive.</li>
<li>Fixed: Check the referer on the import menu to prevent CSRF attacks. Thanks to <a href="https://www.wordfence.com/blog/author/wfchloe/" rel="nofollow ugc">Chloe with the Wordfence Threat Intelligence team</a> for reporting.</li>
<li>Fixed: Ensure that individual snippet action links use proper verification.</li>
</ul>
<h4>2.13.3 (13 Mar 2019)</h4>
<ul>
<li>Added: Hover effect to activation switches.</li>
<li>Added: Additional save buttons above snippet editor.</li>
<li>Added: List save keyboard shortcuts to the help tooltip.</li>
<li>Added: Change &#8220;no items found&#8221; message when search filters match nothing.</li>
<li>Fixed: Calling deprecated code in database upgrade process.</li>
<li>Fixed: Include snippet priority in export files.</li>
<li>Fixed: Use Unix newlines in code export file.</li>
<li>Updated CodeMirror to version 5.44.0.</li>
<li>Fixed: Correctly register snippet tables with WordPress to prevent database repair errors [<a href="https://wordpress.org/support/topic/database-corrupted-4/">#</a>]</li>
<li>Fixed: CodeMirror indentation settings being applied incorrectly</li>
</ul>
<h4>2.13.2 (25 Jan 2019)</h4>
<ul>
<li>Removed potentially problematic cursor position saving feature</li>
</ul>
<h4>2.13.1 (22 Jan 2019)</h4>
<ul>
<li>Added: Add menu buttons to settings page for compact menu</li>
<li>Updated: French translation updated thanks to momo-fr</li>
<li>Fixed: Split code editor and tag editor scripts into their own files to prevent dependency errors</li>
<li>Fixed: Handling of single-use shared network snippets</li>
<li>Fixed: Minor translation template issues</li>
<li>Added: Help tooltop to snippet editor for keyboard shortcuts, thanks to Michael DeWitt</li>
<li>Improved: Added button for executing single-use snippets to snippets table</li>
<li>Added: Sample snippet for ordering snippets table by name by default</li>
<li>Updated CodeMirror to version 5.43.0</li>
</ul>
<h4>2.13.0 (17 Dec 2018)</h4>
<ul>
<li>Added: Search/replace functionality to the snippet editor. <a href="https://codemirror.net/demo/search.html" rel="nofollow ugc">See here for a list of keyboard shortcuts.</a> [<a href="https://wordpress.org/support/topic/feature-request-codemirror-search-and-replace/">#</a>]</li>
<li>Updated CodeMirror to version 5.42.0</li>
<li>Added: Option to make admin menu more compact</li>
<li>Fixed: Problem clearing recently active snippet list</li>
<li>Improved: Integration between plugin and the CodeMirror library, to prevent collisions</li>
<li>Improved: Added additional styles to editor settings preview</li>
<li>Added: PHP linter to code editor</li>
<li>Improved: Use external scripts instead of inline scripts</li>
<li>Fixed: Missing functionality for &#8216;Auto Close Brackets&#8217; and &#8216;Highlight Selection Matches&#8217; settings</li>
</ul>
<h4>2.12.1 (15 Nov 2018)</h4>
<ul>
<li>Improved: CodeMirror updated to version 5.41.0</li>
<li>Improved: Attempt to create database columns that might be missing after a table upgrade</li>
<li>Improved: Streamlined upgrade process</li>
<li>Fixed: Interface layout on sites using right-to-left languages</li>
<li>Improved: Made search box appear at top of page on mobile [<a href="https://wordpress.org/support/topic/small-modification-for-mobile-ux/">#</a>]</li>
<li>Updated screenshots</li>
</ul>
<h4>2.12.0 (23 Sep 2018)</h4>
<ul>
<li>Fixed: Prevented hidden columns setting from reverting to default</li>
<li>Improved: Updated import page to improve usability</li>
<li>Improved: Added Import button next to page title on manage page</li>
<li>Improved: Added coloured banner indicating whether a snippet is active when editing</li>
<li>Update CodeMirror to 5.40.0</li>
</ul>
<h4>2.11.0 (24 Jul 2018)</h4>
<ul>
<li>Added: Ability to assign a priority to snippets, to determine the order in which they are executed</li>
<li>Improvement: The editor cursor position will be preserved when saving a snippet</li>
<li>Added: Pressing Ctrl/Cmd + S while writing a snippet will save it</li>
<li>Added: Shadow opening PHP tag above the code editor</li>
<li>Improved: Updated the message shown when there are no snippets</li>
<li>Added: Install sample snippets when the plugin is installed</li>
<li>Improved: Show all available tags when selecting the tag field</li>
<li>Added: Filter hook for controlling the default list table view</li>
<li>Added: Action for cloning snippets</li>
</ul>
<h4>2.10.2 (21 Jul 2018)</h4>
<ul>
<li>Added: Button to reset settings to their default values</li>
<li>Improved: Made uninstall cleanup optional through a plugin setting</li>
<li>Fixed: Applied formatting filters to snippet descriptions in the table</li>
<li>Improved: Ordered tags by name in the filter dropdown menu</li>
<li>Fixed: Incorrectly translated strings</li>
<li>Added: Belarusian translation by Hrank.com</li>
<li>Improved: Enabled sorting snippets table by tags</li>
<li>Updated CodeMirror to version 5.39.0</li>
</ul>
<h4>2.10.1 (10 Feb 2018)</h4>
<ul>
<li>Fixed: Prevent errors when trying to export no snippets</li>
<li>Fixed: Use wp_json_encode() to encode export data</li>
<li>Fixed: Check both the file extension and MIME type of uploaded import files</li>
</ul>
<h4>2.10.0 (18 Jan 2018)</h4>
<ul>
<li>Improved: Added support for importing from multiple export files at once</li>
<li>Improved: Unbold the titles of inactive snippets for greater visual distinction</li>
<li>Added: New scope for single-use snippets</li>
<li>Improved: Don&#8217;t show network snippets on subsites by default, and only to super admins</li>
<li>Improved: Export snippets to JSON instead of XML</li>
<li>Improved: More options for importing duplicate snippets</li>
<li>Improved: Use strings for representing scopes internally instead of numbers</li>
<li>Added: Allowed plugin settings to be unified on multisite through Network Settings option</li>
<li>Fixed: Issue with incorrectly treating network snippets as site-wide for code validation</li>
<li>Improved: Rename &#8216;Export to PHP&#8217; to &#8216;Download&#8217;, and add button to edit snippet page</li>
</ul>
<h4>2.9.6 (14 Jan 2018)</h4>
<ul>
<li>Added Brazilian Portuguese translation by <a href="http://brunoborges.info" rel="nofollow ugc">Bruno Borges</a></li>
<li>Fixed: Use standard WordPress capabilities instead of custom capabilities to prevent lockouts</li>
<li>Fixed: Multisite issue with retrieving active shared snippets from the wrong table causing duplicate snippet execution</li>
<li>Moved scope and other settings on single snippet page to below code area</li>
</ul>
<h4>2.9.5 (13 Jan 2018)</h4>
<ul>
<li>Fixed: Undefined function error when accessing the database on multisite</li>
<li>Fixed: Ensured all admin headings are hierarchical for accessibility</li>
<li>Made the &#8220;Activate By Default&#8221; setting enabled by default for new installs</li>
<li>Updated CodeMirror to version 5.33</li>
</ul>
<h4>2.9.4 (19 Sep 2017)</h4>
<ul>
<li>Fixed: Prevented PHP error from occurring when saving a snippet</li>
<li>Minor improvements to database creation function</li>
</ul>
<h4>2.9.3 (11 Sep 2017)</h4>
<ul>
<li>Fixed: Prevent snippets from being executed twice when saving due to invalid ID being passed to allow_execute_snippet filter</li>
<li>Fixed: Re-enabled output suppression when executing snippets</li>
</ul>
<h4>2.9.2 (8 Sep 2017)</h4>
<ul>
<li>Fixed: Do not attempt to combine queries for fetching local and multisite snippets</li>
</ul>
<h4>2.9.1 (7 Sep 2017)</h4>
<ul>
<li>Fixed: Prevent illegal mix of collations errors when fetching snippets from database tables with different collations [<a href="https://wordpress.org/support/topic/issue-on-multisite-with-wpml/">#</a>]</li>
</ul>
<h4>2.9.0 (6 Sep 2017)</h4>
<ul>
<li>Fixed: Prevented invalid properties from being set when saving a snippet</li>
<li>Fixed: Use the correct protocol when saving a snippet</li>
<li>Improved: Moved code to disable snippet execution into a filter hook</li>
<li>Fixed: Active shared snippets not being updated correctly</li>
<li>Improved: execute_active_snippets() function updated with improved efficiency</li>
<li>Improved: Renamed Snippet class to avoid name collisions with other plugins</li>
<li>Improved: Don&#8217;t hide output when executing a snippet</li>
<li>Updated CodeMirror to version 5.28.0</li>
</ul>
<h4>2.8.6 (14 May 2017)</h4>
<ul>
<li>Ensure that get_snippets() function retrieves snippets with the correct &#8216;network&#8217; setting. Fixes snippet edit links in network admin.</li>
<li>Fix snippet description field alias not mapping correctly</li>
</ul>
<h4>2.8.5 (13 May 2017)</h4>
<ul>
<li>Ensured HTML in snippet titles is escaped in snippets table</li>
<li>Added Indonesian translation by Jordan Silaen from ChameleonJohn.com</li>
<li>Disallowed undefined fields to be set on the Snippets class</li>
<li>Prevented shared network snippets from being included twice in snippets table on multisite</li>
<li>Added setting to hide network snippets on subsites</li>
</ul>
<h4>2.8.4 (29 April 2017)</h4>
<ul>
<li>Fixed all snippets being treated as network snippets on non-multisite sites</li>
</ul>
<h4>2.8.3 (29 April 2017)</h4>
<ul>
<li>Updated CodeMirror to version 5.25.0</li>
<li>Show network active snippets as read-only on multisite subsites</li>
<li>Added more compete output escaping to prevent XSS errors</li>
</ul>
<h4>2.8.2 (27 Feb 2017)</h4>
<ul>
<li>Fix bug introduced in 2.8.1 that broke code verification functionality by executing code twice</li>
</ul>
<h4>2.8.1 (25 Feb 2017)</h4>
<ul>
<li>Updated German translation</li>
<li>Fixed admin menu items not translating</li>
<li>Removed possible conflict between Debug Bar Console plugin (<a href="https://github.com/sheabunge/code-snippets/issues/52" rel="nofollow ugc">#</a>)</li>
<li>Corrected editor alignment on RTL sites (<a href="https://wordpress.org/support/topic/suggestion-css-fix-for-rtl-sites/">#</a>)</li>
<li>Fixed bulk actions running when Filter button is clicked (<a href="https://wordpress.org/support/topic/bug-with-filtering-action-buttons/">#</a>)</li>
<li>Updated CodeMirror to version 5.24.0</li>
</ul>
<h4>2.8.0 (14 Dec 2016)</h4>
<ul>
<li>Fixed Italian translation errors. Props to @arsenalemusica</li>
<li>Renamed &#8216;Manage&#8217; admin menu label to &#8216;All Snippets&#8217; to keep in line with other admin menu labels</li>
<li>Renamed placeholder on snippet name field to &#8216;Enter title here&#8217;</li>
<li>Removed CodeMirror search functionality</li>
<li>Moved &#8216;Edit Snippet&#8217; admin menu above &#8216;Add New&#8217; menu</li>
<li>Made pressing Ctrl-Enter in the code editor save the snippet</li>
<li>Updated CodeMirror to version 5.21.0</li>
</ul>
<h4>2.7.3 (24 Oct 2016)</h4>
<ul>
<li>Updated CodeMirror to version 5.10.0</li>
<li>Fixed a few strings not being translated</li>
</ul>
<h4>2.7.2 (1 Oct 2016)</h4>
<ul>
<li>Updated German translation by <a href="https://web-alltag.de" rel="nofollow ugc">Mario Siegmann</a></li>
</ul>
<h4>2.7.1 (30 Sep 2016)</h4>
<ul>
<li>Added Dutch translation by Sander Spies</li>
<li>Ensured that the editor theme setting is properly validated. Thanks to <a href="https://www.netsparker.com" rel="nofollow ugc">Netsparker</a> for reporting.</li>
<li>Ensured that snippet tags are properly escaped. Thanks to <a href="https://www.netsparker.com" rel="nofollow ugc">Netsparker</a> for reporting.</li>
<li>Updated CodeMirror to version 5.19.0</li>
</ul>
<h4>2.7.0 (23 July 2016)</h4>
<ul>
<li>Fixed plugin translations being loaded</li>
<li>Increase default snippets per page so that all are usually shown</li>
<li>Fixed description field not being imported</li>
<li>Updated German translation by <a href="https://web-alltag.de" rel="nofollow ugc">Mario Siegmann</a></li>
<li>Fixed issue with CodeMirror rubyblue theme [<a href="https://wordpress.org/support/topic/a-problem-with-the-cursor-color-and-the-fix-that-worked-for-me">#</a>]</li>
<li>Added query var to disable snippet execution. To use, add <code>?snippets-safe-mode=true</code> to the URL</li>
<li>Fixed snippet fields not importing</li>
<li>Updated CodeMirror to version 5.17.0</li>
<li>Fixed a minor XSS vulnerability discovered by Burak Kelebek [<a href="https://wordpress.org/support/topic/security-vulnerability-20">#</a>]</li>
</ul>
<h4>2.6.1 (10 Feb 2016)</h4>
<ul>
<li>Updated German translation by <a href="https://web-alltag.de" rel="nofollow ugc">Mario Siegmann</a></li>
<li>Fixed error catching not working correctly</li>
<li>Updated error catching to work with snippets including functions and classes</li>
<li>Fixed editor autoresizing</li>
</ul>
<h4>2.6.0 (31 Dec 2015)</h4>
<ul>
<li>Reconfigured plugin to use classloader and converted a lot of functional code into OOP code</li>
<li>Updated CodeMirror to version 5.10.0</li>
<li>Added <code>[code_snippets]</code> shortcode for embedding snippet code in a post</li>
<li>Fixed broken snippet search feature [<a href="https://wordpress.org/support/topic/search-is-not-working-6">#</a>]</li>
<li>Added front-end syntax highlighting for shortcode using <a href="https://prismjs.com" rel="nofollow ugc">PrismJS</a></li>
</ul>
<h4>2.5.1 (11 Oct 2016)</h4>
<ul>
<li>Fixed: Ensure errors are fatal before catching them during error checking</li>
<li>Fixed: Escape the snippet name on the edit page to ensure it displays correctly</li>
<li>Fixed: Exclude snippets with named functions from error checking so they do not run twice</li>
</ul>
<h4>2.5.0 (8 Oct 2015)</h4>
<ul>
<li>Added: Detect parse and fatal errors in code when saving a snippet, and display a user-friendly message</li>
<li>Fixed: Updated access of some methods in Code_Snippets_List_Table class to match updated WP_List_Table class</li>
</ul>
<h4>2.4.2 (27 Sep 2015)</h4>
<ul>
<li>Added query variable to activate safe mode</li>
<li>Fixed settings not saving</li>
<li>Fixed snippet descriptions not displaying on manage menu</li>
<li>Added settings to disable description and tag editors</li>
<li>Fixed: Load CodeMirror after plugin styles to fix error with Zenburn theme</li>
<li>Fixed: Hide snippet scope icons when the scope selector is disabled</li>
<li>Fixed description heading on edt snippet menu being hidden when visual editor disabled</li>
<li>Updated editor preview updating code to use vanilla JavaScript instead of jQuery</li>
<li>Fixed: Deactivate a shared network snippet on all subsites when it looses its sharing status</li>
</ul>
<h4>2.4.1 (17 Sep 2015)</h4>
<ul>
<li>Fixed CodeMirror themes not being detected on settings page [<a href="https://wordpress.org/support/topic/updated-to-240-now-i-cant-switch-theme">#</a>]</li>
</ul>
<h4>2.4.0 (17 Sep 2015)</h4>
<ul>
<li>Added ability to share network snippets to individual sites on WordPress multisite</li>
<li>Improved code directory and class structure</li>
<li>Remove legacy code for pre-3.6 compatibility</li>
<li>Improved code for printing admin messages</li>
<li>Updated German translation (Joerg Knoerchen)</li>
<li>Added <code>code_snippets/after_execute_snippet</code> filter</li>
<li>Added class for individual snippets</li>
<li>Updated <code>get_snippets()</code> function to retrieve individual snippets</li>
<li>Removed scope statuses and added fixed tags to indicate scope</li>
<li>Changed admin page headers to use <code>&lt;h1&gt;</code> tags instead of <code>&lt;h2&gt;</code> tags</li>
<li>Updated CodeMirror to version 5.6</li>
<li>Removed snippet settings page from network admin</li>
</ul>
<h4>2.3.0 (20 May 2015)</h4>
<ul>
<li>Removed nested functions</li>
<li>Added icons for admin and front-end snippets to manage table</li>
<li>Improved settings retrieval by caching settings</li>
<li>Updated Russian translation by <a href="http://chumakov.ru/" rel="nofollow ugc">Alexey Chumakov</a></li>
<li>Added filter switch to prevent a snippet from executing (<a href="https://github.com/sheabunge/code-snippets/issues/25" rel="nofollow ugc">#25</a>)</li>
<li>Fixed errors in string translation</li>
<li>Fixed bug in import process (<a href="https://github.com/sheabunge/code-snippets/issues/32" rel="nofollow ugc">#32</a>)</li>
</ul>
<h4>2.2.3 (13 May 2015)</h4>
<ul>
<li>Fixed broken call to <code>export_snippet()</code> function</li>
<li>Added support for importing and exporting snippet scope</li>
<li>Fixed duplicate primary key database error</li>
<li>Improved database table structure</li>
</ul>
<h4>2.2.2 (11 May 2015)</h4>
<ul>
<li>Polyfilled array_replace_recursive() function for PHP 5.2</li>
<li>Updated references to old plugin site</li>
<li>Resolved JavaScript error on edit snippet pages</li>
<li>Made minor updates to French translation file</li>
<li>Added statuses for snippet scopes on manage snippets table</li>
</ul>
<h4>2.2.1 (10 May 2015)</h4>
<ul>
<li>Fixed the default values of new setting not being applied</li>
<li>Fixed missing background of tags input</li>
</ul>
<h4>2.2.0 (10 May 2015)</h4>
<ul>
<li>Introduced CodeSniffer testing on code</li>
<li>Fixed description heading disappearing when media buttons enabled</li>
<li>Added snippet scope selector</li>
<li>Minified all CSS and JS in plugin</li>
<li>Made CodeMirror theme names more readable</li>
<li>Fixed bug causing translations to not be loaded</li>
</ul>
<h4>2.1.0 (09 May 2015)</h4>
<ul>
<li>Added additional setting descriptions</li>
<li>Added settings for code and description editor height</li>
<li>Updated CodeMirror to version 5.2</li>
<li>Fixed not escaping the request URL when using query arg functions</li>
<li>Improved efficiency of settings component</li>
</ul>
<h4>2.0.3 (17 Mar 2015)</h4>
<ul>
<li>Updated German translation by <a href="https://www.sensorgrafie.de/" rel="nofollow ugc">Joerg Knoerchen</a></li>
</ul>
<h4>2.0.2 (05 Mar 2015)</h4>
<ul>
<li>Fix error in table creation code</li>
<li>Remove settings database option when plugin is uninstalled</li>
</ul>
<h4>2.0.1 (25 Feb 2015)</h4>
<ul>
<li>Fixed table creation code not running on upgrade</li>
<li>Fixed snippets per page option not saving</li>
</ul>
<h4>2.0 (24 Feb 2015)</h4>
<ul>
<li><strong>Highlights:</strong></li>
<li>Better import/export functionality</li>
<li>New settings page with code editor settings</li>
<li>Code rewritten for cleaner and more efficient code</li>
<li>Lots of new translations</li>
<li><strong>Added:</strong></li>
<li>Added link to Code Snippets importer under Snippets admin menu</li>
<li>Added settings component and admin page</li>
<li>Added support for different CodeMirror themes</li>
<li>Integrated tags component into main plugin. Current users of the Code Snippets Tags plugin can safely uninstall it.</li>
<li>Added Auto Close Brackets CodeMirror addon (props to TronicLabs)</li>
<li>Added Croatian translation by Borisa Djuraskovic from <a href="https://www.webhostinghub.com" rel="nofollow ugc">Web Hosting Hub</a></li>
<li>Added Highlight Selection Matches CodeMirror addon (props to TronicLabs)</li>
<li>Added Chinese translation thanks to Jincheng Shan</li>
<li>Added Russian translation by Alexander Samsonov</li>
<li>Added Slovak translation by [Ján Fajčák] from <a href="https://wp.sk" rel="nofollow ugc">WordPress Slovakia</a></li>
<li>Added setting to always save and activate snippets by default</li>
<li><strong>Changed:</strong></li>
<li>Added braces to single-line conditionals in line with <a href="https://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/" rel="nofollow ugc">new coding standards</a></li>
<li>Split up large classes into separate functions</li>
<li>Improved plugin file structure</li>
<li>Replaced uninstall hook with single file method</li>
<li>Updated CodeMirror library to version 5.0</li>
<li>Rewritten import/export functionality to use DOMDocument</li>
<li>Merged Code_Snippets_Export_PHP class into Code_Snippets_Export class</li>
<li><strong>Deprecated:</strong></li>
<li>Removed old admin style support</li>
<li>Removed backwards-compatible support</li>
<li><strong>Fixed:</strong></li>
<li>Fixed incompatibility errors with PHP 5.2</li>
<li>Fixed empty MO translation files</li>
<li>Removed duplicate MySQL primary key indexing</li>
</ul>
<h4>1.9.1.1 (3 Jan 2014)</h4>
<ul>
<li>Add capability check to site snippets importer</li>
</ul>
<h4>1.9.1 (2 Jan 2014)</h4>
<ul>
<li>Use an icon font for menu icon instead of embedded SVG</li>
<li>Use Sass (libsass) instead of Compass</li>
<li>Unminify CodeMirror scripts</li>
<li>Fixes for the WP 3.8 interface</li>
<li>Fix &#8216;enable snippets menu for site admins&#8217; multisite setting</li>
</ul>
<h4>1.9 (11 Nov 2013)</h4>
<ul>
<li>Add and remove network capabilities as super admins are added and removed</li>
<li>Updated MP6 icon implementation</li>
<li>Replaced buggy trim <code>&lt;?php</code> and <code>?&gt;</code> functionality with a much more reliable regex method (<a href="https://wordpress.org/support/topic/character-gets-cut">#</a>)</li>
<li>Added French translation thanks to translator <a href="http://office-web.net" rel="nofollow ugc">oWEB</a></li>
<li>Fixed snippet failing to save when code contains <code>%</code> character, props to <a href="https://wordpress.org/support/profile/nikan06">nikan06</a> (<a href="https://wordpress.org/support/topic/percent-sign-bug">#</a>)</li>
<li>Added &#8216;Save &amp; Deactivate&#8217; button to the edit snippet page (<a href="https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page">#</a>)</li>
<li>Removed edit and install capabilities (now only uses the manage capability)</li>
<li>Fixed HTML breaking in export files (<a href="https://wordpress.org/support/topic/import-problem-7">#</a>)</li>
<li>Make the title of each snippet on the manage page a clickable link to edit the snippet (<a href="https://wordpress.org/support/topic/deactivate-button-in-edit-snippet-page?replies=9#post-4682757">#</a>)</li>
<li>Added nonce to edit snippet page</li>
<li>Hide row actions on manage snippet page by default</li>
<li>Removed screenshots from plugin</li>
<li>Improved CodeMirror implementation</li>
<li>Added a fallback MP6 icon</li>
<li>Use the proper WordPress database APIs all of the time</li>
<li>Rewritten export functionality</li>
<li>Fixed incorrect export filename</li>
<li>Updated CodeMirror to version 3.19</li>
<li>Removed CodeMirror bundled with plugin</li>
<li>Updated WordPress.org plugin banner</li>
<li>Fixed CodeMirror incompatibility with the WP Editor plugin</li>
<li>Fixed CodeMirror incompatibility with the Debug Bar Console plugin</li>
</ul>
<h4>1.8.1.1 (18 Aug 2013)</h4>
<h4>1.8.1 (29 July 2013)</h4>
<ul>
<li>Compiled all CodeMirror scripts into a single file</li>
<li>Use Sass + Compass for CSS</li>
<li>Use Grunt for build automation</li>
<li>Minify CSS</li>
<li>Fixed code typo that was breaking export files</li>
<li>Updated CodeMirror to 3.15</li>
</ul>
<h4>1.8 (9 July 2013)</h4>
<ul>
<li>Allow no snippet name or code to be set</li>
<li>Prevented an error on fresh multisite installations</li>
<li>Refactored code to use best practices</li>
<li>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.</li>
<li>Updated to CodeMirror 3.14</li>
<li>Changes to filter and action hook API</li>
<li>Added error message handling for import snippets page</li>
<li>Don&#8217;t encode HTML entities in database</li>
</ul>
<h4>1.7.1.2 (3 May 2013)</h4>
<ul>
<li>Correct path to admin menu icon. Fixes <a href="https://github.com/sheabunge/code-snippets/issues/8" rel="nofollow ugc">#8</a></li>
</ul>
<h4>1.7.1.1 (29 April 2013)</h4>
<ul>
<li>Fixed a bug with custom capabilities and admin menus</li>
</ul>
<h4>1.7.1 (22 April 2013)</h4>
<ul>
<li>Fix a bug with snippet being set as deactivated when saved</li>
<li>Updated PHP Documentation completely. [<a href="https://bungeshea.github.io/code-snippets/api" rel="nofollow ugc">View online</a>]</li>
<li>Only load admin functions when viewing dashboard</li>
<li>Added German translation thanks to <a href="https://deckerweb.de" rel="nofollow ugc">David Decker</a></li>
<li>Allow or deny site administrators access to snippet admin menus. Set your preference in the <strong>Enable Administration Menus</strong> setting under the <em>Settings &gt; Network Settings</em> network admin menu.</li>
<li>Improve database table creation and upgrade process</li>
<li>Optimized to use less database queries</li>
</ul>
<h4>1.7 (26 Mar 2013)</h4>
<ul>
<li>Improved plugin API</li>
<li>Fixed a bug with saving snippets per page option (<a href="https://wordpress.org/support/topic/plugin-code-snippets-snippets-per-page-does-not-work#post-3710991">#</a>)</li>
<li>Updated CodeMirror to version 3.11</li>
<li>Allow plugin to be activated on individual sites on multisite (<a href="https://wordpress.org/support/topic/dont-work-at-multisite">#</a>)</li>
<li>Slimmed down the description visual editor</li>
<li>Added icon for the new MP6 admin UI (<a href="https://wordpress.org/support/topic/icon-disappears-with-mp6">#</a>)</li>
<li>Strip PHP tags from the beginning and end of a snippet on save (<a href="https://wordpress.org/support/topic/php-tags">#</a>)</li>
<li>Changed to <a href="https://opensource.org/licenses/mit-license.php" rel="nofollow ugc">MIT license</a></li>
<li>Removed HTML, CSS and JavaScript CodeMirror modes that were messing things up</li>
<li>Change label in admin menu when editing a snippet</li>
<li>Improved admin styling</li>
<li>Made everything leaner, faster, and better</li>
</ul>
<h4>1.6.1 (29 Dec 2012)</h4>
<ul>
<li>Fixed a bug with permissions not being applied on install (<a href="https://wordpress.org/support/topic/permissions-problem-after-install">#</a>)</li>
<li>Fixed a bug in the uninstall method (<a href="https://wordpress.org/support/topic/bug-in-delete-script">#</a>)</li>
</ul>
<h4>1.6 (22 Dec 2012)</h4>
<ul>
<li>Updated code editor to use CodeMirror 3</li>
<li>Improved compatibility with Clean Options plugin</li>
<li>Code improvements and optimization</li>
<li>Changed namespace from <code>cs</code> to <code>code_snippets</code></li>
<li>Move css and js under assets</li>
<li>Organized CodeMirror scripts</li>
<li>Improved updating process</li>
<li>Current line of code editor is now highlighted</li>
<li>Highlight matches of selected text in code editor</li>
<li>Only create snippet tables when needed</li>
<li>Store multisite only options in site options table</li>
<li>Fixed compatibility bugs with WordPress 3.5</li>
</ul>
<h4>1.5 (18 Sep 2012)</h4>
<ul>
<li>Updated CodeMirror to version 2.33</li>
<li>Updated the &#8216;Manage Snippets&#8217; page to use the WP_List_Table class
<ul>
<li>Added &#8216;Screen Options&#8217; tab to &#8216;Manage Snippets&#8217; page</li>
<li>Added search capability to &#8216;Manage Snippets&#8217; page</li>
<li>Added views to easily filter activated, deactivated and recently activated snippets</li>
<li>Added ID column to &#8216;Manage Snippets&#8217; page</li>
<li>Added sortable name and ID column on &#8216;Manage Snippets&#8217; page (<a href="https://wordpress.org/support/topic/plugin-code-snippets-suggestion-sort-by-snippet-name">#</a>)</li>
</ul>
</li>
<li>Added custom capabilities</li>
<li>Improved API</li>
<li>Added &#8216;Export to PHP&#8217; feature (<a href="https://wordpress.org/support/topic/plugin-code-snippets-suggestion-bulk-export-to-php">#</a>)</li>
<li>Lengthened snippet name field to 64 characters (<a href="https://wordpress.org/support/topic/plugin-code-snippets-snippet-title-limited-to-36-characters">#</a>)</li>
<li>Added i18n</li>
</ul>
<h4>1.4 (20 Aug 2012)</h4>
<ul>
<li>Added interface to Network Dashboard</li>
<li>Updated uninstall to support multisite</li>
<li>Replaced EditArea with <a href="https://codemirror.net" rel="nofollow ugc">CodeMirror</a></li>
<li>Small improvements</li>
</ul>
<h4>1.3.2 (17 Aug 2012)</h4>
<ul>
<li>Fixed a bug with version 1.3.1</li>
</ul>
<h4>1.3.1 (17 Aug 2012)</h4>
<ul>
<li>Changed plugin website URI</li>
<li>Cleaned up some code</li>
</ul>
<h4>1.3 (1 Aug 2012)</h4>
<ul>
<li>Added export option to &#8216;Manage Snippets&#8217; page</li>
<li>Added &#8216;Import Snippets&#8217; page</li>
</ul>
<h4>1.2 (29 July 2012)</h4>
<ul>
<li>Minor improvements</li>
<li>Added code highlighting</li>
<li>Removed &#8216;Uninstall Plugin&#8217; page</li>
<li>Data will now be cleaned up when plugin is deleted through WordPress admin</li>
</ul>
<h4>1.1 (24 June 2012)</h4>
<ul>
<li>Fixed a permissions bug with <code>DISALLOW_FILE_EDIT</code> being set to true (<a href="https://wordpress.org/support/topic/plugin-code-snippets-cant-add-new">#</a>)</li>
<li>Fixed a bug with the page title reading &#8216;Add New Snippet&#8217; on the &#8216;Edit Snippets&#8217; page</li>
<li>Fixed a bug not allowing the plugin to be Network Activated (<a href="https://wordpress.org/support/topic/plugin-code-snippets-network-activate-does-not-create-snippets-tables">#</a>)</li>
</ul>
<h4>1.0 (13 June 2012)</h4>
<ul>
<li>Stable version released.</li>
</ul>
";s:11:"screenshots";s:939:"<ol><li><a href="https://ps.w.org/code-snippets/assets/screenshot-1.png?rev=2256244"><img src="https://ps.w.org/code-snippets/assets/screenshot-1.png?rev=2256244" alt="Managing existing snippets"></a><p>Managing existing snippets</p></li><li><a href="https://ps.w.org/code-snippets/assets/screenshot-2.png?rev=2256244"><img src="https://ps.w.org/code-snippets/assets/screenshot-2.png?rev=2256244" alt="Adding a new snippet"></a><p>Adding a new snippet</p></li><li><a href="https://ps.w.org/code-snippets/assets/screenshot-3.png?rev=2256244"><img src="https://ps.w.org/code-snippets/assets/screenshot-3.png?rev=2256244" alt="Editing a snippet"></a><p>Editing a snippet</p></li><li><a href="https://ps.w.org/code-snippets/assets/screenshot-4.png?rev=2256244"><img src="https://ps.w.org/code-snippets/assets/screenshot-4.png?rev=2256244" alt="Importing snippets from an export file"></a><p>Importing snippets from an export file</p></li></ol>";s:7:"reviews";s:14637:"<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Installed on almost every site</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/websmx"><img alt='' src='https://secure.gravatar.com/avatar/75b35f2c8fc1c68fd495dc0bee55e1d0?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/75b35f2c8fc1c68fd495dc0bee55e1d0?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/websmx" class="reviewer-name">websmx</a> on <span class="review-date">August 11, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Code Snippets is a super useful plugin to add custom scripts of all kinds to your site. I use it on almost all sites I design (using Oxygen Builder). Really like how easy it is to edit/disable the scripts in the database just in case you have a fatal error. </div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Top Tier Plugin</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/ximbor"><img alt='' src='https://secure.gravatar.com/avatar/ce98ad8350da09020dd9537a6877fe89?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/ce98ad8350da09020dd9537a6877fe89?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/ximbor" class="reviewer-name">ximbor</a> on <span class="review-date">August 10, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Thank you for taking the time to create such an awesome plugin :) this is awesome and makes adding code snips so easy!</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Great for CSS</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/tomster999"><img alt='' src='https://secure.gravatar.com/avatar/54cbbc57b421a4ecb67306a08a2bf568?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/54cbbc57b421a4ecb67306a08a2bf568?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/tomster999" class="reviewer-name">tomster999</a> on <span class="review-date">August 9, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Great way to implement CSS and PHP. I haven't had a problem. They also have a safety if you make a mistake.</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">thanks a lot</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/insecttrojan"><img alt='' src='https://secure.gravatar.com/avatar/ded5fa2c36befc31194334300bf80c7b?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/ded5fa2c36befc31194334300bf80c7b?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/insecttrojan" class="reviewer-name">Insect Trojan <small>(insecttrojan)</small></a> on <span class="review-date">August 8, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">thanks the plugin is perfect ?</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Excellent for adding non-theme specific custom (functions.php) code</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/sherylhohman"><img alt='' src='https://secure.gravatar.com/avatar/6dd42f21219f2629e1bc4f91e210666e?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/6dd42f21219f2629e1bc4f91e210666e?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/sherylhohman" class="reviewer-name">SherylHohman</a> on <span class="review-date">August 7, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Some code that you would normally put in a <code>functions.php</code> file inside your child theme can be added here instead.
This way, it will run no matter <em>which</em> theme is active.

You can also export and import to other sites, and turn specific code snippets on/off depending on your needs.

This is similar to creating your own custom plugins, but much easier.
It also lets you limit any snippet to run only on the front-end, only on the back-end, or both.  This and the export/import functionality are the little touches that prompted me to use this plugin rather than uploading code as a custom plugin!

The import/export is well thought out; it lets you choose to replace, ignore, or duplicate imported snippets that have the same name as already existing snippets!
This should be the default on ALL WordPress import functions!!</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Essential Plugin for WordPress</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/richardu"><img alt='' src='https://secure.gravatar.com/avatar/b7c04fcb483bd39ffbbd764e519e162a?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/b7c04fcb483bd39ffbbd764e519e162a?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/richardu" class="reviewer-name">richardu</a> on <span class="review-date">August 1, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">I can't imagine using WordPress without this. Works perfectly and prevents you from crashing your site. Cheers.</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Easy to use</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/cloudmeister"><img alt='' src='https://secure.gravatar.com/avatar/f2e34280bd8a8e1fd2edfcf88ad22a02?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/f2e34280bd8a8e1fd2edfcf88ad22a02?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/cloudmeister" class="reviewer-name">Reinhard Jung <small>(cloudmeister)</small></a> on <span class="review-date">July 29, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Very nice - cool!</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Indispensable</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/mrdelish"><img alt='' src='https://secure.gravatar.com/avatar/8d539cdf24ec8b39de768e5af935ca23?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/8d539cdf24ec8b39de768e5af935ca23?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/mrdelish" class="reviewer-name">mrdelish</a> on <span class="review-date">July 23, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Love using this on my projects, way better than putting custom code in functions.php</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">WordPress 5.8 compatibility</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/consultingroupitaly"><img alt='' src='https://secure.gravatar.com/avatar/622ade42b94fac69811ba5f54ebf23db?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/622ade42b94fac69811ba5f54ebf23db?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/consultingroupitaly" class="reviewer-name">CGItaly s.r.l. <small>(consultingroupitaly)</small></a> on <span class="review-date">July 19, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">Hi,
I just want to know what is the compatibility of this plug-in with WordPress 5.8 that will be released tomorrow.
What is?

Best regards.</div>
</div>
<div class="review">
	<div class="review-head">
		<div class="reviewer-info">
			<div class="review-title-section">
				<h4 class="review-title">Get out of troubles adding that minimal coding needed</h4>
				<div class="star-rating">
				<div class="wporg-ratings" aria-label="5 out of 5 stars" data-title-template="%s out of 5 stars" data-rating="5" style="color:#ffb900;"><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span><span class="star dashicons dashicons-star-filled"></span></div>				</div>
			</div>
			<p class="reviewer">
				By <a href="https://profiles.wordpress.org/vdrossa"><img alt='' src='https://secure.gravatar.com/avatar/c9baf55549a84bc0fedee8b3d63c63a6?s=16&#038;d=monsterid&#038;r=g' srcset='https://secure.gravatar.com/avatar/c9baf55549a84bc0fedee8b3d63c63a6?s=32&#038;d=monsterid&#038;r=g 2x' class='avatar avatar-16 photo' height='16' width='16' loading='lazy'/></a><a href="https://profiles.wordpress.org/vdrossa" class="reviewer-name">Vittorio <small>(vdrossa)</small></a> on <span class="review-date">July 18, 2021</span>			</p>
		</div>
	</div>
	<div class="review-body">I found it very useful becausa allow me to put, where I want the code I need. But the <strong>MAIN collateral result</strong> is that instead of make chages with SSH and forgot where I made, I get all my code listed and is easy to export and reuse on other WP sites.
</div>
</div>
";}s:17:"short_description";s:64:"An easy, clean and simple way to run code snippets on your site.";s:13:"download_link";s:56:"https://downloads.wordpress.org/plugin/code-snippets.zip";s:11:"screenshots";a:4:{i:1;a:2:{s:3:"src";s:66:"https://ps.w.org/code-snippets/assets/screenshot-1.png?rev=2256244";s:7:"caption";s:26:"Managing existing snippets";}i:2;a:2:{s:3:"src";s:66:"https://ps.w.org/code-snippets/assets/screenshot-2.png?rev=2256244";s:7:"caption";s:20:"Adding a new snippet";}i:3;a:2:{s:3:"src";s:66:"https://ps.w.org/code-snippets/assets/screenshot-3.png?rev=2256244";s:7:"caption";s:17:"Editing a snippet";}i:4;a:2:{s:3:"src";s:66:"https://ps.w.org/code-snippets/assets/screenshot-4.png?rev=2256244";s:7:"caption";s:38:"Importing snippets from an export file";}}s:4:"tags";a:5:{s:4:"code";s:4:"code";s:13:"code-snippets";s:13:"code-snippets";s:7:"network";s:7:"network";s:3:"php";s:3:"php";s:8:"snippets";s:8:"snippets";}s:8:"versions";a:56:{s:3:"1.0";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.0.zip";s:3:"1.1";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.1.zip";s:3:"1.2";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.2.zip";s:3:"1.3";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.3.zip";s:5:"1.3.2";s:62:"https://downloads.wordpress.org/plugin/code-snippets.1.3.2.zip";s:3:"1.4";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.4.zip";s:3:"1.5";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.5.zip";s:3:"1.6";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.6.zip";s:5:"1.6.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.1.6.1.zip";s:3:"1.7";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.7.zip";s:5:"1.7.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.1.7.1.zip";s:7:"1.7.1.1";s:64:"https://downloads.wordpress.org/plugin/code-snippets.1.7.1.1.zip";s:7:"1.7.1.2";s:64:"https://downloads.wordpress.org/plugin/code-snippets.1.7.1.2.zip";s:3:"1.8";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.8.zip";s:5:"1.8.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.1.8.1.zip";s:7:"1.8.1.1";s:64:"https://downloads.wordpress.org/plugin/code-snippets.1.8.1.1.zip";s:3:"1.9";s:60:"https://downloads.wordpress.org/plugin/code-snippets.1.9.zip";s:5:"1.9.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.1.9.1.zip";s:7:"1.9.1.1";s:64:"https://downloads.wordpress.org/plugin/code-snippets.1.9.1.1.zip";s:3:"2.0";s:60:"https://downloads.wordpress.org/plugin/code-snippets.2.0.zip";s:5:"2.0.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.0.1.zip";s:5:"2.1.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.1.0.zip";s:6:"2.10.0";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.10.0.zip";s:6:"2.10.1";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.10.1.zip";s:6:"2.12.0";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.12.0.zip";s:6:"2.12.1";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.12.1.zip";s:6:"2.13.0";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.13.0.zip";s:6:"2.13.1";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.13.1.zip";s:6:"2.13.2";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.13.2.zip";s:6:"2.13.3";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.13.3.zip";s:6:"2.14.0";s:63:"https://downloads.wordpress.org/plugin/code-snippets.2.14.0.zip";s:5:"2.2.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.2.0.zip";s:5:"2.2.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.2.1.zip";s:5:"2.2.2";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.2.2.zip";s:5:"2.2.3";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.2.3.zip";s:5:"2.3.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.3.0.zip";s:5:"2.4.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.4.0.zip";s:5:"2.4.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.4.1.zip";s:5:"2.4.2";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.4.2.zip";s:5:"2.5.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.5.0.zip";s:5:"2.6.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.6.0.zip";s:5:"2.6.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.6.1.zip";s:5:"2.7.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.7.0.zip";s:5:"2.8.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.0.zip";s:5:"2.8.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.1.zip";s:5:"2.8.2";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.2.zip";s:5:"2.8.3";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.3.zip";s:5:"2.8.4";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.4.zip";s:5:"2.8.5";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.8.5.zip";s:5:"2.9.0";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.0.zip";s:5:"2.9.1";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.1.zip";s:5:"2.9.2";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.2.zip";s:5:"2.9.3";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.3.zip";s:5:"2.9.4";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.4.zip";s:5:"2.9.5";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.5.zip";s:5:"2.9.6";s:62:"https://downloads.wordpress.org/plugin/code-snippets.2.9.6.zip";}s:11:"donate_link";s:28:"https://sheabunge.com/donate";s:7:"banners";a:2:{s:3:"low";s:68:"https://ps.w.org/code-snippets/assets/banner-772x250.png?rev=2256244";s:4:"high";s:69:"https://ps.w.org/code-snippets/assets/banner-1544x500.png?rev=2260997";}s:5:"icons";a:2:{s:2:"1x";s:58:"https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878";s:3:"svg";s:58:"https://ps.w.org/code-snippets/assets/icon.svg?rev=2148878";}}