{"id":28501,"date":"2014-03-21T22:48:29","date_gmt":"2014-03-21T22:48:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/buddypress-xprofile-validate-with-regex\/"},"modified":"2015-04-21T08:58:07","modified_gmt":"2015-04-21T08:58:07","slug":"buddypress-xprofile-validate-with-regex","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/buddypress-xprofile-validate-with-regex\/","author":9581611,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.1.2","stable_tag":"trunk","tested":"4.2.39","requires":"3.8","requires_php":"","requires_plugins":"","header_name":"BuddyPress XProfile Validate with RegEx","header_author":"Tomasz \"Tometzky\" Ostrowski","header_description":"","assets_banners_color":"","last_updated":"2015-04-21 08:58:07","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/buddypress-xprofile-validate-with-regex\/","header_author_uri":"https:\/\/profiles.wordpress.org\/tometzky\/","rating":4.5,"author_block_rating":0,"active_installs":10,"downloads":2877,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":"1","4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2656,204,435],"plugin_category":[43,44,54],"plugin_contributors":[90199],"plugin_business_model":[],"class_list":["post-28501","plugin","type-plugin","status-publish","hentry","plugin_tags-anti-spam","plugin_tags-buddypress","plugin_tags-profile","plugin_category-customization","plugin_category-discussion-and-community","plugin_category-security-and-spam-protection","plugin_contributors-tometzky","plugin_committers-tometzky"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/buddypress-xprofile-validate-with-regex.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>With this plugin you can define a PCRE regular expression against which data entered\nin XProfile fields will be matched.<\/p>\n\n<p>For example:<\/p>\n\n<ul>\n<li>check <em>webpage<\/em> field for a correct(-ish) URL or domain name: <code>%^(https?:\/\/)?([^ :\/]{1,63}\\.)+[^ :\/.]{2,63}%iu<\/code><\/li>\n<li>check <em>age<\/em> field for a sane(-ish) value (0-199): <code>\/^1?[0-9]?[0-9]$\/<\/code><\/li>\n<li>check <em>phone<\/em> field for a sane(-ish) value: <code>\/^+?[0-9 -]{7,45}$\/<\/code><\/li>\n<li>check any field for a minimum and maksimum length: <code>\/^.{10,100}$\/u<\/code><\/li>\n<\/ul>\n\n<p>You can also configure a message to show when a field data does not validate.<\/p>\n\n<!--section=changelog-->\n<h4>TODO<\/h4>\n\n<ul>\n<li>Checking for a valid regular expression while saving field configuration.<\/li>\n<li>Support validating standard Name field<\/li>\n<li>Support validating field data while editing profile - currently data is validated only during registering.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Fixed a bug: configuration wasn't saved during creating a new xprofile\nfield - only during editing an existing field<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Added plugin site<\/li>\n<li>Change license to GPLv2 or later - interaction of AGPLv3 with other\nlicenses is too confusing<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"BuddyPress - Validate XProfile data with PCRE regular expressions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/28501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=28501"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/tometzky"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=28501"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=28501"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=28501"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=28501"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=28501"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=28501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}