Skip to content

Commit

Permalink
Merge pull request #44 from Automattic/alpha
Browse files Browse the repository at this point in the history
Release Apr 08
  • Loading branch information
dkoo authored Apr 8, 2024
2 parents e67375d + 6f10caf commit 03d13b5
Show file tree
Hide file tree
Showing 31 changed files with 1,133 additions and 1,111 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ workflows:
filters:
branches:
only:
- master
- trunk
- newspack/release:
requires:
- newspack/build
Expand All @@ -28,6 +28,7 @@ workflows:
- release
- alpha
- /^hotfix\/.*/
- /^epic\/.*/
- newspack/post-release:
requires:
- newspack/release
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ notifications:

branches:
only:
- master
- trunk

cache:
directories:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [1.3.0-alpha.1](https://github.com/Automattic/newspack-multibranded-site/compare/v1.2.0...v1.3.0-alpha.1) (2024-02-08)


### Features

* **ci:** add epic/* release workflow and rename `master` to `trunk` ([#41](https://github.com/Automattic/newspack-multibranded-site/issues/41)) ([290e390](https://github.com/Automattic/newspack-multibranded-site/commit/290e390af56a8af20a90d952c2d6596714a5045c))

# [1.2.0](https://github.com/Automattic/newspack-multibranded-site/compare/v1.1.0...v1.2.0) (2023-12-11)


Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Newspack Multi-branded Site plugin
# Newspack Multibranded Site plugin

A plugin to allow your site to host multiple brands
Brand different content and sections of your site with unique colors and navigation.
2 changes: 1 addition & 1 deletion includes/admin/class-cat-primary-brand.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static function edit_term( $term ) {
<?php endforeach; ?>
</select>
<p class="description" id="<?php echo esc_attr( Taxonomy::PRIMARY_META_KEY ); ?>-description">
<?php echo esc_html__( 'The primary brand defines what brand will be applied to the term\'s archive. (added by Newspack Multi-branded site)', 'newspack-multibranded-site' ); ?>
<?php echo esc_html__( 'The primary brand defines what brand will be applied to the term\'s archive. (added by Newspack Multibranded site)', 'newspack-multibranded-site' ); ?>
</p>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-show-page-on-front.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-user-primary-brand.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public static function edit_user_profile( $user ) {
?>
<div class="newspack-multibranded-site-options">
<?php \wp_nonce_field( 'newspack_multibranded_site', 'newspack_multibranded_site_nonce' ); ?>
<h2><?php echo esc_html__( 'Multi-branded site Options', 'newspack-multibranded-site' ); ?></h2>
<h2><?php echo esc_html__( 'Multibranded site Options', 'newspack-multibranded-site' ); ?></h2>
<?php echo esc_html__( 'The user primary brand defines what brand will be applied to the user\'s archive.', 'newspack-multibranded-site' ); ?>
<table class="form-table" role="presentation">
<tr class="user-<?php echo esc_attr( Meta::get_key() ); ?>-wrap">
Expand Down
10 changes: 5 additions & 5 deletions includes/class-admin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site plugin administration screen handling.
* Newspack Multibranded site plugin administration screen handling.
*
* @package Newspack
*/
Expand Down Expand Up @@ -36,17 +36,17 @@ public static function add_admin_menu() {
if ( class_exists( 'Newspack\Newspack' ) ) {
$page_suffix = add_submenu_page(
'newspack',
__( 'Multi-branded site', 'newspack-multibranded-site' ),
__( 'Multi-branded site', 'newspack-multibranded-site' ),
__( 'Multibranded site', 'newspack-multibranded-site' ),
__( 'Multibranded site', 'newspack-multibranded-site' ),
'manage_options',
self::MULTI_BRANDED_PAGE_SLUG,
array(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4KPC9zdmc+';
$page_suffix = add_menu_page(
__( 'Multi-branded site', 'newspack-multibranded-site' ),
__( 'Multi-branded site', 'newspack-multibranded-site' ),
__( 'Multibranded site', 'newspack-multibranded-site' ),
__( 'Multibranded site', 'newspack-multibranded-site' ),
'manage_options',
self::MULTI_BRANDED_PAGE_SLUG,
array( __CLASS__, 'render_page' ),
Expand Down
2 changes: 1 addition & 1 deletion includes/class-initializer.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site plugin initialization.
* Newspack Multibranded site plugin initialization.
*
* @package Newspack
*/
Expand Down
4 changes: 2 additions & 2 deletions includes/class-meta.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php
/**
* Newspack Multi-branded site term meta parent class.
* Newspack Multibranded site term meta parent class.
*
* @package Newspack
*/

namespace Newspack_Multibranded_Site;

/**
* Newspack Multi-branded site meta parent class
* Newspack Multibranded site meta parent class
*/
abstract class Meta {

Expand Down
2 changes: 1 addition & 1 deletion includes/class-taxonomy.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-blogname.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-body-class.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-logo.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-menus.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-show-page-on-front.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-theme-colors.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/customizations/class-url.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-category-primary-brand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-logo.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-menus.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-post-primary-brand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-show-page-on-front.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-tag-primary-brand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-theme-colors.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-url.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
2 changes: 1 addition & 1 deletion includes/meta/class-user-primary-brand.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Newspack Multi-branded site taxonomy.
* Newspack Multibranded site taxonomy.
*
* @package Newspack
*/
Expand Down
6 changes: 3 additions & 3 deletions newspack-multibranded-site.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/**
* Plugin Name: Newspack Multi-branded site
* Description: A plugin to allow your site to host multiple brands
* Version: 1.2.0
* Plugin Name: Newspack Multibranded Site
* Description: Brand different content and sections of your site with unique colors and navigation.
* Version: 1.3.0-alpha.1
* Author: Automattic
* Author URI: https://newspack.com/
* License: GPL3
Expand Down
Loading

0 comments on commit 03d13b5

Please sign in to comment.