Plugin Directory

Changeset 2050054

Timestamp:
03/13/2019 10:02:38 PM (5 years ago)
Author:
danieltj
Message:

Update Custom Archives to v2.1

Location:
custom-archives
Files:
9 added
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • custom-archives/trunk/custom-archives.php

    r2041692 r2050054  
    88 * Author URI: https://danieltj.uk/
    99 * Text Domain: custom-archives
    10  * Version: 2.0
     10 * Version: 2.
    1111 */
    1212
     
    4141     * @var string
    4242     */
    43     protected static $version = '2.0';
     43    protected static $version = '2.';
    4444
    4545    /**
     
    268268                <?php else : ?>
    269269                    <p><?php esc_html_e( 'Select a page below to act as a custom archive for a specific post type.', 'custom-archives' ); ?></p>
     270
    270271                    <div id="settings" class="tab-content">
    271272                        <form method="post" action="options.php">
     
    311312            'custom_archives_section',
    312313            'custom_archives_group',
    313             array( 'name' => 'archive_allow_empty_loops', 'value' => $value )
     314            array( 'name' => 'archive_allow_empty_loops', 'value' => $value )
    314315        );
    315316
     
    366367                <label for="<?php echo esc_attr( $args['name'] ); ?>">
    367368                    <input type="checkbox" name="<?php echo esc_attr( $args['name'] ); ?>" id="<?php echo esc_attr( $args['name'] ); ?>"<?php if ( 'on' == $args['value'] ) : ?> checked="checked"<?php endif; ?> />
    368                     <?php esc_html_e( 'Bypass empty post loops on custom archive pages.', 'cushwake' ); ?>
     369                    <?php if ( isset( $args[ 'description' ] ) ) : ?>
     370                        <?php echo $args[ 'description' ]; ?>
     371                    <?php endif; ?>
    369372                </label>
    370373            </fieldset>
  • custom-archives/trunk/readme.txt

    r2041692 r2050054  
    44Requires at least: 4.0
    55Tested up to: 5.1
    6 Stable tag: 2.0
     6Stable tag: 2.
    77License: GNU GPL v3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6161== Changelog ==
    6262
    63 Refer to the [GitHub repository](https://github.com/danieltj27/Custom-Archives/releases) for more information on version history and updates.
     63Refer to the [GitHub repository](https://github.com/danieltj27/Custom-Archives) for more information on version history and updates.
Note: See TracChangeset for help on using the changeset viewer.