Merged in feature/314-dev-dev01 (pull request #24)
auto-patch 314-dev-dev01-2024-01-25T04_09_02 * auto-patch 314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
@@ -13,7 +13,7 @@ class Post_Not_Built_Exception extends Not_Built_Exception {
|
||||
*
|
||||
* @param int $post_id ID of the post.
|
||||
*
|
||||
* @throws Post_Not_Built_Exception When the post is not indexable.
|
||||
* @return Post_Not_Built_Exception
|
||||
*/
|
||||
public static function because_not_indexable( $post_id ) {
|
||||
/* translators: %s: expands to the post id */
|
||||
@@ -25,7 +25,7 @@ class Post_Not_Built_Exception extends Not_Built_Exception {
|
||||
*
|
||||
* @param int $post_id ID of the post.
|
||||
*
|
||||
* @throws Post_Not_Built_Exception When the post type is excluded.
|
||||
* @return Post_Not_Built_Exception
|
||||
*/
|
||||
public static function because_post_type_excluded( $post_id ) {
|
||||
/* translators: %s: expands to the post id */
|
||||
|
||||
@@ -13,7 +13,7 @@ class Post_Type_Not_Built_Exception extends Not_Built_Exception {
|
||||
*
|
||||
* @param string $post_type The post type.
|
||||
*
|
||||
* @throws Post_Type_Not_Built_Exception When the post type is not indexable.
|
||||
* @return Post_Type_Not_Built_Exception
|
||||
*/
|
||||
public static function because_not_indexable( $post_type ) {
|
||||
/* translators: %s: expands to the post type */
|
||||
|
||||
@@ -13,7 +13,7 @@ class Term_Not_Built_Exception extends Not_Built_Exception {
|
||||
*
|
||||
* @param int $term_id ID of the term.
|
||||
*
|
||||
* @throws Term_Not_Built_Exception When the term is not built.
|
||||
* @return Term_Not_Built_Exception
|
||||
*/
|
||||
public static function because_not_indexable( $term_id ) {
|
||||
/* translators: %s: expands to the term id */
|
||||
|
||||
@@ -9,7 +9,7 @@ use Exception;
|
||||
*/
|
||||
class Failed_Storage_Exception extends Exception {
|
||||
|
||||
const DEFAULT_MESSAGE = 'Token storing failed. Please try again.';
|
||||
public const DEFAULT_MESSAGE = 'Token storing failed. Please try again.';
|
||||
|
||||
/**
|
||||
* Failed_Storage_Exception constructor.
|
||||
|
||||
Reference in New Issue
Block a user