Changeset 3257888
- Timestamp:
- 03/18/2025 02:30:08 PM (11 months ago)
- Location:
- starter-sites
- Files:
-
- 25 added
- 9 edited
-
tags/2.2 (added)
-
tags/2.2/assets (added)
-
tags/2.2/assets/css (added)
-
tags/2.2/assets/css/main.css (added)
-
tags/2.2/assets/images (added)
-
tags/2.2/assets/images/screenshot-placeholder.png (added)
-
tags/2.2/assets/js (added)
-
tags/2.2/assets/js/admin.js (added)
-
tags/2.2/assets/js/main.js (added)
-
tags/2.2/assets/json (added)
-
tags/2.2/assets/json/demos-list.json (added)
-
tags/2.2/inc (added)
-
tags/2.2/inc/activate.php (added)
-
tags/2.2/inc/admin-notice.php (added)
-
tags/2.2/inc/demo-list.php (added)
-
tags/2.2/inc/logs.php (added)
-
tags/2.2/inc/main.php (added)
-
tags/2.2/inc/mapping.php (added)
-
tags/2.2/inc/patterns.php (added)
-
tags/2.2/languages (added)
-
tags/2.2/languages/starter-sites.pot (added)
-
tags/2.2/readme.txt (added)
-
tags/2.2/starter-sites.php (added)
-
trunk/assets/css/main.css (modified) (2 diffs)
-
trunk/assets/js/admin.js (added)
-
trunk/assets/json/demos-list.json (modified) (1 diff)
-
trunk/inc/activate.php (modified) (7 diffs)
-
trunk/inc/admin-notice.php (added)
-
trunk/inc/demo-list.php (modified) (3 diffs)
-
trunk/inc/logs.php (modified) (5 diffs)
-
trunk/inc/main.php (modified) (10 diffs)
-
trunk/languages/starter-sites.pot (modified) (26 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/starter-sites.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
starter-sites/trunk/assets/css/main.css
r3248394 r3257888 610 610 } 611 611 612 .starter-sites-demo-warning { 613 background: #e27070; 614 color: #fff; 615 padding: 0 1em; 616 margin: 2em 4px; 617 border: 1px solid #d63638; 618 border-left-width: 4px; 619 border-radius: 3px; 620 } 621 622 .starter-sites-demo-warning p { 623 color: #fff; 624 } 625 626 .wppss-feature-item .is-warning { 627 margin-left: 10px; 628 color: var(--starter-sites--color--icon-no); 629 font-style: italic; 630 } 631 612 632 .starter-sites-demo-modal .starter-sites-demo-options { 613 633 margin: 2em 0 0 0; … … 781 801 background: var(--starter-sites--color--bg-2); 782 802 border-bottom: 1px solid var(--starter-sites--color--bg-1); 803 } 804 805 .starter-sites-log-table tr.is-error a { 806 color: var(--starter-sites--color--icon-no) 783 807 } 784 808 -
starter-sites/trunk/assets/json/demos-list.json
r3229726 r3257888 1 {"sites":{"estate":{"title":"Estate","image":"2025\/01\/screenshot-estate.jpg","image_full":"2025\/01\/screenshot-estate-full.jpg","theme":"eternal","plugins":["block-visibility","gutena-forms"],"fonts":["Noto Sans"],"colors":["#1d2327","#ffffff","#0c7b82","#0c7a820f","#0c5482","#820c40","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header","Side Header"],"templates":["All Archives","Front Page","Index","Page: 404","Pages","Pages: No Title","Search Results","Single Posts"],"patterns":["About Us with Columns","About Us with Text and Image","Apartment Details","Apartments in 3 Columns","Apartments in 3 Columns (2)","Columns with Quote and Image","Contact Form and Text in 2 Columns","Cover Image with Quote","Heading Text and Image","Large Image with Features List","List of Features with Icons","Quote 1","Quote 2","Two Quotes with Images"],"pages":["About","Apartments","Contact","Gallery","Home"],"posts":[],"products":[],"type":"premium"},"agency":{"title":"Agency","image":"2025\/01\/screenshot-agency.jpg","image_full":"2025\/01\/screenshot-agency-full.jpg","theme":"eternal","plugins":["block-visibility"],"fonts":[],"colors":["#1d2327","#ffffff","#ff6839","#ff68390f","#80bcc0","#2d2359","#313131","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Frontpage Header","Header"],"templates":["Front Page"],"patterns":["About Us","Contact Details","How Can We Help","Intro Text","Large Quote","Meet the Team","Our Services","Our Services Grid","Pricing Table","Pricing Table with Intro","Row of 3 Logos","What Do Our Clients Say"],"pages":["About Us","Contact","Our Services","Packages"],"posts":[],"products":[],"type":"included"},"furniture-store":{"title":"Furniture Store","image":"2024\/12\/screenshot-furniture-store.jpg","image_full":"2024\/12\/screenshot-furniture-store-full.jpg","theme":"eternal","plugins":["woocommerce"],"fonts":[],"colors":["#143d50","#ffffff","#1d4d63","#1d4d630f","#4faacc","#eaf5f9","#315464","#687d87","#f2f7f9","#d9e2e6"],"template_parts":["Footer","Header","Products Grid"],"templates":["Front Page","Single Product"],"patterns":[],"pages":["About","Cart","Checkout","My account","Shop"],"posts":[],"products":["Bar Stool","Bed Frame","Computer Desk","Dining Table","Sofa"],"type":"premium"},"fashion-store":{"title":"Fashion Store","image":"2024\/11\/screenshot-fashion-store.jpg","image_full":"2024\/11\/screenshot-fashion-store-full.jpg","theme":"eternal","plugins":["block-visibility","icon-block","woocommerce","yith-woocommerce-wishlist"],"fonts":["Mitr"],"colors":["#000000","#ffffff","#ff38ac","#ff38ac0f","#ff386c","#acff38","#252525","#767676","#fbfbfb","#dddddd"],"template_parts":["Footer","Header","Products"],"templates":["Front Page","Product Catalog","Product Search Results","Products by Attribute","Products by Category","Products by Tag","Single Product"],"patterns":["Home Hero Cover","Homepage Latest Products","Shop by Category","Store Features"],"pages":["About","Cart","Checkout","My account","Shop","Wishlist"],"posts":[],"products":["Ankle Boots","Handbag","Jacket with Buttons","Mens Jacket","Print Shirt","Puffer Jacket","Stiletto Heels","Sunglasses"],"type":"premium"},"tech-store":{"title":"Tech Store","image":"2024\/11\/screenshot-tech-store.jpg","image_full":"2024\/11\/screenshot-tech-store-full.jpg","theme":"eternal","plugins":["woocommerce"],"fonts":["Comfortaa"],"colors":["#1d2327","#ffffff","#2d59f2","#2d59f20f","#d64bc2","#87c826","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header","Header for Front Page"],"templates":["Front Page"],"patterns":["Category CTA"],"pages":["Cart","Checkout","My account","Shop"],"posts":[],"products":["Activity Tracker","Bluetooth Speaker","Exercise Bike","Gaming PC","Laptop","Monitor","Shockproof Phone","Smart LED TV","Smart Watch","Smartphone","Tablet","Turntable","TV Mount","TV Stick","Wireless Headphones"],"type":"included"},"interior-designer":{"title":"Interior Designer","theme":"eternal","image":"2024\/09\/screenshot-interior-designer.jpg","image_full":"2024\/10\/screenshot-interior-designer-full.jpg","plugins":["block-visibility","gutena-forms"],"fonts":["Raleway"],"colors":["#78716f","#ffffff","#4a596c","#a17f5b","#879458","#808386","#95999d","#fefdfb","#eae9e4"],"template_parts":["Footer","Header"],"templates":["All Archives","Front Page","Index","Page with Cover Title","Pages","Search Results"],"patterns":["About Us Intro","Attention to Detail","Authenticity in Every Design","Contact Form","Homepage About Us","Homepage Featured In","Homepage Intro Cover","Homepage Latest Projects","Interior Design Services","Our Approach","Our Expertise","Our Services Intro","Our Story","Project Gallery","Project Intro","Why Choose Us"],"pages":["About Us","Coastal Villa","Contact","French Farmhouse","Manhattan Penthouse","Our Services","Portfolio"],"posts":[],"products":[],"type":"premium"},"auto-center":{"title":"Auto Center","theme":"eternal","image":"2024\/09\/screenshot-auto-center.jpg","image_full":"2024\/09\/screenshot-auto-center-full.jpg","plugins":["block-visibility","carousel-block","gutena-forms"],"fonts":["Maven Pro"],"colors":["#131313","#ffffff","#fede00","#eb202f","#0693e2","#2b2b2b","#4d4d4d","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header"],"templates":["Front Page","Pages"],"patterns":["Homepage About","Homepage Cover","Homepage Customer Reviews Carousel","Homepage How It Works","Homepage Services","Intro - Brakes & Suspension","Intro - Electrical & Diagnostic","Intro - Engine & Transmission","Intro - Heating & Cooling","Intro - Routine Maintenance","Intro - Tire & Wheel Services","Intro - Vehicle Inspections & Safety","Intro - Windshield & Glass","Large Call to Action","Services - Brakes & Suspension","Services - Electrical & Diagnostic","Services - Engine & Transmission","Services - Heating & Cooling","Services - Routine Maintenance","Services - Tire & Wheel","Services - Vehicle Inspections & Safety","Services - Windshield & Glass","Why Choose - Brakes & Suspension","Why Choose - Electrical & Diagnostic","Why Choose - Engine & Transmission","Why Choose - Heating & Cooling","Why Choose - Routine Maintenance","Why Choose - Tire & Wheel","Why Choose - Vehicle Inspections & Safety","Why Choose - Windshield & Glass"],"pages":["Brakes & Suspension","Contact Us & Book an Appointment","Electrical & Diagnostic Services","Engine & Transmission","Heating, Cooling & Exhaust Systems","Routine Maintenance","Tire & Wheel Services","Vehicle Inspections & Safety","Windshield & Glass Services"],"posts":[],"products":[],"type":"included"},"enchanted-times":{"title":"Enchanted Times","theme":"eternal","image":"2024\/09\/screenshot-enchanted-times.jpg","image_full":"2024\/09\/screenshot-enchanted-times-full.jpg","plugins":["social-sharing-block"],"fonts":["Chomsky","Inter","Noto Serif"],"colors":["#000000","#ffffff","#b80000","#00b8b8","#00b85c","#2d3336","#686868","#fafafa","#e7e7e7"],"template_parts":["Comments","Footer","Header"],"templates":["All Archives","Front Page","Index","Search Results","Single Posts"],"patterns":["Archive - 2 Columns","Image Credit","Large Quote","Large Quote with Attribute","Latest by Category - 3 across","Latest from 2 Categories in 2 Columns","Latest News - 1 large + 3 small"],"pages":[],"posts":["A Cautionary Tale: The Perils of Quick Fixes and Instant Gratification","Boy's False Alarm Causes Real Concern\u2014Village on Edge After Wolf Hoax","Clever Cat Strikes Fortune, Elevates Master to Nobility in Series of Daring Schemes","Emperor's New Clothes: Royal Garments Unveiled\u2014Or Not?","Hamelin\u2019s Piper Promises Salvation, Delivers Disappearance: City Grapples with Bizarre Loss","In a Race for the Ages: Tortoise Triumphs Over Hare in Classic Showdown","Intruder Alert: Goldilocks Invades Bear Residence, Faces Porridge Predicament","Kingdom Celebrates After Sleeping Beauty Awakes from 100-Year Curse","Local Boy Jack Defeats Giant, Claims Fortune After Daring Beanstalk Climb","Local Entrepreneur Finds Success with \\\"Magical Matches\\\" After Inspiring Rise from Adversity","Local Fox Abandons Ambitious Vineyard Deal After Declaring Grapes \u201cSour\u201d","Local Shoemaker Credits Mysterious Nighttime Elves for Business Boom","Local Woman Forms Unlikely Bond with Reclusive Nobleman in Rural French Town","Local Woman's Life Changes Overnight Following Royal Ball","Lost Siblings Escape Forest Captor, Outwit Alleged Cannibal in Dramatic Rescue","Miller\u2019s Daughter Outsmarts Mysterious Man, Ends Rumpelstiltskin Blackmail Plot","Missing Boy Rescued from Icy Clutches of Snow Queen After Epic Journey by Childhood Friend","Mystery Solved: Twelve Princesses' Nightly Disappearances Uncovered by Soldier, Ends in Royal Wedding","Princess Escapes Murder Plot, Finds Refuge with Seven Miners","Retired Animals Form Unlikely Band, Drive Out Robbers, and Find New Home in Bremen","Royal Shocker: Princess Breaks Curse, Transforms Frog into Prince with a Kiss","Royal Test Exposes True Princess Using Single Pea, Ends Succession Dispute","Runaway Gingerbread Man Evades Capture in High-Speed Chase","Three Little Pigs' Housing Market Dispute Ends in Hasty Decision","Tiny Girl\u2019s Journey Through Danger and Wonder Ends in Happily Ever After","Ugly Duckling Transforms into Elegant Swan: A Tale of Remarkable Transformation","Undersea Royalty Makes Daring Sacrifice for Love, Sparks International Incident","Unlikely Heroic Mouse Saves Captive Lion, Shocks Savanna Residents","Wolf Attacks Grandmother, Poses as Little Red Riding Hood","Woman Rescued from Tower After Years of Captivity, Held by Enchantress in Secret Plot"],"products":[],"type":"included"},"accountant":{"title":"Accountant","theme":"eternal","image":"2024\/09\/screenshot-accountant.jpg","image_full":"2024\/10\/screenshot-accountant-full.jpg","plugins":["animations-for-blocks","block-visibility","gutena-forms","icon-block"],"fonts":["Cabin"],"colors":["#14111f","#ffffff","#d0ccde","#e4e1fe","#4d34fa","#25222f","#636381","#f6f6fc","#eeeeee"],"template_parts":["Footer","Header"],"templates":["All Archives","Front Page","Index","Page: 404","Pages","Search Results","Single Posts"],"patterns":["Hero Cover","Image and Text with Button","Large Page Heading","Latest From Our Blog","Our Services","Page CTA","Posts Archive"],"pages":["About","Auditing","Bookkeeping","Business and Finance Blog","Contact","Financial Consultancy","Financial Statements","Tax Planning"],"posts":["Bricks and Mortar Wealth: Unlocking the Secrets of Property Investment","Dollars and Sense: Unraveling the Mysteries of Personal Finance","From Idea to IPO: The Entrepreneur's Journey in the Startup World","Innovative Business Models: Lessons from Disruptive Startups","Mastering the Market: A Deep Dive into Investment Strategies","Navigating the Financial Landscape: A Comprehensive Guide for Beginners","Property Investment 101: Smart Moves for Real Estate Success","The Art of Entrepreneurship: Strategies for Building Successful Startups"],"products":[],"type":"included"},"eternal-demo":{"title":"Eternal Theme Demo","theme":"eternal","image":"2024\/09\/screenshot-eternal-demo.jpg","image_full":"2024\/10\/screenshot-eternal-demo-full.jpg","plugins":["gutena-forms","social-sharing-block","wp-map-block"],"fonts":[],"colors":["#1d2327","#ffffff","#2d59f2","#2d59f20f","#87c826","#da7021","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header"],"templates":["Front Page","Single Posts"],"patterns":["Call to action page footer"],"pages":["About Us","Blog","Contact","Content Creation and Management","Ecommerce Solutions","Graphic Design and Branding","SEO and Digital Marketing","Video Production and Editing","Web Design and Development"],"posts":["5 Digital Marketing Trends to Watch in 2024","AI-Powered Personalization: Shaping Web Design in 2024","CSS Grid vs. Flexbox: Which One Should You Use?","Dark Mode: A Design Trend that\u2019s Here to Stay","How to Create a Winning Social Media Strategy","How to Optimize Your Website for Voice Search","The Importance of Website Accessibility and How to Achieve It","The Rise of 3D Elements and Immersive Experiences in Web Design","The Rise of Artificial Intelligence in Digital Marketing","The Rise of JAMstack: Why It's the Future of Web Development","The Rise of Minimalist Web Design: Less Is More","Understanding Flexbox: A Beginner's Guide to Modern Web Layouts"],"products":[],"type":"included"}} }1 {"sites":{"estate":{"title":"Estate","image":"2025\/01\/screenshot-estate.jpg","image_full":"2025\/01\/screenshot-estate-full.jpg","theme":"eternal","plugins":["block-visibility","gutena-forms"],"fonts":["Noto Sans"],"colors":["#1d2327","#ffffff","#0c7b82","#0c7a820f","#0c5482","#820c40","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header","Side Header"],"templates":["All Archives","Front Page","Index","Page: 404","Pages","Pages: No Title","Search Results","Single Posts"],"patterns":["About Us with Columns","About Us with Text and Image","Apartment Details","Apartments in 3 Columns","Apartments in 3 Columns (2)","Columns with Quote and Image","Contact Form and Text in 2 Columns","Cover Image with Quote","Heading Text and Image","Large Image with Features List","List of Features with Icons","Quote 1","Quote 2","Two Quotes with Images"],"pages":["About","Apartments","Contact","Gallery","Home"],"posts":[],"products":[],"type":"premium"},"agency":{"title":"Agency","image":"2025\/01\/screenshot-agency.jpg","image_full":"2025\/01\/screenshot-agency-full.jpg","theme":"eternal","plugins":["block-visibility"],"fonts":[],"colors":["#1d2327","#ffffff","#ff6839","#ff68390f","#80bcc0","#2d2359","#313131","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Frontpage Header","Header"],"templates":["Front Page"],"patterns":["About Us","Contact Details","How Can We Help","Intro Text","Large Quote","Meet the Team","Our Services","Our Services Grid","Pricing Table","Pricing Table with Intro","Row of 3 Logos","What Do Our Clients Say"],"pages":["About Us","Contact","Our Services","Packages"],"posts":[],"products":[],"type":"included"},"furniture-store":{"title":"Furniture Store","image":"2024\/12\/screenshot-furniture-store.jpg","image_full":"2024\/12\/screenshot-furniture-store-full.jpg","theme":"eternal","plugins":["woocommerce"],"fonts":[],"colors":["#143d50","#ffffff","#1d4d63","#1d4d630f","#4faacc","#eaf5f9","#315464","#687d87","#f2f7f9","#d9e2e6"],"template_parts":["Footer","Header","Products Grid"],"templates":["Front Page","Single Product"],"patterns":[],"pages":["About","Cart","Checkout","My account","Shop"],"posts":[],"products":["Bar Stool","Bed Frame","Computer Desk","Dining Table","Sofa"],"type":"premium"},"fashion-store":{"title":"Fashion Store","image":"2024\/11\/screenshot-fashion-store.jpg","image_full":"2024\/11\/screenshot-fashion-store-full.jpg","theme":"eternal","plugins":["block-visibility","icon-block","woocommerce","yith-woocommerce-wishlist"],"fonts":["Mitr"],"colors":["#000000","#ffffff","#ff38ac","#ff38ac0f","#ff386c","#acff38","#252525","#767676","#fbfbfb","#dddddd"],"template_parts":["Footer","Header","Products"],"templates":["Front Page","Product Catalog","Product Search Results","Products by Attribute","Products by Category","Products by Tag","Single Product"],"patterns":["Home Hero Cover","Homepage Latest Products","Shop by Category","Store Features"],"pages":["About","Cart","Checkout","My account","Shop","Wishlist"],"posts":[],"products":["Ankle Boots","Handbag","Jacket with Buttons","Mens Jacket","Print Shirt","Puffer Jacket","Stiletto Heels","Sunglasses"],"type":"premium"},"tech-store":{"title":"Tech Store","image":"2024\/11\/screenshot-tech-store.jpg","image_full":"2024\/11\/screenshot-tech-store-full.jpg","theme":"eternal","plugins":["woocommerce"],"fonts":["Comfortaa"],"colors":["#1d2327","#ffffff","#2d59f2","#2d59f20f","#d64bc2","#87c826","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header","Header for Front Page"],"templates":["Front Page"],"patterns":["Category CTA"],"pages":["Cart","Checkout","My account","Shop"],"posts":[],"products":["Activity Tracker","Bluetooth Speaker","Exercise Bike","Gaming PC","Laptop","Monitor","Shockproof Phone","Smart LED TV","Smart Watch","Smartphone","Tablet","Turntable","TV Mount","TV Stick","Wireless Headphones"],"type":"included"},"interior-designer":{"title":"Interior Designer","theme":"eternal","image":"2024\/09\/screenshot-interior-designer.jpg","image_full":"2024\/10\/screenshot-interior-designer-full.jpg","plugins":["block-visibility","gutena-forms"],"fonts":["Raleway"],"colors":["#78716f","#ffffff","#4a596c","#a17f5b","#879458","#808386","#95999d","#fefdfb","#eae9e4"],"template_parts":["Footer","Header"],"templates":["All Archives","Front Page","Index","Page with Cover Title","Pages","Search Results"],"patterns":["About Us Intro","Attention to Detail","Authenticity in Every Design","Contact Form","Homepage About Us","Homepage Featured In","Homepage Intro Cover","Homepage Latest Projects","Interior Design Services","Our Approach","Our Expertise","Our Services Intro","Our Story","Project Gallery","Project Intro","Why Choose Us"],"pages":["About Us","Coastal Villa","Contact","French Farmhouse","Manhattan Penthouse","Our Services","Portfolio"],"posts":[],"products":[],"type":"premium"},"auto-center":{"title":"Auto Center","theme":"eternal","image":"2024\/09\/screenshot-auto-center.jpg","image_full":"2024\/09\/screenshot-auto-center-full.jpg","plugins":["block-visibility","carousel-block","gutena-forms"],"fonts":["Maven Pro"],"colors":["#131313","#ffffff","#fede00","#eb202f","#0693e2","#2b2b2b","#4d4d4d","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header"],"templates":["Front Page","Pages"],"patterns":["Homepage About","Homepage Cover","Homepage Customer Reviews Carousel","Homepage How It Works","Homepage Services","Intro - Brakes & Suspension","Intro - Electrical & Diagnostic","Intro - Engine & Transmission","Intro - Heating & Cooling","Intro - Routine Maintenance","Intro - Tire & Wheel Services","Intro - Vehicle Inspections & Safety","Intro - Windshield & Glass","Large Call to Action","Services - Brakes & Suspension","Services - Electrical & Diagnostic","Services - Engine & Transmission","Services - Heating & Cooling","Services - Routine Maintenance","Services - Tire & Wheel","Services - Vehicle Inspections & Safety","Services - Windshield & Glass","Why Choose - Brakes & Suspension","Why Choose - Electrical & Diagnostic","Why Choose - Engine & Transmission","Why Choose - Heating & Cooling","Why Choose - Routine Maintenance","Why Choose - Tire & Wheel","Why Choose - Vehicle Inspections & Safety","Why Choose - Windshield & Glass"],"pages":["Brakes & Suspension","Contact Us & Book an Appointment","Electrical & Diagnostic Services","Engine & Transmission","Heating, Cooling & Exhaust Systems","Routine Maintenance","Tire & Wheel Services","Vehicle Inspections & Safety","Windshield & Glass Services"],"posts":[],"products":[],"type":"included"},"enchanted-times":{"title":"Enchanted Times","theme":"eternal","image":"2024\/09\/screenshot-enchanted-times.jpg","image_full":"2024\/09\/screenshot-enchanted-times-full.jpg","plugins":["social-sharing-block"],"fonts":["Chomsky","Inter","Noto Serif"],"colors":["#000000","#ffffff","#b80000","#00b8b8","#00b85c","#2d3336","#686868","#fafafa","#e7e7e7"],"template_parts":["Comments","Footer","Header"],"templates":["All Archives","Front Page","Index","Search Results","Single Posts"],"patterns":["Archive - 2 Columns","Image Credit","Large Quote","Large Quote with Attribute","Latest by Category - 3 across","Latest from 2 Categories in 2 Columns","Latest News - 1 large + 3 small"],"pages":[],"posts":["A Cautionary Tale: The Perils of Quick Fixes and Instant Gratification","Boy's False Alarm Causes Real Concern\u2014Village on Edge After Wolf Hoax","Clever Cat Strikes Fortune, Elevates Master to Nobility in Series of Daring Schemes","Emperor's New Clothes: Royal Garments Unveiled\u2014Or Not?","Hamelin\u2019s Piper Promises Salvation, Delivers Disappearance: City Grapples with Bizarre Loss","In a Race for the Ages: Tortoise Triumphs Over Hare in Classic Showdown","Intruder Alert: Goldilocks Invades Bear Residence, Faces Porridge Predicament","Kingdom Celebrates After Sleeping Beauty Awakes from 100-Year Curse","Local Boy Jack Defeats Giant, Claims Fortune After Daring Beanstalk Climb","Local Entrepreneur Finds Success with \\\"Magical Matches\\\" After Inspiring Rise from Adversity","Local Fox Abandons Ambitious Vineyard Deal After Declaring Grapes \u201cSour\u201d","Local Shoemaker Credits Mysterious Nighttime Elves for Business Boom","Local Woman Forms Unlikely Bond with Reclusive Nobleman in Rural French Town","Local Woman's Life Changes Overnight Following Royal Ball","Lost Siblings Escape Forest Captor, Outwit Alleged Cannibal in Dramatic Rescue","Miller\u2019s Daughter Outsmarts Mysterious Man, Ends Rumpelstiltskin Blackmail Plot","Missing Boy Rescued from Icy Clutches of Snow Queen After Epic Journey by Childhood Friend","Mystery Solved: Twelve Princesses' Nightly Disappearances Uncovered by Soldier, Ends in Royal Wedding","Princess Escapes Murder Plot, Finds Refuge with Seven Miners","Retired Animals Form Unlikely Band, Drive Out Robbers, and Find New Home in Bremen","Royal Shocker: Princess Breaks Curse, Transforms Frog into Prince with a Kiss","Royal Test Exposes True Princess Using Single Pea, Ends Succession Dispute","Runaway Gingerbread Man Evades Capture in High-Speed Chase","Three Little Pigs' Housing Market Dispute Ends in Hasty Decision","Tiny Girl\u2019s Journey Through Danger and Wonder Ends in Happily Ever After","Ugly Duckling Transforms into Elegant Swan: A Tale of Remarkable Transformation","Undersea Royalty Makes Daring Sacrifice for Love, Sparks International Incident","Unlikely Heroic Mouse Saves Captive Lion, Shocks Savanna Residents","Wolf Attacks Grandmother, Poses as Little Red Riding Hood","Woman Rescued from Tower After Years of Captivity, Held by Enchantress in Secret Plot"],"products":[],"type":"included"},"accountant":{"title":"Accountant","theme":"eternal","image":"2024\/09\/screenshot-accountant.jpg","image_full":"2024\/10\/screenshot-accountant-full.jpg","plugins":["animations-for-blocks","block-visibility","gutena-forms","icon-block"],"fonts":["Cabin"],"colors":["#14111f","#ffffff","#d0ccde","#e4e1fe","#4d34fa","#25222f","#636381","#f6f6fc","#eeeeee"],"template_parts":["Footer","Header"],"templates":["All Archives","Front Page","Index","Page: 404","Pages","Search Results","Single Posts"],"patterns":["Hero Cover","Image and Text with Button","Large Page Heading","Latest From Our Blog","Our Services","Page CTA","Posts Archive"],"pages":["About","Auditing","Bookkeeping","Business and Finance Blog","Contact","Financial Consultancy","Financial Statements","Tax Planning"],"posts":["Bricks and Mortar Wealth: Unlocking the Secrets of Property Investment","Dollars and Sense: Unraveling the Mysteries of Personal Finance","From Idea to IPO: The Entrepreneur's Journey in the Startup World","Innovative Business Models: Lessons from Disruptive Startups","Mastering the Market: A Deep Dive into Investment Strategies","Navigating the Financial Landscape: A Comprehensive Guide for Beginners","Property Investment 101: Smart Moves for Real Estate Success","The Art of Entrepreneurship: Strategies for Building Successful Startups"],"products":[],"type":"included"},"eternal-demo":{"title":"Eternal Theme Demo","theme":"eternal","image":"2024\/09\/screenshot-eternal-demo.jpg","image_full":"2024\/10\/screenshot-eternal-demo-full.jpg","plugins":["gutena-forms","social-sharing-block","wp-map-block"],"fonts":[],"colors":["#1d2327","#ffffff","#2d59f2","#2d59f20f","#87c826","#da7021","#2d3336","#636363","#f9f9f9","#e8e8e8"],"template_parts":["Footer","Header"],"templates":["Front Page","Single Posts"],"patterns":["Call to action page footer"],"pages":["About Us","Blog","Contact","Content Creation and Management","Ecommerce Solutions","Graphic Design and Branding","SEO and Digital Marketing","Video Production and Editing","Web Design and Development"],"posts":["5 Digital Marketing Trends to Watch in 2024","AI-Powered Personalization: Shaping Web Design in 2024","CSS Grid vs. Flexbox: Which One Should You Use?","Dark Mode: A Design Trend that\u2019s Here to Stay","How to Create a Winning Social Media Strategy","How to Optimize Your Website for Voice Search","The Importance of Website Accessibility and How to Achieve It","The Rise of 3D Elements and Immersive Experiences in Web Design","The Rise of Artificial Intelligence in Digital Marketing","The Rise of JAMstack: Why It's the Future of Web Development","The Rise of Minimalist Web Design: Less Is More","Understanding Flexbox: A Beginner's Guide to Modern Web Layouts"],"products":[],"type":"included"}},"themes":{"eternal":{"title":"Eternal","requires_wp":"6.6","requires_php":"7.4"}},"plugins":{"animations-for-blocks":{"file":"animations-for-blocks\/animations-for-blocks.php","title":"Animations for Blocks","requires_wp":"6.6","requires_php":"8.1"},"block-visibility":{"file":"block-visibility\/block-visibility.php","title":"Block Visibility","requires_wp":"6.5","requires_php":"7.4"},"gutena-forms":{"file":"gutena-forms\/gutena-forms.php","title":"Gutena Forms - Contact Forms Block","requires_wp":"6.5","requires_php":"5.6"},"icon-block":{"file":"icon-block\/icon-block.php","title":"The Icon Block","requires_wp":"6.5","requires_php":"7.4"},"woocommerce":{"file":"woocommerce\/woocommerce.php","title":"WooCommerce","requires_wp":"6.6","requires_php":"7.4"},"social-sharing-block":{"file":"social-sharing-block\/social-sharing-block.php","title":"Social Sharing Block","requires_wp":"6.5","requires_php":"7.4"},"wp-map-block":{"file":"wp-map-block\/wp-map-block.php","title":"WP Map Block","requires_wp":"6.0","requires_php":"5.6"},"carousel-block":{"file":"carousel-block\/plugin.php","title":"Carousel Slider Block","requires_wp":"6.1","requires_php":"7.0"},"yith-woocommerce-wishlist":{"file":"yith-woocommerce-wishlist\/init.php","title":"YITH WooCommerce Wishlist","requires_wp":"6.5","requires_php":"7.4"}}} -
starter-sites/trunk/inc/activate.php
r3229726 r3257888 101 101 $process_plugins_log = $this->process_plugins( $process_theme_log, $site_values ); 102 102 $process_plugins_log['time_end'] = current_time( 'timestamp' ); 103 if ( isset( $process_plugins_log['is_error'] ) && $process_plugins_log['is_error'] == true ) { 103 104 105 106 /*if ( isset( $process_plugins_log['is_error'] ) && $process_plugins_log['is_error'] == true ) { 104 107 wp_insert_post( 105 108 array( … … 122 125 <?php 123 126 } 124 } else { 127 } else {*/ 125 128 $extensions_log_id = wp_insert_post( 126 129 array( … … 138 141 wp_safe_redirect( add_query_arg( [ 'page' => 'starter-sites', 'activate' => $site_slug, 'process' => 'content', 'id' => $extensions_log_id ], admin_url( $this->base_link() ) ) ); 139 142 exit; 140 } 143 //} 144 145 146 141 147 } 142 148 } else { … … 187 193 </ul> 188 194 <?php 195 196 197 198 if ( isset($process_content_log['plugins']) && !empty($process_content_log['plugins']) ) { 199 foreach ( $process_content_log['plugins'] as $plugin_log ) { 200 if ( isset($plugin_log['error_msg']) && $plugin_log['error_msg'] !== '' ) { 201 ?> 202 <div class="starter-sites-error"> 203 <p> 204 <?php echo sprintf( 205 /* translators: %1$s = title of plugin, %2$s = error message */ 206 esc_html__( 'There was an error with the %1$s plugin: %2$s', 'starter-sites' ), 207 '<strong>' . $plugin_log['title'] . '</strong>', 208 $plugin_log['result'] 209 );?> 210 <br /> 211 <?php echo esc_html( $plugin_log['error_msg'] );?> 212 </p> 213 </div> 214 <?php 215 } 216 } 217 } 218 219 220 189 221 } else { 190 222 ?> … … 395 427 $this->do_extension_options( $plugin ); 396 428 } else { 429 if ( isset($plugin_install['errorMessage']) ) { 430 $error_msg = $plugin_install['errorMessage']; 431 } else { 432 $error_msg = ''; 433 } 397 434 $log['is_error'] = true; 398 435 $log['error_code'] = 3; … … 400 437 'title' => wp_slash($plugin_title), 401 438 'pre_status' => 'not installed', 402 'result' => 'not installed' 439 'result' => 'not installed', 440 'error_msg' => $error_msg 403 441 ); 404 442 } … … 466 504 'fields' => array( 467 505 'sections' => false, 506 'requires' => false, 507 'requires_php' => false, 468 508 ), 469 509 ) -
starter-sites/trunk/inc/demo-list.php
r3210638 r3257888 1 1 <?php 2 2 3 function starter_sites_demo_list() { 4 3 function starter_sites_list() { 5 4 $demos = get_transient( 'starter_sites_demo_list' ); 6 5 if ( false === $demos ) { … … 17 16 $demo_list = json_decode( $demos, true ); 18 17 } 19 if ( $demo_list && isset( $demo_list['sites'] )) {20 $sites = starter_sites_demos_order( $demo_list['sites'] );18 if ( $demo_list ) { 19 $sites = $demo_list; 21 20 } else { 22 21 $demo_list = wp_json_file_decode( STARTER_SITES_PATH . 'assets/json/demos-list.json', array( 'associative' => true ) ); 23 if ( $demo_list && isset( $demo_list['sites'] )) {24 $sites = starter_sites_demos_order( $demo_list['sites'] );22 if ( $demo_list) { 23 $sites = $demo_list; 25 24 } else { 26 25 $sites = array(); 27 26 } 28 27 } 29 30 28 return $sites; 31 29 } 32 30 31 function starter_sites_demo_list() { 32 $demos = starter_sites_list(); 33 if ( isset($demos['sites']) && !empty($demos['sites']) ) { 34 $sites = starter_sites_demos_order( $demos['sites'] ); 35 } else { 36 $sites = array(); 37 } 38 return $sites; 39 } 33 40 34 41 function starter_sites_demos_order( $sites ) { 35 36 42 $readme = get_file_data( get_stylesheet_directory() . '/readme.txt', array( 37 43 'starter_site' => 'Starter Site' … … 49 55 $sites = array_merge( $site_move, $sites ); 50 56 } 51 52 57 return $sites; 53 58 } 54 59 55 56 60 function starter_sites_theme_list() { 57 58 return array( 59 60 'eternal' => array( 61 'title' => __( 'Eternal', 'starter-sites' ), 62 ), 63 64 ); 65 61 $demos = starter_sites_list(); 62 if ( isset($demos['themes']) && !empty($demos['themes']) ) { 63 $themes = $demos['themes']; 64 } else { 65 $themes = array(); 66 } 67 return $themes; 66 68 } 67 69 68 69 70 function starter_sites_plugin_list() { 70 71 return array( 72 73 'animations-for-blocks' => array( 74 'file' => 'animations-for-blocks/animations-for-blocks.php', 75 'title' => __( 'Animations for Blocks', 'starter-sites' ), 76 ), 77 'block-visibility' => array( 78 'file' => 'block-visibility/block-visibility.php', 79 'title' => __( 'Block Visibility', 'starter-sites' ), 80 ), 81 'gutena-forms' => array( 82 'file' => 'gutena-forms/gutena-forms.php', 83 'title' => __( 'Gutena Forms - Contact Forms Block', 'starter-sites' ), 84 ), 85 'icon-block' => array( 86 'file' => 'icon-block/icon-block.php', 87 'title' => __( 'The Icon Block', 'starter-sites' ), 88 ), 89 'woocommerce' => array( 90 'file' => 'woocommerce/woocommerce.php', 91 'title' => __( 'WooCommerce', 'starter-sites' ), 92 ), 93 'social-sharing-block' => array( 94 'file' => 'social-sharing-block/social-sharing-block.php', 95 'title' => __( 'Social Sharing Block', 'starter-sites' ), 96 ), 97 'wp-map-block' => array( 98 'file' => 'wp-map-block/wp-map-block.php', 99 'title' => __( 'WP Map Block', 'starter-sites' ), 100 ), 101 'carousel-block' => array( 102 'file' => 'carousel-block/plugin.php', 103 'title' => __( 'Carousel Slider Block', 'starter-sites' ), 104 ), 105 'yith-woocommerce-wishlist' => array( 106 'file' => 'yith-woocommerce-wishlist/init.php', 107 'title' => __( 'YITH WooCommerce Wishlist', 'starter-sites' ), 108 ), 109 110 ); 111 71 $demos = starter_sites_list(); 72 if ( isset($demos['plugins']) && !empty($demos['plugins']) ) { 73 $plugins = $demos['plugins']; 74 } else { 75 $plugins = array(); 76 } 77 return $plugins; 112 78 } -
starter-sites/trunk/inc/logs.php
r3227383 r3257888 28 28 'orderby' => 'date', 29 29 'post_status' => 'private', 30 'post_type' => 'starter_sites_log',30 'post_type' => array( 'starter_sites_log', 'starter_sites_error' ), 31 31 ]; 32 32 $posts = get_posts( $args ); … … 63 63 $site_title = $post_log['site']['demo_title']; 64 64 } 65 $class_error = ''; 66 $view_log_text = __( 'View Log', 'starter-sites' ); 67 if ( $post->post_type === 'starter_sites_error' ) { 68 $class_error = 'is-error'; 69 $view_log_text = __( 'View Error Log', 'starter-sites' ); 70 } 65 71 ?> 66 <tr >72 <tr class="<?php echo esc_attr( $class_error );?>"> 67 73 <td><span class="log-date"><?php echo esc_html( mysql2date( $site_date_format, $post->post_date ) );?></span> <span class="log-time"><?php echo esc_html( mysql2date( $site_time_format, $post->post_date ) );?></span></td> 68 74 <td><?php echo esc_html( get_userdata($post->post_author)->display_name );?></td> 69 75 <td><?php echo esc_html( $site_title );?></td> 70 <td><a class="text-link" href="<?php echo esc_url( $view_url );?>"><?php e sc_html_e( 'View Log', 'starter-sites');?></a></td>76 <td><a class="text-link" href="<?php echo esc_url( $view_url );?>"><?php echo esc_html( $view_log_text );?></a></td> 71 77 </tr> 72 78 <?php … … 87 93 * The single log view. 88 94 */ 89 public function view_log( $log ) {95 public function view_log( $log_id ) { 90 96 $admin_link = admin_url( $this->base_link() ); 97 $log_post = get_post($log_id); 98 if ( !$log_post) { 99 $query_args = [ 'page' => 'starter-sites', 'tab' => 'logs' ]; 100 wp_safe_redirect( add_query_arg( $query_args, $admin_link ) ); 101 exit; 102 } 103 $log_type = $log_post->post_type; 104 if ( $log_type !== 'starter_sites_log' && $log_type !== 'starter_sites_error' ) { 105 $query_args = [ 'page' => 'starter-sites', 'tab' => 'logs' ]; 106 wp_safe_redirect( add_query_arg( $query_args, $admin_link ) ); 107 exit; 108 } 109 $log = $log_post->post_content; 91 110 $site_editor_link = admin_url( 'site-editor.php' ); 92 111 $posts_link = admin_url( 'post.php' ); … … 98 117 <table class="starter-sites-log-table"> 99 118 <tr class="section-heading"> 100 <td colspan="5"><?php esc_html_e('Activation Log', 'starter-sites');?></td> 119 <td colspan="5"><?php 120 if ( $log_type === 'starter_sites_error' ) { 121 esc_html_e( 'Error Log', 'starter-sites' ); 122 } else { 123 esc_html_e( 'Activation Log', 'starter-sites' ); 124 } 125 ?></td> 101 126 </tr> 102 127 <?php … … 200 225 </tr> 201 226 <?php 202 foreach ( $log['plugins'] as $plugin s_key ) {227 foreach ( $log['plugins'] as $plugin => $plugins_key ) { 203 228 ?> 204 229 <tr> 205 230 <td></td> 206 231 <td><?php echo esc_html( $plugins_key['title'] );?></td> 207 <td colspan="3"><?php echo wp_kses( $this->output_log_result( $plugins_key['result'] ), $this->allowed_html() );?></td> 232 <td colspan="3"> 233 <?php echo wp_kses( $this->output_log_result( $plugins_key['result'] ), $this->allowed_html() );?> 234 <?php if ( isset($plugins_key['error_msg']) && $plugins_key['error_msg'] !== '' ) { 235 ?><br /><i><?php echo wp_kses( $plugins_key['error_msg'], $this->allowed_html() );?></i><?php 236 }?> 237 </td> 208 238 </tr> 209 239 <?php -
starter-sites/trunk/inc/main.php
r3248394 r3257888 458 458 wp_localize_script( 'starter-sites-main', 'starter_sites_screen_settings', [ 'options_update_nonce' => wp_create_nonce( 'starter-sites-options-nonce' ) ] ); 459 459 } 460 wp_enqueue_script( 'starter-sites-admin', STARTER_SITES_URL . 'assets/js/admin.js', [ 'jquery' ], STARTER_SITES_VERSION, false ); 461 wp_localize_script( 'starter-sites-admin', 'starter_sites_review_notice', [ 'wpss_review_nonce' => wp_create_nonce( 'wpss-review-nonce' ) ] ); 460 462 } 461 463 … … 677 679 </div> 678 680 <div class="starter-sites-demo is-info"> 681 <p><strong><?php esc_html_e( 'Enjoying Starter Sites?', 'starter-sites' );?></strong></p> 679 682 <p class="is-stars">★★★★★</p> 680 <p><strong><?php esc_html_e( 'Please rate or review this plugin.', 'starter-sites' );?></strong></p> 681 <p><?php esc_html_e( 'This helps us grow, and that means we can create even more Starter Sites for you.', 'starter-sites' );?></p> 682 <p class="has-button"><a class="button button-tertiary starter-sites-button" href="https://wordpress.org/support/plugin/starter-sites/reviews/#new-post" target="_blank"><?php esc_html_e( 'Rate or Review', 'starter-sites' );?> <i class="dashicons dashicons-external"></i></a></p> 683 <p><?php esc_html_e( 'Your feedback helps us improve the plugin and lets others know what they’re missing.', 'starter-sites' );?></p> 684 <p class="has-button"><a class="button button-tertiary starter-sites-button" href="https://wordpress.org/support/plugin/starter-sites/reviews/#new-post" target="_blank"><?php esc_html_e( 'Leave a Review', 'starter-sites' );?> <i class="dashicons dashicons-external"></i></a></p> 683 685 </div> 684 686 </div> … … 939 941 } 940 942 // Theme 943 $warning_themes = array(); 944 $theme_blocker = false; 941 945 if ( isset( $demo_site_data['theme'] ) && !empty($demo_site_data['theme']) ) { 942 946 $theme_slug = $demo_site_data['theme']; … … 978 982 echo esc_html( $theme_title ); 979 983 } 984 if ( $active_theme_template !== $theme_slug ) { 985 if ( isset($theme_list[$theme_slug]['requires_php']) && $theme_list[$theme_slug]['requires_php'] !== '' && !is_php_version_compatible($theme_list[$theme_slug]['requires_php']) ) { 986 $theme_blocker = true; 987 $warning_themes[] = sprintf( 988 /* translators: %1$s = theme name, %2$s = required PHP version */ 989 __( '%1$s requires PHP %2$s', 'starter-sites' ), 990 $theme_title, 991 $theme_list[$theme_slug]['requires_php'] 992 ); 993 ?> 994 <br /><span class="is-warning"><i class="dashicons dashicons-info"></i> 995 <?php echo sprintf( 996 /* translators: %1$s = theme name, %2$s = required PHP version */ 997 __( '%1$s requires PHP %2$s', 'starter-sites' ), 998 $theme_title, 999 $theme_list[$theme_slug]['requires_php'] 1000 );?> 1001 </span> 1002 <?php 1003 } 1004 if ( isset($theme_list[$theme_slug]['requires_wp']) && $theme_list[$theme_slug]['requires_wp'] !== '' && !is_wp_version_compatible($theme_list[$theme_slug]['requires_wp']) ) { 1005 $theme_blocker = true; 1006 $warning_themes[] = sprintf( 1007 /* translators: %1$s = theme name, %2$s = required WordPress version */ 1008 __( '%1$s requires WordPress %2$s', 'starter-sites' ), 1009 $theme_title, 1010 $theme_list[$theme_slug]['requires_wp'] 1011 ); 1012 ?> 1013 <br /><span class="is-warning"><i class="dashicons dashicons-info"></i> 1014 <?php echo sprintf( 1015 /* translators: %1$s = theme name, %2$s = required WordPress version */ 1016 __( '%1$s requires WordPress %2$s', 'starter-sites' ), 1017 $theme_title, 1018 $theme_list[$theme_slug]['requires_wp'] 1019 );?> 1020 </span> 1021 <?php 1022 } 1023 } 980 1024 ?> 981 1025 </li> … … 985 1029 } 986 1030 // Plugins 1031 $warning_plugins = array(); 987 1032 if ( isset( $demo_site_data['plugins'] ) && !empty($demo_site_data['plugins']) ) { 988 1033 ?> … … 1005 1050 } 1006 1051 ?> 1007 <li class="wppss-feature-item plugin"><?php echo esc_html( $plugin_title );?></li> 1052 <li class="wppss-feature-item plugin"> 1053 <?php echo esc_html( $plugin_title );?> 1054 <?php 1055 if ( isset($plugin_list[$plugin]['requires_php']) && $plugin_list[$plugin]['requires_php'] !== '' && !is_php_version_compatible($plugin_list[$plugin]['requires_php']) ) { 1056 $warning_plugins[] = sprintf( 1057 /* translators: %1$s = plugin name, %2$s = required PHP version */ 1058 __( '%1$s requires PHP %2$s', 'starter-sites' ), 1059 $plugin_title, 1060 $plugin_list[$plugin]['requires_php'] 1061 ); 1062 ?> 1063 <br /><span class="is-warning"><i class="dashicons dashicons-info"></i> 1064 <?php echo sprintf( 1065 /* translators: %s = required PHP version */ 1066 __( 'This plugin requires PHP %s', 'starter-sites' ), 1067 $plugin_list[$plugin]['requires_php'] 1068 );?> 1069 </span> 1070 <?php } 1071 if ( isset($plugin_list[$plugin]['requires_wp']) && $plugin_list[$plugin]['requires_wp'] !== '' && !is_wp_version_compatible($plugin_list[$plugin]['requires_wp']) ) { 1072 $warning_plugins[] = sprintf( 1073 /* translators: %1$s = plugin name, %2$s = required WordPress version */ 1074 __( '%1$s requires WordPress %2$s', 'starter-sites' ), 1075 $plugin_title, 1076 $plugin_list[$plugin]['requires_wp'] 1077 ); 1078 ?> 1079 <br /><span class="is-warning"><i class="dashicons dashicons-info"></i> 1080 <?php echo sprintf( 1081 /* translators: %s = required WordPress version */ 1082 __( 'This plugin requires WordPress %s', 'starter-sites' ), 1083 $plugin_list[$plugin]['requires_wp'] 1084 );?> 1085 </span> 1086 <?php } 1087 ?> 1088 </li> 1008 1089 <?php 1009 1090 } … … 1055 1136 </div> 1056 1137 <?php 1138 if ( !empty( $warning_themes ) ) { 1139 ?> 1140 <div class="starter-sites-demo-warning"> 1141 <p class="starter-sites-sub-heading"><?php esc_html_e( 'Theme Warning!', 'starter-sites' );?></p> 1142 <?php 1143 foreach ( $warning_themes as $warning_theme ) { 1144 ?> 1145 <p><i class="dashicons dashicons-info"></i> 1146 <?php echo esc_html( $warning_theme ); ?> 1147 </p> 1148 <?php 1149 } 1150 ?> 1151 <p><?php echo sprintf( 1152 /* translators: %s = required theme name */ 1153 __( 'This starter site cannot be activated as your WordPress installation does not meet the minimum requirements of the %s theme.', 'starter-sites' ), 1154 $theme_title 1155 ); 1156 ?></p> 1157 <p><?php esc_html_e( 'It is recommended to update to the latest version of WordPress and upgrade your server PHP version.', 'starter-sites' );?></p> 1158 </div> 1159 <?php 1160 } 1161 if ( !empty( $warning_plugins ) ) { 1162 ?> 1163 <div class="starter-sites-demo-warning"> 1164 <p class="starter-sites-sub-heading"><?php esc_html_e( 'Plugin Warning!', 'starter-sites' );?></p> 1165 <?php 1166 foreach ( $warning_plugins as $warning_plugin ) { 1167 ?> 1168 <p><i class="dashicons dashicons-info"></i> 1169 <?php echo esc_html( $warning_plugin ); ?> 1170 </p> 1171 <?php 1172 } 1173 ?> 1174 <p><?php esc_html_e( 'When activating this starter site, WordPress will not install or activate the above plugin(s). This may cause display or functionality issues.', 'starter-sites' );?></p> 1175 <p><?php esc_html_e( 'It is recommended to update to the latest version of WordPress and upgrade your server PHP version.', 'starter-sites' );?></p> 1176 </div> 1177 <?php 1178 } 1057 1179 if ( 'premium' === $demo_site_data['type'] ) { 1058 1180 ?> … … 1071 1193 <?php 1072 1194 } else { 1073 ?> 1074 <input formaction="<?php echo esc_url( $form_activate_url );?>" type="submit" name="submit" id="submit" class="button button-primary starter-sites-button activate-site" value="<?php esc_html_e( 'Activate', 'starter-sites' );?>"></input> 1075 <?php 1195 if ( $theme_blocker ) { 1196 ?> 1197 <button class="button button-primary starter-sites-button disabled"><?php esc_html_e( 'Activate', 'starter-sites' );?></button> 1198 <?php 1199 } else { 1200 ?> 1201 <input formaction="<?php echo esc_url( $form_activate_url );?>" type="submit" name="submit" id="submit" class="button button-primary starter-sites-button activate-site" value="<?php esc_html_e( 'Activate', 'starter-sites' );?>"></input> 1202 <?php 1203 } 1076 1204 } 1077 1205 ?> … … 1183 1311 if ( isset( $_GET['log_id'] ) ) { 1184 1312 $log_id = sanitize_key( $_GET['log_id'] ); 1185 (new Logs)->view_log( get_post($log_id)->post_content);1313 (new Logs)->view_log( $log_id ); 1186 1314 } else { 1187 1315 (new Logs)->get_logs(); … … 1288 1416 */ 1289 1417 public function includes() { 1418 require STARTER_SITES_PATH . 'inc/admin-notice.php'; 1290 1419 require STARTER_SITES_PATH . 'inc/demo-list.php'; 1291 1420 require STARTER_SITES_PATH . 'inc/logs.php'; -
starter-sites/trunk/languages/starter-sites.pot
r3248394 r3257888 2 2 msgid "" 3 3 msgstr "" 4 "Project-Id-Version: Starter Sites 2. 1.3\n"5 "POT-Creation-Date: 2025-0 2-28 10:42+0000\n"4 "Project-Id-Version: Starter Sites 2.2\n" 5 "POT-Creation-Date: 2025-03-18 14:06+0000\n" 6 6 "PO-Revision-Date: 2020-05-22 10:11+0100\n" 7 7 "Last-Translator: \n" … … 22 22 "X-Poedit-SearchPathExcluded-0: *.min.js\n" 23 23 24 #: inc/activate.php:82 inc/activate.php:10724 #: inc/activate.php:82 25 25 msgid "Starter Sites Error" 26 26 msgstr "" … … 30 30 msgstr "" 31 31 32 #: inc/activate.php:121 33 msgid "There was an unknown error with a required plugin." 34 msgstr "" 35 36 #: inc/activate.php:128 32 #: inc/activate.php:131 37 33 msgid "Starter Sites Log" 38 34 msgstr "" 39 35 40 36 #. translators: %s = title of the activated starter site 41 #: inc/activate.php:1 7537 #: inc/activate.php:181 42 38 #, php-format 43 39 msgid "Congratulations. You have successfully activated the %s starter site!" 44 40 msgstr "" 45 41 46 #: inc/activate.php:1 7942 #: inc/activate.php:185 47 43 msgid "View your new site" 48 44 msgstr "" 49 45 50 #: inc/activate.php:18 046 #: inc/activate.php:186 51 47 msgid "Edit your new site" 52 48 msgstr "" 53 49 54 #: inc/activate.php:18 350 #: inc/activate.php:189 55 51 msgid "View the activation log" 56 52 msgstr "" 57 53 58 #: inc/activate.php:303 54 #. translators: %1$s = title of plugin, %2$s = error message 55 #: inc/activate.php:206 56 #, php-format 57 msgid "There was an error with the %1$s plugin: %2$s" 58 msgstr "" 59 60 #: inc/activate.php:335 59 61 msgid "" 60 62 "Please ask your network administrator to enable theme installation " … … 62 64 msgstr "" 63 65 64 #: inc/activate.php:3 0566 #: inc/activate.php:337 65 67 msgid "" 66 68 "Please ask your site administrator to enable theme installation capabilities " … … 68 70 msgstr "" 69 71 70 #: inc/activate.php:3 41 inc/activate.php:49372 #: inc/activate.php:373 inc/activate.php:533 71 73 msgid "Unable to connect to the filesystem. Please confirm your credentials." 72 74 msgstr "" 73 75 74 #: inc/activate.php:17 3376 #: inc/activate.php:1773 75 77 msgid "Sorry, you are not allowed to upload this file type." 76 78 msgstr "" 77 79 78 #: inc/activate.php:1 89680 #: inc/activate.php:1936 79 81 msgid "There was an unknown error." 80 82 msgstr "" 81 83 82 #: inc/activate.php:1 89784 #: inc/activate.php:1937 83 85 msgid "The requested import file could not be found." 84 86 msgstr "" 85 87 86 #: inc/activate.php:1 89888 #: inc/activate.php:1938 87 89 msgid "The required theme could not be installed." 88 90 msgstr "" 89 91 90 #: inc/activate.php:1 89992 #: inc/activate.php:1939 91 93 msgid "A required plugin could not be installed." 92 94 msgstr "" 93 95 94 #: inc/activate.php:19 0096 #: inc/activate.php:1940 95 97 msgid "This is not a valid starter site." 96 98 msgstr "" 97 99 98 #: inc/demo-list.php:61 99 msgid "Eternal" 100 msgstr "" 101 102 #: inc/demo-list.php:75 103 msgid "Animations for Blocks" 104 msgstr "" 105 106 #: inc/demo-list.php:79 107 msgid "Block Visibility" 108 msgstr "" 109 110 #: inc/demo-list.php:83 111 msgid "Gutena Forms - Contact Forms Block" 112 msgstr "" 113 114 #: inc/demo-list.php:87 115 msgid "The Icon Block" 116 msgstr "" 117 118 #: inc/demo-list.php:91 119 msgid "WooCommerce" 120 msgstr "" 121 122 #: inc/demo-list.php:95 123 msgid "Social Sharing Block" 124 msgstr "" 125 126 #: inc/demo-list.php:99 127 msgid "WP Map Block" 128 msgstr "" 129 130 #: inc/demo-list.php:103 131 msgid "Carousel Slider Block" 132 msgstr "" 133 134 #: inc/demo-list.php:107 135 msgid "YITH WooCommerce Wishlist" 100 #. translators: %s: user's display name. 101 #: inc/admin-notice.php:46 102 #, php-format 103 msgid "Hi %s!" 104 msgstr "" 105 106 #: inc/admin-notice.php:49 107 msgid "" 108 "Enjoying Starter Sites? We’d be super grateful if you could leave a quick " 109 "review." 110 msgstr "" 111 112 #: inc/admin-notice.php:50 inc/main.php:683 113 msgid "" 114 "Your feedback helps us improve the plugin and lets others know what they’re " 115 "missing." 116 msgstr "" 117 118 #: inc/admin-notice.php:51 inc/main.php:684 119 msgid "Leave a Review" 120 msgstr "" 121 122 #: inc/admin-notice.php:52 123 msgid "Thanks for your support!" 136 124 msgstr "" 137 125 … … 144 132 msgstr "" 145 133 146 #: inc/logs.php:45 inc/logs.php:1 14134 #: inc/logs.php:45 inc/logs.php:139 147 135 msgid "User" 148 136 msgstr "" 149 137 150 #: inc/logs.php:46 inc/logs.php:1 51138 #: inc/logs.php:46 inc/logs.php:176 151 139 msgid "Site" 152 140 msgstr "" 153 141 154 #: inc/logs.php: 70142 #: inc/logs.php:66 155 143 msgid "View Log" 156 144 msgstr "" 157 145 158 #: inc/logs.php:81 146 #: inc/logs.php:69 147 msgid "View Error Log" 148 msgstr "" 149 150 #: inc/logs.php:87 159 151 msgid "There are no activation logs to display." 160 152 msgstr "" 161 153 162 #: inc/logs.php:100 154 #: inc/logs.php:121 155 msgid "Error Log" 156 msgstr "" 157 158 #: inc/logs.php:123 163 159 msgid "Activation Log" 164 160 msgstr "" 165 161 166 #: inc/logs.php:1 06162 #: inc/logs.php:131 167 163 msgid "Activated Site" 168 164 msgstr "" 169 165 170 #: inc/logs.php:1 22166 #: inc/logs.php:147 171 167 msgid "Start" 172 168 msgstr "" 173 169 174 #: inc/logs.php:1 30170 #: inc/logs.php:155 175 171 msgid "End" 176 172 msgstr "" 177 173 178 #: inc/logs.php:1 38174 #: inc/logs.php:163 179 175 msgid "Processing time" 180 176 msgstr "" 181 177 182 #: inc/logs.php:1 57178 #: inc/logs.php:182 183 179 msgid "Site Title" 184 180 msgstr "" 185 181 186 #: inc/logs.php:1 66182 #: inc/logs.php:191 187 183 msgid "Site Tagline" 188 184 msgstr "" 189 185 190 #: inc/logs.php: 182 inc/logs.php:402186 #: inc/logs.php:207 inc/logs.php:432 191 187 msgid "Theme" 192 188 msgstr "" 193 189 194 #: inc/logs.php: 199190 #: inc/logs.php:224 195 191 msgid "Plugins" 196 192 msgstr "" 197 193 198 #: inc/logs.php:2 20194 #: inc/logs.php:250 199 195 msgid "Design" 200 196 msgstr "" 201 197 202 #: inc/logs.php:2 59 inc/logs.php:312 inc/logs.php:334 inc/logs.php:359198 #: inc/logs.php:289 inc/logs.php:342 inc/logs.php:364 inc/logs.php:389 203 199 msgid "Edit" 204 200 msgstr "" 205 201 206 #: inc/logs.php: 276202 #: inc/logs.php:306 207 203 msgid "Content" 208 204 msgstr "" 209 205 210 206 #. translators: %1$s: Link to post editor, %2$s: Link to site editor, %3$s: Post type, %4$s: closing </a> tag. 211 #: inc/logs.php: 290207 #: inc/logs.php:320 212 208 #, php-format 213 209 msgid "Open in %1$s%3$s Editor%4$s or %2$sSite Editor%4$s" 214 210 msgstr "" 215 211 216 #: inc/logs.php:3 13 inc/logs.php:335 inc/logs.php:360212 #: inc/logs.php:343 inc/logs.php:365 inc/logs.php:390 217 213 msgid "View" 218 214 msgstr "" 219 215 220 #: inc/logs.php:3 25216 #: inc/logs.php:355 221 217 msgid "Media" 222 218 msgstr "" 223 219 224 #: inc/logs.php:3 48220 #: inc/logs.php:378 225 221 msgid "Terms" 226 222 msgstr "" 227 223 228 #: inc/logs.php: 376224 #: inc/logs.php:406 229 225 msgid "Other" 230 226 msgstr "" 231 227 232 #: inc/logs.php: 396228 #: inc/logs.php:426 233 229 msgid "Category" 234 230 msgstr "" 235 231 236 #: inc/logs.php: 398232 #: inc/logs.php:428 237 233 msgid "Tag" 238 234 msgstr "" 239 235 240 #: inc/logs.php:4 00236 #: inc/logs.php:430 241 237 msgid "Product category" 242 238 msgstr "" 243 239 244 #: inc/logs.php:4 04240 #: inc/logs.php:434 245 241 msgid "Template part area" 246 242 msgstr "" 247 243 248 #: inc/logs.php:4 06244 #: inc/logs.php:436 249 245 msgid "Page" 250 246 msgstr "" 251 247 252 #: inc/logs.php:4 08248 #: inc/logs.php:438 253 249 msgid "Post" 254 250 msgstr "" 255 251 256 #: inc/logs.php:4 10252 #: inc/logs.php:440 257 253 msgid "Product" 258 254 msgstr "" 259 255 260 #: inc/logs.php:4 12256 #: inc/logs.php:442 261 257 msgid "Product Variation" 262 258 msgstr "" 263 259 264 #: inc/logs.php:4 14260 #: inc/logs.php:444 265 261 msgid "Attachment" 266 262 msgstr "" 267 263 268 #: inc/logs.php:4 16264 #: inc/logs.php:446 269 265 msgid "Navigation" 270 266 msgstr "" 271 267 272 #: inc/logs.php:4 18268 #: inc/logs.php:448 273 269 msgid "Styles" 274 270 msgstr "" 275 271 276 #: inc/logs.php:4 20272 #: inc/logs.php:450 277 273 msgid "Template" 278 274 msgstr "" 279 275 280 #: inc/logs.php:4 22276 #: inc/logs.php:452 281 277 msgid "Template part" 282 278 msgstr "" 283 279 284 #: inc/logs.php:4 24280 #: inc/logs.php:454 285 281 msgid "Pattern" 286 282 msgstr "" 287 283 288 #: inc/logs.php:4 26284 #: inc/logs.php:456 289 285 msgid "Font" 290 286 msgstr "" 291 287 292 #: inc/logs.php:4 35288 #: inc/logs.php:465 293 289 msgid "No change" 294 290 msgstr "" 295 291 296 #: inc/logs.php:4 38292 #: inc/logs.php:468 297 293 msgid "Activated" 298 294 msgstr "" 299 295 300 #: inc/logs.php:4 41296 #: inc/logs.php:471 301 297 msgid "Installed and activated" 302 298 msgstr "" 303 299 304 #: inc/logs.php:4 44300 #: inc/logs.php:474 305 301 msgid "Not installed" 306 302 msgstr "" 307 303 308 #: inc/logs.php:4 47304 #: inc/logs.php:477 309 305 msgid "Updated" 310 306 msgstr "" 311 307 312 #: inc/logs.php:4 50308 #: inc/logs.php:480 313 309 msgid "Added" 314 310 msgstr "" 315 311 316 #: inc/logs.php:4 53312 #: inc/logs.php:483 317 313 msgid "Not added" 318 314 msgstr "" 319 315 320 316 #. Plugin Name of the plugin/theme 321 #: inc/main.php:89 inc/main.php:47 2 inc/main.php:517317 #: inc/main.php:89 inc/main.php:474 inc/main.php:519 322 318 msgid "Starter Sites" 323 319 msgstr "" 324 320 325 #: inc/main.php:143 inc/main.php:52 5 starter-sites.php:159321 #: inc/main.php:143 inc/main.php:527 starter-sites.php:161 326 322 msgid "Settings" 327 323 msgstr "" … … 339 335 msgstr "" 340 336 341 #: inc/main.php:170 inc/main.php:1 019337 #: inc/main.php:170 inc/main.php:1100 342 338 msgid "Advanced Options" 343 339 msgstr "" … … 347 343 msgstr "" 348 344 349 #: inc/main.php:188 inc/main.php:1 027345 #: inc/main.php:188 inc/main.php:1108 350 346 msgid "Keep current site title" 351 347 msgstr "" 352 348 353 #: inc/main.php:195 inc/main.php:1 031349 #: inc/main.php:195 inc/main.php:1112 354 350 msgid "Keep current tagline" 355 351 msgstr "" 356 352 357 #: inc/main.php:202 inc/main.php:1 035353 #: inc/main.php:202 inc/main.php:1116 358 354 msgid "Keep current site logo" 359 355 msgstr "" 360 356 361 #: inc/main.php:209 inc/main.php:1 039357 #: inc/main.php:209 inc/main.php:1120 362 358 msgid "Keep current site icon" 363 359 msgstr "" … … 496 492 msgstr "" 497 493 498 #: inc/main.php:47 0 inc/main.php:515494 #: inc/main.php:472 inc/main.php:517 499 495 msgid "Back to Dashboard" 500 496 msgstr "" 501 497 502 #: inc/main.php:47 7 inc/main.php:531498 #: inc/main.php:479 inc/main.php:533 503 499 msgid "Full Page On/Off" 504 500 msgstr "" 505 501 506 #: inc/main.php:48 0 inc/main.php:534502 #: inc/main.php:482 inc/main.php:536 507 503 msgid "Light/Dark Mode" 508 504 msgstr "" 509 505 510 #: inc/main.php:52 2 starter-sites.php:162506 #: inc/main.php:524 starter-sites.php:164 511 507 msgid "Browse Sites" 512 508 msgstr "" 513 509 514 #: inc/main.php:52 3510 #: inc/main.php:525 515 511 msgid "Upload" 516 512 msgstr "" 517 513 518 #: inc/main.php:52 4514 #: inc/main.php:526 519 515 msgid "Logs" 520 516 msgstr "" 521 517 522 #: inc/main.php:52 6 inc/main.php:1023518 #: inc/main.php:528 inc/main.php:1104 523 519 msgid "UPGRADE" 524 520 msgstr "" 525 521 526 #: inc/main.php:56 7522 #: inc/main.php:569 527 523 msgid "Activating the required theme and plugin(s)." 528 524 msgstr "" 529 525 530 #: inc/main.php:5 68526 #: inc/main.php:570 531 527 msgid "Importing the content and design elements." 532 528 msgstr "" 533 529 534 #: inc/main.php:5 69530 #: inc/main.php:571 535 531 msgid "This process may take a while on some hosts, so please be patient." 536 532 msgstr "" 537 533 538 534 #. translators: %1$s: opening <strong> tag, %2$s: closing </strong> tag. 539 #: inc/main.php:58 6535 #: inc/main.php:588 540 536 #, php-format 541 537 msgid "" … … 545 541 546 542 #. translators: %s: text link to permalink option. 547 #: inc/main.php:60 2543 #: inc/main.php:604 548 544 #, php-format 549 545 msgid "" … … 552 548 msgstr "" 553 549 554 #: inc/main.php:60 2550 #: inc/main.php:604 555 551 msgid "select the permalink structure" 556 552 msgstr "" 557 553 558 #: inc/main.php:60 4554 #: inc/main.php:606 559 555 msgid "" 560 556 "If you are really sure you want plain links for your pages, posts, " … … 562 558 msgstr "" 563 559 564 #: inc/main.php:64 2 inc/main.php:732560 #: inc/main.php:644 inc/main.php:734 565 561 msgid "Premium" 566 562 msgstr "" 567 563 568 #: inc/main.php:64 6 inc/main.php:736564 #: inc/main.php:648 inc/main.php:738 569 565 msgid "Free" 570 566 msgstr "" 571 567 572 #: inc/main.php:65 1 inc/main.php:741568 #: inc/main.php:653 inc/main.php:743 573 569 msgid "Ecommerce" 574 570 msgstr "" 575 571 576 #: inc/main.php:6 59572 #: inc/main.php:661 577 573 msgid "Details" 578 574 msgstr "" 579 575 580 #: inc/main.php:66 7576 #: inc/main.php:669 581 577 msgid "Not seeing any sites you like?" 582 578 msgstr "" 583 579 584 #: inc/main.php:6 68580 #: inc/main.php:670 585 581 msgid "We welcome your suggestions for new sites." 586 582 msgstr "" 587 583 588 #: inc/main.php:6 69584 #: inc/main.php:671 589 585 msgid "" 590 586 "Please let us know what new Starter Sites you would like to see included in " … … 592 588 msgstr "" 593 589 594 #: inc/main.php:67 0590 #: inc/main.php:672 595 591 msgid "Suggest a Site" 596 592 msgstr "" 597 593 598 #: inc/main.php:67 3594 #: inc/main.php:675 599 595 msgid "Need help with Starter Sites?" 600 596 msgstr "" 601 597 602 #: inc/main.php:67 4598 #: inc/main.php:676 603 599 msgid "We welcome your support questions." 604 600 msgstr "" 605 601 606 #: inc/main.php:67 5602 #: inc/main.php:677 607 603 msgid "" 608 604 "Please ask us and we will do our best to help you with any queries regarding " … … 610 606 msgstr "" 611 607 612 #: inc/main.php:67 6 inc/main.php:1159 starter-sites.php:173608 #: inc/main.php:678 inc/main.php:1287 starter-sites.php:175 613 609 msgid "Support" 614 610 msgstr "" 615 611 616 #: inc/main.php:680617 msgid "Please rate or review this plugin."618 msgstr ""619 620 612 #: inc/main.php:681 621 msgid "" 622 "This helps us grow, and that means we can create even more Starter Sites for " 623 "you." 624 msgstr "" 625 626 #: inc/main.php:682 627 msgid "Rate or Review" 613 msgid "Enjoying Starter Sites?" 628 614 msgstr "" 629 615 630 616 #. translators: %d = number of products 631 #: inc/main.php:76 2617 #: inc/main.php:764 632 618 #, php-format 633 619 msgid "Products (%d):" … … 635 621 636 622 #. translators: %d = number of pages 637 #: inc/main.php:78 6623 #: inc/main.php:788 638 624 #, php-format 639 625 msgid "Pages (%d):" … … 641 627 642 628 #. translators: %d = number of posts 643 #: inc/main.php:81 0629 #: inc/main.php:812 644 630 #, php-format 645 631 msgid "Posts (%d):" … … 647 633 648 634 #. translators: %d = number of templates 649 #: inc/main.php:83 4635 #: inc/main.php:836 650 636 #, php-format 651 637 msgid "Templates (%d):" … … 653 639 654 640 #. translators: %d = number of template parts 655 #: inc/main.php:8 58641 #: inc/main.php:860 656 642 #, php-format 657 643 msgid "Template Parts (%d):" … … 659 645 660 646 #. translators: %d = number of patterns 661 #: inc/main.php:88 2647 #: inc/main.php:884 662 648 #, php-format 663 649 msgid "Patterns (%d):" … … 665 651 666 652 #. translators: %d = number of fonts 667 #: inc/main.php:90 6653 #: inc/main.php:908 668 654 #, php-format 669 655 msgid "Fonts (%d):" 670 656 msgstr "" 671 657 672 #: inc/main.php:92 7658 #: inc/main.php:929 673 659 msgid "Colors:" 674 660 msgstr "" 675 661 676 #: inc/main.php:95 0662 #: inc/main.php:954 677 663 msgid "Theme:" 678 664 msgstr "" 679 665 680 666 #. translators: %s = name of currently active child theme 681 #: inc/main.php:9 58667 #: inc/main.php:962 682 668 #, php-format 683 669 msgid "(or the currently active <b>%s</b> child theme, choose below)" 684 670 msgstr "" 685 671 672 #. translators: %1$s = theme name, %2$s = required PHP version 673 #. translators: %1$s = plugin name, %2$s = required PHP version 674 #: inc/main.php:989 inc/main.php:997 inc/main.php:1058 675 #, php-format 676 msgid "%1$s requires PHP %2$s" 677 msgstr "" 678 679 #. translators: %1$s = theme name, %2$s = required WordPress version 680 #. translators: %1$s = plugin name, %2$s = required WordPress version 681 #: inc/main.php:1008 inc/main.php:1016 inc/main.php:1074 682 #, php-format 683 msgid "%1$s requires WordPress %2$s" 684 msgstr "" 685 686 686 #. translators: %d = number of plugins 687 #: inc/main.php: 993687 #: inc/main.php:1038 688 688 #, php-format 689 689 msgid "Plugins (%d):" 690 690 msgstr "" 691 691 692 #: inc/main.php:1024 692 #. translators: %s = required PHP version 693 #: inc/main.php:1066 694 #, php-format 695 msgid "This plugin requires PHP %s" 696 msgstr "" 697 698 #. translators: %s = required WordPress version 699 #: inc/main.php:1082 700 #, php-format 701 msgid "This plugin requires WordPress %s" 702 msgstr "" 703 704 #: inc/main.php:1105 693 705 msgid "Site Options:" 694 706 msgstr "" 695 707 696 #: inc/main.php:1 041708 #: inc/main.php:1122 697 709 msgid "Import:" 698 710 msgstr "" 699 711 700 #: inc/main.php:1 044712 #: inc/main.php:1125 701 713 msgid "Content (posts, pages, products)" 702 714 msgstr "" 703 715 704 #: inc/main.php:1 048716 #: inc/main.php:1129 705 717 msgid "Design (styles, templates, parts, patterns, fonts)" 706 718 msgstr "" 707 719 708 #: inc/main.php:1 052720 #: inc/main.php:1133 709 721 msgid "Media (images, videos etc.)" 710 722 msgstr "" 711 723 712 #: inc/main.php:1060 724 #: inc/main.php:1141 725 msgid "Theme Warning!" 726 msgstr "" 727 728 #. translators: %s = required theme name 729 #: inc/main.php:1153 730 #, php-format 731 msgid "" 732 "This starter site cannot be activated as your WordPress installation does " 733 "not meet the minimum requirements of the %s theme." 734 msgstr "" 735 736 #: inc/main.php:1157 inc/main.php:1175 737 msgid "" 738 "It is recommended to update to the latest version of WordPress and upgrade " 739 "your server PHP version." 740 msgstr "" 741 742 #: inc/main.php:1164 743 msgid "Plugin Warning!" 744 msgstr "" 745 746 #: inc/main.php:1174 747 msgid "" 748 "When activating this starter site, WordPress will not install or activate " 749 "the above plugin(s). This may cause display or functionality issues." 750 msgstr "" 751 752 #: inc/main.php:1182 713 753 msgid "" 714 754 "This Starter Site can be purchased individually, or get access to all " … … 716 756 msgstr "" 717 757 718 #: inc/main.php:1 069758 #: inc/main.php:1191 719 759 msgid "Buy" 720 760 msgstr "" 721 761 722 #: inc/main.php:1 070762 #: inc/main.php:1192 723 763 msgid "Upgrade to Pro" 724 764 msgstr "" 725 765 726 #: inc/main.php:1 074766 #: inc/main.php:1197 inc/main.php:1201 727 767 msgid "Activate" 728 768 msgstr "" 729 769 730 #: inc/main.php:1 078770 #: inc/main.php:1206 731 771 msgid "Preview" 732 772 msgstr "" 733 773 734 #: inc/main.php:1 112774 #: inc/main.php:1240 735 775 msgid "File type not supported." 736 776 msgstr "" 737 777 738 #: inc/main.php:1 126778 #: inc/main.php:1254 739 779 msgid "The uploaded zip file is too large." 740 780 msgstr "" 741 781 742 #: inc/main.php:1 136782 #: inc/main.php:1264 743 783 msgid "" 744 784 "There was an error unzipping the file. Please unzip the file on your " … … 746 786 msgstr "" 747 787 748 #: inc/main.php:1 159788 #: inc/main.php:1287 749 789 msgid "" 750 790 "The uploaded file does not appear to contain a genuine Starter Site. You may " … … 752 792 msgstr "" 753 793 754 #: inc/main.php:1 159794 #: inc/main.php:1287 755 795 msgid "" 756 796 "If you are sure it is a genuine Starter Sites file, please reach out to our " … … 758 798 msgstr "" 759 799 760 #: inc/main.php:1 168800 #: inc/main.php:1296 761 801 msgid "" 762 802 "If you have purchased an individual premium starter site, you may import and " … … 764 804 msgstr "" 765 805 766 #: inc/main.php:1 172806 #: inc/main.php:1300 767 807 msgid "Import and Activate" 768 808 msgstr "" … … 772 812 msgstr "" 773 813 774 #: starter-sites.php:17 4814 #: starter-sites.php:176 775 815 msgid "Rate or Review Starter Sites ★★★★★" 776 816 msgstr "" 777 817 778 #: starter-sites.php:17 5818 #: starter-sites.php:177 779 819 msgid "Upgrade to Premium" 780 820 msgstr "" -
starter-sites/trunk/readme.txt
r3248394 r3257888 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 2. 1.37 Stable tag: 2.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 85 85 86 86 == Changelog == 87 **2.2 - March 2025** 88 - No longer stopping the site import if a plugin cannot be installed/activated. 89 - Check plugin(s) incompatibility (requires PHP or requires WP) and display warning as appropriate. 90 - Disable site activation if the required theme is not already active and environment does not meet requires PHP or requires WP. 91 - Now displaying error logs in addition to previous success logs. 92 - Added dismissable review request admin notice. 93 87 94 **2.1.3 - February 2025** 88 95 - Update to site preview screenshots -
starter-sites/trunk/starter-sites.php
r3248394 r3257888 4 4 Plugin URI: https://wpstartersites.com/plugin/ 5 5 Description: Ready to go WordPress starter sites and website demos, all with full pages of real content, and all created with the full site editing block editor. Quickly import global styles, templates, template parts, block patterns, fonts and full website demo content including pages, posts, products and images. 6 Version: 2. 1.36 Version: 2.2 7 7 Author: WP Starter Sites 8 8 Author URI: https://wpstartersites.com/ … … 51 51 return time(); 52 52 } else { 53 return '2. 1.3';53 return '2.2'; 54 54 } 55 55 } … … 84 84 public function activation() { 85 85 add_option( 'starter_sites_do_activation_redirect', true ); 86 add_option( 'starter_sites_activated', time() ); 86 87 } 87 88 … … 98 99 static function uninstall() { 99 100 delete_option( 'starter_sites_do_activation_redirect' ); 101 delete_option( 'starter_sites_activated' ); 100 102 } 101 103
Note: See TracChangeset
for help on using the changeset viewer.