Plugin Directory

Changeset 1774886


Ignore:
Timestamp:
11/24/2017 06:52:05 PM (8 years ago)
Author:
andrezrv
Message:

Preparing for 1.0.3 release

Location:
nice-portfolio/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • nice-portfolio/trunk/admin/post-types/portfolio/metaboxes.php

    r1471140 r1774886  
    301301 * @param $title
    302302 *
    303  * @return string|void
     303 * @return string
    304304 */
    305305function nice_portfolio_project_title_placeholder_text( $title ) {
     
    335335 * @since  1.0
    336336 *
    337  * @param  string      $content
    338  * @return string|void
     337 * @param  string $content
     338 *
     339 * @return string
    339340 */
    340341function nice_portfolio_thumbnail_meta_box_html( $content ) {
  • nice-portfolio/trunk/integrations/nice-likes.php

    r1471140 r1774886  
    395395}
    396396endif;
     397
     398if ( ! function_exists( 'nice_portfolio_likes_custom_column_context' ) ) :
     399add_filter( 'nice_likes_posts_custom_column_context', 'nice_portfolio_likes_custom_column_context', 10, 2 );
     400/**
     401 * Modify custom columns context for project lists.
     402 *
     403 * @since 1.0.3
     404 *
     405 * @param string $context
     406 * @param string $post_type
     407 *
     408 * @return string
     409 */
     410function nice_portfolio_likes_custom_column_context( $context, $post_type ) {
     411    if ( nice_portfolio_post_type_name() === $post_type ) {
     412        $context = 'portfolio';
     413    }
     414
     415    return $context;
     416}
     417endif;
  • nice-portfolio/trunk/lib/custom-post-type/post-type/create/class-post-type-create-responder.php

    r1471140 r1774886  
    3434         * Schedule post types and taxonomies to be registered.
    3535         */
    36         add_action( 'init', array( $this, 'register' ) );
     36        add_action( 'init', array( $this, 'register' ), 0 );
    3737
    3838        /**
  • nice-portfolio/trunk/lib/plugin-api/template/class-template-handler.php

    r1471140 r1774886  
    134134
    135135        $template_paths = array_map( 'trailingslashit', $file_paths );
    136         $template_paths = apply_filters( 'nice_portfolio_template_paths', $template_paths );
    137136
    138137        return $template_paths;
  • nice-portfolio/trunk/nice-portfolio.php

    r1685269 r1774886  
    1616 * Plugin URI:        https://nicethemes.com/product/nice-portfolio
    1717 * Description:       A great portfolio plugin to show your work to the world in a clean, responsive and beautiful way. You can show your projects in a specific page, using a shortcode, widgets or template tags.
    18  * Version:           1.0.2
     18 * Version:           1.0.3
    1919 * Author:            NiceThemes
    2020 * Author URI:        https://nicethemes.com
  • nice-portfolio/trunk/readme.txt

    r1685269 r1774886  
    33Tags: portfolio, projects, widget, shortcode, template-tag, services, responsive, gallery, slide
    44Requires at least: 3.6
    5 Tested up to: 4.8
    6 Stable tag: 1.0.2
     5Tested up to: 4.9
     6Requires PHP: 5.3
     7Stable tag: 1.0.3
    78License: GPLv2 or later
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    199200== Changelog ==
    200201
     202= 1.0.3 =
     203* Improvement: Add compatibility with Nice Likes custom post columns.
     204
    201205= 1.0.2 =
    202206* Fix: Obtain admin path using `ABSPATH` constant.
Note: See TracChangeset for help on using the changeset viewer.