[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fOKKpJbrcPpKdM4ewHfpmb1a3MA92NCbznLVzlYZg74U":3},{"slug":4,"name":5,"version":6,"author":7,"author_profile":8,"description":9,"short_description":10,"active_installs":11,"downloaded":12,"rating":13,"num_ratings":14,"last_updated":15,"tested_up_to":16,"requires_at_least":17,"requires_php":18,"tags":19,"homepage":22,"download_link":23,"security_score":13,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26,"vulnerabilities":27,"developer":28,"crawl_stats":25,"alternatives":35,"analysis":120,"fingerprints":158},"easy-primary-category","Easy Primary Category","1.1.1","Gagan Deep Singh","https:\u002F\u002Fprofiles.wordpress.org\u002Fgagan0123\u002F","\u003Cp>\u003Cstrong>Notice: Currently works only with WordPress Classic Editor, not Gutenberg compatible\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Allows you to choose primary category for posts and custom post types.\u003C\u002Fp>\n\u003Cp>When the permalink structure includes category, the category marked as Primary, will be used for generating the permalink of the post.\u003C\u002Fp>\n\u003Cp>Works with custom post types and custom taxonomies as long as the taxonomy supports hierarchical structure.\u003C\u002Fp>\n","Allows you to choose primary category for posts and custom post types.",1000,41275,100,4,"2026-02-10T08:12:00.000Z","6.9.4","4.5","5.6",[20,21],"category","primary","https:\u002F\u002Fgagan0123.com\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Feasy-primary-category.1.1.1.zip",0,null,"2026-03-15T15:16:48.613Z",[],{"slug":29,"display_name":7,"profile_url":8,"plugin_count":30,"total_installs":31,"avg_security_score":13,"avg_patch_time_days":32,"trust_score":33,"computed_at":34},"gagan0123",8,65470,30,94,"2026-04-04T05:27:21.524Z",[36,55,74,91,104],{"slug":37,"name":38,"version":6,"author":39,"author_profile":40,"description":41,"short_description":42,"active_installs":43,"downloaded":44,"rating":13,"num_ratings":45,"last_updated":46,"tested_up_to":47,"requires_at_least":48,"requires_php":49,"tags":50,"homepage":52,"download_link":53,"security_score":54,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26},"simple-primary-category","Simple Primary Category","Ashar Irfan","https:\u002F\u002Fprofiles.wordpress.org\u002Fmrasharirfan\u002F","\u003Cp>A light-weight WordPress plugin to assign primary category to posts and custom post types.\u003C\u002Fp>\n\u003Ch3>How to Use\u003C\u002Fh3>\n\u003Col>\n\u003Cli>Browse to any post or custom post type in WordPress admin.\u003C\u002Fli>\n\u003Cli>Check the taxonomies that you want to assign to it.\u003C\u002Fli>\n\u003Cli>Select the respective primary taxonomies.\u003C\u002Fli>\n\u003Cli>Save the post.\u003C\u002Fli>\n\u003Cli>Use this shortcode to query the posts: \u003Ccode>spc_primary_term_posts\u003C\u002Fcode>.\u003C\u002Fli>\n\u003Cli>Use the action hook — \u003Ccode>spc_display_primary_term_posts\u003C\u002Fcode> — to display the queried posts in your theme.\u003C\u002Fli>\n\u003C\u002Fol>\n","A light-weight WordPress plugin to assign primary category to posts and custom post types.",200,5021,1,"2023-11-24T20:29:00.000Z","6.4.8","5.0","7.3",[20,21,51],"taxonomy","https:\u002F\u002Fgithub.com\u002Fasharirfan\u002Fsimple-primary-category","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsimple-primary-category.1.1.1.zip",85,{"slug":56,"name":57,"version":58,"author":59,"author_profile":60,"description":61,"short_description":62,"active_installs":63,"downloaded":64,"rating":65,"num_ratings":66,"last_updated":67,"tested_up_to":68,"requires_at_least":48,"requires_php":18,"tags":69,"homepage":72,"download_link":73,"security_score":54,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26},"wp-select-primary-category","WP Select Primary Category","1.0.8","Mobeen Abdullah","https:\u002F\u002Fprofiles.wordpress.org\u002Fmobeen-abdullah\u002F","\u003Cp>WP Select Primary Category plugin allows you to select a primary category for different posts and custom post types.\u003C\u002Fp>\n\u003Ch3>Background for this plugin\u003C\u002Fh3>\n\u003Cp>Many publishers use categories as a means to logically organize their content. However, many pieces of content have more than one category. Sometimes it’s useful to designate a primary\u003Cbr \u002F>\ncategory for posts (and custom post types). On the front-end, the agency need the ability to query for posts (and custom post types) based on their primary categories.\u003C\u002Fp>\n\u003Ch3>Automatic installation\u003C\u002Fh3>\n\u003Cp>Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.\u003C\u002Fp>\n\u003Cp>In the search field type “WP Select Primary Category” and click Search Plugins. Once you’ve found this plugin, you can install it by simply clicking “Install Now”.\u003C\u002Fp>\n\u003Ch3>Manual installation\u003C\u002Fh3>\n\u003Col>\n\u003Cli>Download and unzip the WP Select Primary Category plugin\u003C\u002Fli>\n\u003Cli>Upload the entire wp-select-primary-category\u002F directory to the \u002Fwp-content\u002Fplugins\u002F directory\u003C\u002Fli>\n\u003Cli>Activate the WP Select Primary Category plugin through the Plugins menu in WordPress\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch3>How to use WP Select Primary Category?\u003C\u002Fh3>\n\u003Cp>You can use WP Select Primary Category functionality under Categories panel in any of the hierarchical post type.\u003C\u002Fp>\n\u003Ch3>License\u003C\u002Fh3>\n\u003Cp>Select Primary Category is distributed under the terms of GNU GPL2.\u003C\u002Fp>\n\u003Ch3>Future Updates\u003C\u002Fh3>\n\u003Cul>\n\u003Cli>A Gutenberg Block to show in any post\u002Fpage\u003C\u002Fli>\n\u003Cli>Shortcode with different options to show on any page\u002Fpost\u003C\u002Fli>\n\u003Cli>Widget to show the posts based on primary category on different widget areas\u003C\u002Fli>\n\u003C\u002Ful>\n","WP Select Primary Category plugin allows you to select a primary category for different posts and custom post types.",50,6207,80,2,"2019-12-27T06:45:00.000Z","5.3.21",[20,70,71],"primary-category","taxonomies","https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-select-primary-category\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fwp-select-primary-category.zip",{"slug":75,"name":76,"version":77,"author":78,"author_profile":79,"description":80,"short_description":81,"active_installs":82,"downloaded":83,"rating":24,"num_ratings":24,"last_updated":84,"tested_up_to":85,"requires_at_least":85,"requires_php":85,"tags":86,"homepage":89,"download_link":90,"security_score":54,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26},"topcat","Top Cat","1.0.2","bennettmcelwee","https:\u002F\u002Fprofiles.wordpress.org\u002Fbennettmcelwee\u002F","\u003Cp>Top Cat allows you to specify a main category for your posts. Even though WordPress posts can have more than one category, you may want to specify which of them is the main category for each post. Top Cat lets you do this and also provides template tags for displaying the main category.\u003C\u002Fp>\n\u003Cp>Using style sheets, you can then apply different styling to posts based on their main category, even if they belong to the same set of categories. For an example, see my home page at http:\u002F\u002Fwww.thunderguy.com\u002Fbennett\u002F\u003C\u002Fp>\n","Top Cat allows you to specify a main category for your posts. Even though WordPress posts can have more than one category, you may want to specify whi &hellip;",10,2971,"2005-05-27T13:36:00.000Z","",[20,87,21,88],"main","single","http:\u002F\u002Fwww.thunderguy.com\u002Fsemicolon\u002Fwordpress\u002Ftop-cat-wordpress-plugin\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Ftopcat.zip",{"slug":92,"name":93,"version":94,"author":95,"author_profile":96,"description":97,"short_description":98,"active_installs":24,"downloaded":99,"rating":24,"num_ratings":24,"last_updated":85,"tested_up_to":85,"requires_at_least":17,"requires_php":85,"tags":100,"homepage":101,"download_link":102,"security_score":13,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":103},"deniz-primary-category","Select Primary Category","1.0","denizozsen","https:\u002F\u002Fprofiles.wordpress.org\u002Fdenizozsen\u002F","\u003Cp>Features:\u003Cbr \u002F>\n* Ability to designate a primary category for posts and custom post types.\u003Cbr \u002F>\n* Supports custom post types and custom taxonomies with hierarchical structure.\u003Cbr \u002F>\n* Category in permalink is the primary category, if one is set.\u003Cbr \u002F>\n* Shortcode for displaying posts with a specific primary category.\u003Cbr \u002F>\n* CLI command for listing posts with a specific primary category.\u003C\u002Fp>\n","Adds the ability to designate a primary category for posts and custom post types.",1175,[20,21,51],"https:\u002F\u002Fdeveloper.wordpress.org\u002Fplugins\u002Fdeniz-primary-category\u002F","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fdeniz-primary-category.zip","2026-03-15T10:48:56.248Z",{"slug":105,"name":106,"version":107,"author":108,"author_profile":109,"description":110,"short_description":111,"active_installs":24,"downloaded":112,"rating":24,"num_ratings":24,"last_updated":113,"tested_up_to":114,"requires_at_least":48,"requires_php":85,"tags":115,"homepage":85,"download_link":119,"security_score":13,"vuln_count":24,"unpatched_count":24,"last_vuln_date":25,"fetched_at":26},"primary-cat","Primary Cat","0.2","Web Guy","https:\u002F\u002Fprofiles.wordpress.org\u002Fwebguyio\u002F","\u003Cp>\u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fwebguyio\u002Fsupport\" rel=\"nofollow ugc\">💬 Ask Question\u003C\u002Fa> | \u003Ca href=\"mailto:webguywork@gmail.com\" rel=\"nofollow ugc\">📧 Email Me\u003C\u002Fa>\u003C\u002Fp>\n\u003Cp>Set a primary category for your posts… and then do stuff with it.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Why would I want a primary category?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cp>Out of the box, WordPress allows you to assign multiple categories to a post. Unless you’re enforcing a strict one-category-per-post-only rule for your website, this can be a problem now for displaying the most important category for your respective posts, as opposed to WordPress automatically selecting it for you.\u003C\u002Fp>\n\u003Cp>Let’s say that your blog is about animals, and you publish an article titled “Why Do Dogs Love Water and Cats Hate It?” with the categories: \u003Cem>Cats\u003C\u002Fem>, \u003Cem>Dogs\u003C\u002Fem>, and \u003Cem>Pets\u003C\u002Fem> assigned to it.\u003C\u002Fp>\n\u003Cp>By default, anywhere that WordPress might display a single category to represent the post, it’s probably going to display \u003Cem>Cats\u003C\u002Fem> by default, but since the post is equally about both cats and dogs, maybe the more general \u003Cem>Pets\u003C\u002Fem> category would be more appropriate.\u003C\u002Fp>\n\u003Cp>This plugin allows you to accomplish that, whether it’s for presentational, structural, organizational, SEO, or all of the above purposes.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>In what ways can I utilize a primary category?\u003C\u002Fstrong>\u003C\u002Fp>\n\u003Cpre>\u003Ccode>[primary-cat]\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003Cp>In any creative way that you can imagine, but here are some examples I thought of:\u003C\u002Fp>\n\u003Cul>\n\u003Cli>To present the main category that the post belongs to above its title (by adding \u003Ccode>\u003C?php echo do_shortcode( '[primary-cat]' ); ?>\u003C\u002Fcode> in your theme code, child theme, or custom functions plugin), in some aesthetic way (which can be styled with CSS \u003Ccode>.primary-cat\u003C\u002Fcode>). Lots of blog, news, and magazine sites have this feature.\u003C\u002Fli>\n\u003Cli>To have the appropriate slug in your post URLs if you’re using the custom \u003Ccode>\u002F%category%\u002F%postname%\u002F\u003C\u002Fcode> permalink structure under \u003Cem>Settings > Permalinks\u003C\u002Fem>.\u003C\u002Fli>\n\u003Cli>To have breadcrumbs (by using the shortcode \u003Ccode>[primary-bread]\u003C\u002Fcode>) on your site for user-friendliness (which can be styled with CSS \u003Ccode>#breadcrumbs\u003C\u002Fcode>), and can in turn, also improve SEO.\u003C\u002Fli>\n\u003C\u002Ful>\n","Set a primary category for your posts... and then do stuff with it. [primary-cat]",1128,"2026-01-21T13:41:00.000Z","6.8.5",[116,117,20,118,70],"breadcrumbs","categories","category-slug","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fprimary-cat.zip",{"attackSurface":121,"codeSignals":144,"taintFlows":151,"riskAssessment":152,"analyzedAt":157},{"hooks":122,"ajaxHandlers":140,"restRoutes":141,"shortcodes":142,"cronEvents":143,"entryPointCount":24,"unprotectedCount":24},[123,129,133,136],{"type":124,"name":125,"callback":126,"file":127,"line":128},"action","admin_enqueue_scripts","enqueue_scripts","admin\\class-easy-primary-category-admin.php",69,{"type":124,"name":130,"callback":131,"file":127,"line":132},"save_post","save_primary_terms",70,{"type":124,"name":134,"callback":134,"priority":82,"file":127,"line":135},"admin_footer",71,{"type":137,"name":138,"callback":138,"priority":82,"file":139,"line":33},"filter","post_link_category","includes\\class-easy-primary-category.php",[],[],[],[],{"dangerousFunctions":145,"sqlUsage":146,"outputEscaping":148,"fileOperations":24,"externalRequests":24,"nonceChecks":45,"capabilityChecks":24,"bundledLibraries":150},[],{"prepared":24,"raw":24,"locations":147},[],{"escaped":14,"rawEcho":24,"locations":149},[],[],[],{"summary":153,"deductions":154},"The \"easy-primary-category\" plugin v1.1.1 demonstrates a strong security posture based on the provided static analysis and vulnerability history. The absence of any reported CVEs, combined with the plugin's clean code signals, suggests a well-maintained and secure codebase. Notably, all SQL queries are prepared, output is properly escaped, and there are no identified dangerous functions or file operations. The presence of a nonce check further enhances security by mitigating certain types of cross-site request forgery (CSRF) attacks.\n\nHowever, the analysis does highlight areas for potential improvement and caution. The complete lack of capability checks across all entry points is a significant concern. While the attack surface is currently reported as zero, if any new entry points are introduced or discovered in the future, they would inherently lack proper authorization checks, posing a risk. Similarly, the absence of taint analysis results, though potentially indicating no issues, could also mean the analysis was not performed or did not cover all scenarios. The plugin's history of no vulnerabilities is a positive indicator, but it does not guarantee future security. Continuous vigilance and security reviews are crucial.\n\nIn conclusion, the \"easy-primary-category\" plugin v1.1.1 appears to be a secure option with a commendable focus on core security practices like prepared statements and output escaping. The primary weakness lies in the lack of capability checks, which, while not directly exploitable given the current zero attack surface, represents a potential future risk if the plugin's functionality expands. The plugin's track record of no vulnerabilities is a strong positive. Overall, the plugin is in a good state, but the absence of capability checks warrants attention for future development.",[155],{"reason":156,"points":82},"No capability checks found","2026-03-16T19:06:00.604Z",{"wat":159,"direct":168},{"assetPaths":160,"generatorPatterns":163,"scriptPaths":164,"versionParams":165},[161,162],"\u002Fwp-content\u002Fplugins\u002Feasy-primary-category\u002Fadmin\u002Fcss\u002Fepc-taxonomy-metabox.min.css","\u002Fwp-content\u002Fplugins\u002Feasy-primary-category\u002Fadmin\u002Fjs\u002Fepc-taxonomy-metabox.min.js",[],[162],[166,167],"easy-primary-category\u002Fadmin\u002Fcss\u002Fepc-taxonomy-metabox.min.css?ver=","easy-primary-category\u002Fadmin\u002Fjs\u002Fepc-taxonomy-metabox.min.js?ver=",{"cssClasses":169,"htmlComments":171,"htmlAttributes":177,"restEndpoints":180,"jsGlobals":181,"shortcodeOutput":183},[170],"epc-primary-term-select",[172,173,174,175,176],"The primary category meta box.","If no taxonomies are set to enable the primary term selection for this post type, do nothing.","Show the primary term meta box.","Include Underscore.js style template for buttons and input fields"," on post edit and post add screens.",[178,179],"data-taxonomy-name","data-post-id",[],[182],"easyPrimaryCategory",[]]