{"id":107203,"date":"2019-07-31T05:45:21","date_gmt":"2019-07-31T05:45:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/aucor-core\/"},"modified":"2020-10-07T19:03:42","modified_gmt":"2020-10-07T19:03:42","slug":"aucor-core","status":"publish","type":"plugin","link":"https:\/\/ve.wordpress.org\/plugins\/aucor-core\/","author":13880817,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.4","stable_tag":"trunk","tested":"5.5.18","requires":"4.7.3","requires_php":"7.0","requires_plugins":"","header_name":"Aucor Core","header_author":"Aucor Oy","header_description":"The Aucor brand's core functionality","assets_banners_color":"","last_updated":"2020-10-07 19:03:42","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/www.aucor.fi","rating":0,"author_block_rating":0,"active_installs":10,"downloads":4919,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.12":{"tag":"1.0.12","author":"deployer","date":"2019-12-10 12:00:08"},"1.0.13":{"tag":"1.0.13","author":"aucor","date":"2019-12-10 12:31:52"},"1.1":{"tag":"1.1","author":"aucor","date":"2020-10-01 06:23:45"},"1.1.1":{"tag":"1.1.1","author":"aucor","date":"2020-10-01 07:49:48"},"1.1.2":{"tag":"1.1.2","author":"aucor","date":"2020-10-01 07:52:54"},"1.1.3":{"tag":"1.1.3","author":"aucor","date":"2020-10-02 13:01:40"},"1.1.4":{"tag":"1.1.4","author":"aucor","date":"2020-10-07 19:03:42"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2131190,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2131190,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.12","1.0.13","1.1","1.1.1","1.1.2","1.1.3","1.1.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[174496,3003],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-107203","plugin","type-plugin","status-publish","hentry","plugin_tags-aucor","plugin_tags-core","plugin_committers-aucor"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/aucor-core\/assets\/icon-128x128.png?rev=2131190","icon_2x":"https:\/\/ps.w.org\/aucor-core\/assets\/icon-256x256.png?rev=2131190","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin contains the features and settings generally deemed to be the most commonly used in all projects. It is meant to be used together with <a href=\"https:\/\/github.com\/aucor\/aucor-starter\">aucor-starter<\/a> but functions on its own as well. Use the site specific plugin to configure the specs of this plugin.<\/p>\n\n<h3>Contents<\/h3>\n\n<h4>Abstract Classes<\/h4>\n\n<p>Directory: root<\/p>\n\n<p>The models the features are built on<\/p>\n\n<h4>Features and subfeatures<\/h4>\n\n<p>Directory: <code>\/features\/<\/code><\/p>\n\n<p>Features (containing subfeatures) ranging from security settings to speed optimizations and dashboard cleanup.<\/p>\n\n<p>admin:<\/p>\n\n<ul>\n<li>gallery<\/li>\n<li>image-links<\/li>\n<li>login<\/li>\n<li>admin menu cleanup<\/li>\n<li>notifications<\/li>\n<li>profile cleanup<\/li>\n<li>remove customizer<\/li>\n<\/ul>\n\n<p>classic-editor:<\/p>\n\n<ul>\n<li>tinymce<\/li>\n<\/ul>\n\n<p>dashboard:<\/p>\n\n<ul>\n<li>cleanup<\/li>\n<li>recent widget<\/li>\n<li>remove panels<\/li>\n<\/ul>\n\n<p>front-end:<\/p>\n\n<ul>\n<li>excerpt<\/li>\n<li>html fixes<\/li>\n<\/ul>\n\n<p>localization:<\/p>\n\n<ul>\n<li>polyfill<\/li>\n<li>string translations<\/li>\n<\/ul>\n\n<p>plugins:<\/p>\n\n<ul>\n<li>acf<\/li>\n<li>gravityforms<\/li>\n<li>redirection<\/li>\n<li>seo<\/li>\n<li>yoast<\/li>\n<\/ul>\n\n<p>security:<\/p>\n\n<ul>\n<li>disable admin email check<\/li>\n<li>disable file edit<\/li>\n<li>disable unfiltered html<\/li>\n<li>head cleanup<\/li>\n<li>hide users<\/li>\n<li>remove comment moderation<\/li>\n<li>remove commenting<\/li>\n<\/ul>\n\n<p>speed:<\/p>\n\n<ul>\n<li>limit revisions<\/li>\n<li>move jquery<\/li>\n<li>remove emojis<\/li>\n<li>remove metabox<\/li>\n<\/ul>\n\n<p>debug:<\/p>\n\n<ul>\n<li>style guide<\/li>\n<li>wireframe<\/li>\n<\/ul>\n\n<h4>Helper functions<\/h4>\n\n<p>Directory: root<\/p>\n\n<p>Contains functions, like enhanced (internal) debugging, for all features\/subfeatures to use<\/p>\n\n<h3>Configuration (optional)<\/h3>\n\n<h4>\"Active\" subfeatures<\/h4>\n\n<ul>\n<li><p>The <em>style guide<\/em> subfeature overrides the WP function <code>the_content()<\/code> with default markup for testing the most common tag styles, when the GET parameter '?ac-debug=styleguide' is found in the url. You can however replace this markup with a filter:<\/p>\n\n<p>add_filter('aucor_core_custom_markup', function($content) {\n  $content = 'custom markup';\n  return $content;\n});<\/p><\/li>\n<li><p>The <em>wireframe<\/em> subfeature adds outlines to all elements on page to help with visual debugging, when the GET parameter '?ac-debug=wireframe' is found in the url. It also appends '?ac-debug=wireframe' to the href value in all anchor tags on the page to keep the feature enabled during navigation.<\/p><\/li>\n<\/ul>\n\n<h4>Disable feature\/subfeature<\/h4>\n\n<p>By\u00a0default\u00a0all\u00a0the\u00a0features\/subfeatures\u00a0are\u00a0on,\u00a0but\u00a0you\u00a0can\u00a0disable\u00a0the\u00a0ones\u00a0you\u00a0don't\u00a0want\u00a0with\u00a0filters. This need to be done in a separate plugin, however, because the hooks that the features latch onto are executed earlier than the theme setup, so filters in e.g. functions.php won't have any effect. Here is a minimal code snippet you can use to disable features:<\/p>\n\n<pre><code>&lt;?php\n\/**\n * Plugin Name: YOUR PLUGIN NAME\n *\/\n\n\/\/ disable a feature in Aucor Core\nadd_filter('feature\u00a0or\u00a0subfeature\u00a0key',\u00a0'__return_false');\n<\/code><\/pre>\n\n<p>Put this snippet in a file called plugin.php, in a directory named [YOUR PLUGIN NAME], and place the directory under the \/plugins\/ directory with your other plugins.<\/p>\n\n<p>Note\u00a0that\u00a0if\u00a0you\u00a0disable\u00a0a\u00a0feature,\u00a0all\u00a0underlying\u00a0subfeatures\u00a0will\u00a0be\u00a0disabled\u00a0as\u00a0well.<\/p>\n\n<!--section=installation-->\n<p>Download and activate. That's it.<\/p>\n\n<!--section=changelog-->\n<h4>1.1.4<\/h4>\n\n<p>Revert main file to \"plugin.php\" and add fallback to \"aucor-core.php\" for any sites activated during renamed version. There is duplicate plugin entry in plugins list with name \"Aucor Core (Backwards Compatibility, Do Not Delete)\". This is just for old sites that used the renamed plugin file and running it just includes the right plugin file and changes active plugin file to database and deactivates that file. Even if both files are running (via mu-plugins) no harm is done. You cannot delete this file as it will delete the whole plugin. This is temporary migration period (maybe 1-2 years) to get all the sites on board after it can be removed.<\/p>\n\n<h4>1.1.3<\/h4>\n\n<p>Fix issue with renaming plugin.php that caused fatal error on update.<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Readme update, testing up to latest WP version.<\/p>\n\n<h4>1.1<\/h4>\n\n<p>Fixes to features along with more robust testing.<\/p>\n\n<h4>1.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Core plugin for WordPress projects.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/107203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=107203"}],"author":[{"embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/aucor"}],"wp:attachment":[{"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=107203"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=107203"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=107203"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=107203"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=107203"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ve.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=107203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}