Fix PHP syntax errors: escape apostrophes in single-quoted strings
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -19,8 +19,8 @@ $cat_desc_map = [
|
|||||||
'wall-decor' => 'Print-on-demand wall art for the soul-tired and decoratively passive-aggressive.',
|
'wall-decor' => 'Print-on-demand wall art for the soul-tired and decoratively passive-aggressive.',
|
||||||
'stationery' => 'For the person who plans a lot and does a little. Or the other way around.',
|
'stationery' => 'For the person who plans a lot and does a little. Or the other way around.',
|
||||||
'apparel' => 'Wear your grievances. Business casual with a quiet fury.',
|
'apparel' => 'Wear your grievances. Business casual with a quiet fury.',
|
||||||
'stickers' => 'Stick your opinions where they'll be seen. Water-resistant, like your resolve.',
|
'stickers' => 'Stick your opinions where they\'ll be seen. Water-resistant, like your resolve.',
|
||||||
'accessories' => 'The extras that speak for you when you've run out of words.',
|
'accessories' => 'The extras that speak for you when you\'ve run out of words.',
|
||||||
];
|
];
|
||||||
if (empty($cat_desc)) {
|
if (empty($cat_desc)) {
|
||||||
$cat_desc = $cat_desc_map[$cat_slug] ?? 'The complete collection. Curated for the chronically employed.';
|
$cat_desc = $cat_desc_map[$cat_slug] ?? 'The complete collection. Curated for the chronically employed.';
|
||||||
|
|||||||
Reference in New Issue
Block a user